If you’re having trouble getting your iPhone to connect to your Windows computer, there may be a simple solution. Follow these steps to stop iTunes from automatically opening when your iPhone is connected:

  1. Open iTunes and click the “Preferences” button in the main menu.
  2. Under the “General” tab, uncheck the box next to “Open iTunes when device is connected.”
  3. Click OK to save your changes and exit iTunes. ..