OneDrive File Issues

How to Stop OneDrive from Opening Automatically for Phone Photo Uploads

Aamir Naveed AkramAamir Naveed Akram Nov 2, 2026 869 views

Question details

The user wants to prevent OneDrive from automatically launching and importing photos whenever their phone is connected to the computer.

How to Stop OneDrive from Opening Automatically for Phone Photo Uploads
Product
OneDrive
Device & OS
Windows
Scenario
Connecting a smartphone to a PC via USB to transfer files or charge the device.
Observed behavior
OneDrive automatically opens and attempts to import photos because it is set as the device-specific import option in Windows AutoPlay, ignoring general default app settings.
Before you start

Unlock your phone and connect it to your computer using a USB cable, ensuring it is set to 'File Transfer' or 'MTP' mode so Windows can detect it.

Solution 1Recommended

Change Windows AutoPlay Settings for Your Specific Phone

Modify the device-specific AutoPlay behavior in Windows Settings to stop OneDrive from hijacking the photo import process.

Windows AutoPlay manages device actions individually. Even if you have changed your general default photo viewer or import tool, your specific phone might still be configured to trigger OneDrive.

1
Open Windows Settings

Click on the Start menu and select the gear icon to open Windows Settings, or press the Windows key + I on your keyboard.

2
Navigate to AutoPlay Settings

Click on 'Devices' (or 'Bluetooth & devices' in Windows 11), then select 'AutoPlay' from the left-hand navigation menu.

3
Locate Your Phone

Scroll down to the 'Choose AutoPlay defaults' section. Look for your currently connected phone in the list of recognized devices.

4
Change the Import Default Action

Click the dropdown menu next to your phone's name. Change the selected action from 'Import photos and videos (OneDrive)' to 'Ask me every time', 'Take no action', or select a different application.

Change Windows AutoPlay Settings for Your Specific Phone
AutoPlay Updated: The next time you plug in your phone, Windows will respect the new AutoPlay preference and will no longer force OneDrive to open automatically.
Free Microsoft Office alternative

Take Control of Your Local Files with WPS Office

While adjusting Windows settings stops OneDrive from interrupting your workflow, using an office suite that respects your local storage preferences is equally important. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office that gives you full control over where your files are saved, preventing unwanted automatic cloud uploads.

  1. 1. Download the Installer: Visit the official WPS website and click 'Free Download' to get the lightweight installation file.
  2. 2. Install WPS Office: Run the downloaded file and follow the on-screen instructions to install the suite on your Windows PC.
  3. 3. Save Files Locally: Open Writer, Spreadsheets, or Presentation, and use 'Save As' to easily save your work directly to your preferred local hard drive folders.
Highly compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Free and lightweight, taking up minimal system resources.Allows local saving by default, preventing unwanted automatic cloud syncs.Familiar user interface makes workflow migration effortless.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive keep opening even after I changed my default apps?

Windows AutoPlay manages device-specific actions independently from general default apps. If your specific phone model was previously set to import via OneDrive in the AutoPlay menu, it will override the general system defaults whenever that specific device is connected.

Can I completely disable Windows AutoPlay for all devices?

Yes. Go to Settings > Devices > AutoPlay, and toggle off the master switch at the top that says 'Use AutoPlay for all media and devices'. This will stop any application from launching automatically upon connecting a device.

Will changing this setting delete the photos already uploaded to OneDrive?

No. Adjusting AutoPlay or OneDrive device upload settings only prevents future automatic imports. It does not delete or modify any photos or videos that are currently stored in your OneDrive cloud account.

What if my phone doesn't appear in the Windows AutoPlay device list?

Your phone will only appear in the AutoPlay list if it is currently connected to the PC and authorized for data transfer. Ensure your phone screen is unlocked and you have selected 'File Transfer' or 'MTP' mode from the USB options notification on your phone.