logo
search
Others

How to Stop Automatic Photo Transfer When Connecting Phone to Windows PC

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Connect the device

Use a compatible USB cable to plug your smartphone into the Windows computer.

2
Adjust Android settings

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'.

3
Adjust iPhone settings

When the 'Trust This Computer?' prompt appears on your iPhone screen, simply tap 'Don't Trust'.

Temporary Setting: Selecting 'Charge only' or 'Don't Trust' does not permanently block future file transfers. You can easily change this setting the next time you connect your device if you wish to move files.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website to download the lightweight installer for Windows.
  2. 2. Install the Software: Run the setup file and follow the quick installation process to get your office suite ready.
  3. 3. Open Your Files: Instantly open, edit, and save your existing Microsoft Office documents with complete format retention.
Manage local documents efficiently without relying on forced background cloud syncing.100% format compatibility with Microsoft Word, Excel, and PowerPoint files.Free, lightweight, and incredibly fast to install on any Windows PC.Familiar user interface that requires zero learning curve.
microsoft office alternative - wps office

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.