How to Stop Automatic Photo Transfer When Connecting Phone to Windows PC
Question details
The user wants to prevent their phone from automatically transferring or syncing photos when connected to a Windows computer via USB for charging.
- Product
- Windows PC, Android, iPhone
- Device & OS
- Windows, Android, iOS
- Scenario
- Connecting a smartphone to a Windows computer via a USB cable purely for charging purposes.
- Observed behavior
- Photos are automatically imported to the PC, or synchronization applications launch automatically upon USB connection.
Ensure your phone is unlocked before connecting it via USB so you can properly access and modify the connection prompts that appear on the screen.
Change USB Connection Preferences on Your Smartphone
The quickest way to prevent data transfer is by configuring your phone to only accept a power charge when connected to the PC.
By default, some devices may remember previous connections and attempt to mount as a media drive. Manually changing the USB mode on the phone restricts the PC from accessing the internal storage.
Use a compatible USB cable to plug your smartphone into the Windows computer.
Swipe down from the top of your screen to view your notifications. Tap the 'Charging this device via USB' notification and select 'Charge only' or 'No data transfer'.
When the 'Trust This Computer?' prompt appears on your iPhone screen, simply tap 'Don't Trust'.
Disable AutoPlay for Removable Devices in Windows Settings
Turn off Windows AutoPlay so the system doesn't automatically launch photo import wizards when a device is plugged in.
Disable Automatic Import in Cloud and Synchronization Apps
Background apps like OneDrive, iTunes, or Google Photos may automatically pull photos from connected devices. You must disable these triggers individually.
Looking for a Better Way to Manage Your Work on Windows?
While adjusting your Windows USB settings to prevent unwanted photo transfers, you might also want a hassle-free, lightweight office suite. WPS Office provides a fully compatible, free alternative to Microsoft Office, letting you create and edit documents seamlessly without heavy background syncing.
- 1. Download WPS Office: Visit the official WPS website to download the lightweight installer for Windows.
- 2. Install the Software: Run the setup file and follow the quick installation process to get your office suite ready.
- 3. Open Your Files: Instantly open, edit, and save your existing Microsoft Office documents with complete format retention.

Frequently Asked Questions
Why does my Windows PC always open the Photos app when I plug in my phone?
This happens because the AutoPlay default action for your removable device is set to import photos. You can easily change this behavior in Windows Settings > Bluetooth & devices > AutoPlay by selecting 'Take no action'.
Will selecting 'Charge only' on Android prevent me from transferring files later?
No, the 'Charge only' selection only applies to your current session or until you change it. You can tap the USB notification on your phone at any time to switch back to 'File Transfer' (MTP) mode.
Does disabling Windows AutoPlay stop my phone from charging?
Not at all. Disabling AutoPlay only stops Windows from automatically reading the files on your phone; your device will continue to draw power and charge normally through the USB cable.




