Windows... Very good that when connecting the phone to charge it switches all the active windows and asks what to do. But I know that almost everything can be arranged. I saw at the bottom of the dialog box a small inscription "choose the default action"Bingo! Click, I choose in front of the phone "do not perform any actions"- OK!
Now when the phone is connected, the screw still switches all the active windows and yes, nothing else is done. The handcuff.