Background: Classmate asked me if he could connect his iPhone to charge it. It was USB cable. windows asked me what to do, I chose "do nothing". I have no reason to suspect that any of our devices have a virus. But I don't like the fact of having connected my laptop to a stranger's phone.

1) Does windows notify me if data is about to be transferred? If not, can I modify windows to notify or prevent data transfer?

2) Can I view the data transferred between the smartphone and laptop now? If not, is there a way to do this, or for the next time?

closed as too broad by Ramhound, DavidPostill Nov 6 '18 at 20:48

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.