Enable or Disable Autoplay in Windows 11
In this article
To enable or disable Autoplay in Windows 11, open Settings > Bluetooth & devices > Autoplay and toggle the Use Autoplay for all media and devices switch. That single toggle turns the feature on or off globally. For per-device control, you can also set a default action for each removable drive or memory card listed there. This guide walks you through both, plus how to reset all Autoplay choices and fix common issues.
What You'll Need
- A Windows 11 PC with administrator access (needed only if you want to change settings for other user accounts).
- A removable device (USB drive, SD card, or external hard drive) if you want to test or set per-device actions.
Step-by-Step
- Open Settings. Press Windows key + I on your keyboard, or click the Start button and select the gear icon.
- Go to Bluetooth & devices. In the left sidebar, click Bluetooth & devices. If you don't see it, the label might be Devices on some Windows 11 versions—the layout is similar.
- Select Autoplay. Scroll down the right pane and click Autoplay. This opens the Autoplay settings page.
- Toggle the master switch. At the top, you'll see Use Autoplay for all media and devices. Click the switch to turn it On (blue) or Off (gray). When off, Windows will not automatically launch any content when you plug in a device.
- Set per-device defaults (optional). Below the master switch, you'll see a list of device types like Removable Drive, Memory Card, and Camera Storage. For each, click the dropdown menu and choose what Windows should do when that type of device is connected. Options typically include Open folder to view files, Import photos or videos, Take no action, or Ask me every time.
- Reset all Autoplay choices (optional). If you've previously chosen “always do this” for a specific device and want to clear those remembered choices, scroll to the bottom of the Autoplay page and click Reset all Autoplay defaults. This does not disable Autoplay—it only removes your saved per-device preferences, so Windows will ask again next time.
- Close Settings. Your changes save automatically. There's no “Apply” button.
Common Mistakes
- Turning off the master switch but expecting per-device settings to still work. The master switch overrides everything. If it's off, no Autoplay action will run, regardless of individual device settings.
- Clicking “Reset all Autoplay defaults” thinking it disables Autoplay. It doesn't. It only clears your remembered choices, so Windows will prompt you again for each device.
- Looking for Autoplay in Control Panel. Windows 11 moved Autoplay to Settings. The old Control Panel path (Control Panel > Hardware and Sound > Autoplay) still exists but is a shortcut that opens the same Settings page.
- Assuming the toggle affects only USB drives. It also applies to memory cards, phones, cameras, and any other removable media that Windows recognizes.
Tips
- Use “Ask me every time” for safety. If you plug in unknown USB drives, set the default to Ask me every time so you can review what's on the device before it opens anything.
- For photos and videos, choose “Import photos or videos.” Windows will open the Photos app and let you choose which items to import, which is handy for cameras and SD cards.
- If you never want a specific device to open automatically, set that device type to Take no action instead of turning off the master switch—this keeps Autoplay active for other devices.
- Autoplay only works when the device is plugged in while Windows is running. If you plug in a device during startup, Autoplay may not trigger.
Troubleshooting
If Autoplay doesn't work as expected, try these in order:
- Check the master switch. Make sure Use Autoplay for all media and devices is turned on. If it's off, nothing will happen.
- Restart your PC. Sometimes a fresh start clears temporary glitches that prevent Autoplay from triggering.
- Check the device itself. Some devices (like certain USB drives) have a physical lock switch or a file system that Windows doesn't recognize. Try a different USB port or a different device to see if the problem is specific to that hardware.
- Update your device drivers. Go to Settings > Windows Update > Advanced options > Optional updates and install any driver updates for your storage devices. Outdated drivers can interfere with Autoplay.
- Run the Hardware and Devices troubleshooter. Open Settings > System > Troubleshoot > Other troubleshooters, then click Run next to Hardware and Devices. This can detect and fix common hardware issues.
- If Autoplay still doesn't appear, open Settings > Apps > Default apps and check that the default app for the file type (e.g., Photos for images) is set correctly. If the default app is missing, Autoplay may have no action to take.
Frequently Asked Questions
Can I disable Autoplay for only one device type?
Yes. Under the master switch, set the specific device type (like Removable Drive) to Take no action. The master switch stays on, so other device types still work.
Why doesn't Autoplay show up when I plug in my phone?
Autoplay only works if the phone is set to “File Transfer” or “Media Transfer Protocol (MTP)” mode on the phone itself. If it's set to “Charge only,” Windows won't see it as a media device. Change the USB mode on your phone to “File Transfer” and try again.
Does disabling Autoplay prevent malware from running from a USB drive?
It helps, but it's not a complete security measure. Disabling Autoplay stops automatic execution, but if you manually open a file from the drive, it can still run. Always scan unknown drives with antivirus software before opening files.
How do I make Windows ask me every time instead of doing a default action?
In Autoplay settings, for the device type you want, choose Ask me every time from the dropdown. Windows will then show a prompt each time you connect that type of device.
I reset Autoplay defaults, but it still doesn't ask me. Why?
If the master switch is on and you've set the device type to “Ask me every time,” but it still auto-opens, try restarting your PC. Also, check if the device is recognized as a different type (e.g., a phone might show as a camera). You may need to change the setting for that specific type.
Can I disable Autoplay for all users on the PC?
Yes, but you need administrator rights. Change the Autoplay setting in your account, then use Group Policy Editor (gpedit.msc) to apply it system-wide. Navigate to Computer Configuration > Administrative Templates > Windows Components > Autoplay Policies and enable “Turn off Autoplay.” This is not recommended for most users unless you're managing multiple accounts.