How to Disable iPhone AutoPlay When Connecting to a Windows PC
On Windows 8.1, AutoPlay is turned on by default, so when you connect your iPhone to your computer, Windows launches a pop-up that requires you to respond with some action. Depending on your settings and installed applications, possible actions include importing your pictures and videos into a particular program, opening the device in File Explorer so you can view its files or doing nothing. You can turn off AutoPlay for your iPhone in the AutoPlay setting of the Control Panel. You can also turn off AutoPlay for all your connected peripherals, or you can customize the action to take for each one.
Click the Magnifier icon in the top-right corner of the Start screen to launch the Search charm. Enter "control panel," then select it from the search results.
Select “Hardware and Sound.” If you have changed your "View by:" options to something other than the default "Category," icons that represent specific settings display instead. If so, select the "AutoPlay" icon and skip to Step 4.
Choose “AutoPlay” to launch the AutoPlay settings dialog.
Scroll to “Devices” and locate your iPhone’s entry. From the drop-down menu, choose “Take No Action” to turn off AutoPlay for your iPhone. The other options listed here vary depending on the applications installed on your computer. Click “Save” and exit the Control Panel.