sodcalculator

10 Tech How-To

How to Disable Autoplay in Windows 10

Guide 10-50918 · Updated · Step by step

Autoplay in Windows 10 automatically launches or suggests an app when you plug in a USB drive, insert an SD card, or connect a phone. Disabling it stops those pop-ups and prevents unwanted programs from starting, giving you full control over what happens when you connect external media. You can turn it off for all devices at once or customize it per media type. This guide walks you through the exact steps, common pitfalls, and fixes if things go wrong.

What You’ll Need

  • A Windows 10 PC with administrator access (you need to be able to change system settings).
  • No external devices required – you can disable Autoplay before plugging anything in.

Step-by-Step

  1. Open Windows Settings. Click the Start button (Windows logo) in the bottom-left corner, then click the gear icon (Settings). Alternatively, press Windows key + I on your keyboard.
  2. Go to Devices. In the Settings window, click Devices (the icon looks like a monitor and a keyboard).
  3. Select Autoplay. In the left sidebar of the Devices page, click Autoplay. You’ll see a toggle at the top labeled “Use Autoplay for all media and devices”.
  4. Turn off Autoplay completely. Click the toggle so it turns Off (gray). This disables Autoplay for every type of media and device. That’s it – you’re done.
  5. For more control (optional): If you want to keep Autoplay on for some things but not others, leave the master toggle On and scroll down to the list of media types (Removable Drive, Memory Card, etc.). For each one, click the dropdown menu and select “Take no action” to stop that specific type from auto-launching.
  6. Apply changes. There is no “Save” button – changes take effect immediately. Close Settings when you’re done.

Common Mistakes

  • Turning off the wrong toggle: Some users accidentally turn off “AutoPlay” in the Control Panel’s “AutoPlay” settings, which is a different (older) interface. The modern method is via Settings > Devices > Autoplay. Both exist but the Settings one is the current way.
  • Not checking per-device settings: Even with the master toggle off, some apps (like media players) have their own “auto-start when device inserted” options. Disabling Windows Autoplay doesn’t stop those apps from popping up if they’re configured to do so.
  • Forgetting about “default apps” for media: If you have a default app set for a file type (e.g., a music player for MP3s), inserting a CD might still trigger that app because of file association, not Autoplay. You may need to change default apps separately.
  • Expecting it to affect already-connected devices: Autoplay only applies to newly connected devices. If a device is already plugged in, you may need to unplug and replug it to see the effect.

Tips

  • Use the per-device dropdowns for fine control: Instead of turning everything off, you can set each media type to “Ask me every time” or “Take no action” individually. This lets you keep Autoplay for your camera but disable it for USB drives.
  • Check the “Removable Drive” setting specifically: This is the one that affects USB flash drives and external hard drives – the most common source of Autoplay pop-ups.
  • If you want to re-enable later: Just go back to Settings > Devices > Autoplay and flip the toggle back on. Your previous per-device choices will still be there.
  • Use Group Policy for multiple PCs (advanced): If you manage several computers, you can disable Autoplay via Group Policy (gpedit.msc) under Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies. This is not needed for a single PC but is useful for IT admins.

Troubleshooting

Autoplay still pops up after disabling: If you turned off the master toggle but still see Autoplay prompts, try these:

  • Restart Explorer: Open Task Manager (Ctrl+Shift+Esc), find “Windows Explorer” in the list, right-click it, and choose “Restart”. This refreshes the shell without rebooting.
  • Check Group Policy: If you’re on Windows 10 Pro or Enterprise, a Group Policy setting might override your choice. Run gpedit.msc, go to Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies, and ensure “Turn off AutoPlay” is set to “Not Configured” or “Disabled”.
  • Check the registry (advanced): If Group Policy is fine, open Registry Editor (regedit) and navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. Look for a DWORD value named NoDriveTypeAutoRun. If it exists, set its value to 0xFF (decimal 255) to disable all Autoplay. Be careful – editing the registry incorrectly can harm your system. Back up first.
  • Third-party software conflict: Some security suites or utility apps (like CCleaner) have their own Autoplay settings that can re-enable it. Check your security software’s settings.

Can’t find the Autoplay settings page: If the Devices page doesn’t show Autoplay, make sure you’re running a recent version of Windows 10 (Settings > Update & Security > Windows Update). Older builds might have it under Control Panel > AutoPlay instead.

Frequently Asked Questions

Q: Will disabling Autoplay stop viruses from spreading via USB?
A: It can help, because it prevents automatic execution of malicious files, but it’s not a complete security measure. You should still scan USB drives with antivirus software.

Q: Can I disable Autoplay for only one specific USB drive?
A: No, Windows doesn’t allow per-device settings for individual drives. You can set it per media type (e.g., all removable drives) but not per specific device.

Q: What’s the difference between Autoplay and AutoRun?
A: AutoRun is an older feature that automatically runs a program from a CD or DVD when inserted. Autoplay is the modern feature that lets you choose what to do. Disabling Autoplay in Settings also disables AutoRun for most media.

Q: Will disabling Autoplay affect my ability to use a USB drive normally?
A: No, you can still access the drive via File Explorer. You just won’t get a pop-up asking what to do. You’ll need to open File Explorer manually to view files.

Q: How do I re-enable Autoplay after disabling it?
A: Go back to Settings > Devices > Autoplay and turn the toggle back on. Your previous per-device choices will be restored.

Q: Does this also stop the “What do you want to do with this device?” notification for phones?
A: Yes, that notification is part of Autoplay. Disabling it will stop that prompt when you connect a phone via USB. You can still access the phone’s storage through File Explorer.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →