How To Configure AutoPlay Settings For Removable Drives In Windows 11
AutoPlay in Windows 11 lets you choose what happens when you plug in removable drives like USB sticks, cameras, or smartphones, opening a specific app or folder based on the files it finds. Windows keeps AutoPlay active by default while blocking AutoRun on non-optical drives to protect your system from malware hidden on rogue hardware.
You can change these behaviors in Settings so Windows prompts you for an action, opens File Explorer automatically, or ignores new hardware completely. Setting up these options ensures your removable drives respond the way you want every time you plug them in.
Open Settings Bluetooth & devices AutoPlay to configure AutoPlay settings for removable drives in Windows 11. Toggle the master switch on or off, then select your preferred default action for removable drives and memory cards from the drop-down menus to control how connected hardware behaves automatically.
How to Open AutoPlay Settings in 🪟 Windows 11
You manage device behaviors through the main Windows configuration panel. To access the AutoPlay configuration menu, follow these steps:
- Open the Start menu and click Settings (the gear-shaped icon). Alternatively, press the Win+I keyboard shortcut.

Windows 11 Start menu with Settings gear icon highlighted. - Select Bluetooth & devices from the left-hand navigation menu.

- Click on AutoPlay to open the configuration panel containing your removable drive options.
Configuring Global AutoPlay Options
The primary AutoPlay control panel lets you toggle the feature entirely on or off and set default behaviors for removable drives and memory cards. To configure these global settings:
- Navigate to the AutoPlay settings page in the Settings app following the steps above.

Settings › Bluetooth & devices › AutoPlay - Locate the master switch labeled Use AutoPlay for all media and devices and toggle it to Off if you want to disable automatic actions completely across your system. Leave it toggled to On to customize individual drive behaviors.
- Under the Choose AutoPlay defaults section, click the drop-down menu next to Removable drive.
- Select your preferred action from the list. Choose Configure this drive to perform actions (Control Panel ) to receive prompts, Open folder to view files (File Explorer ) to examine contents immediately, Take no action to ignore the connection, or select a specific media application.
- Click the drop-down menu next to Memory card and choose your desired default action for SD cards and similar storage media.
Managing AutoPlay via the Legacy Control Panel
The classic Control Panel provides an alternative interface for managing AutoPlay with granular options categorized by media type and specific device models. To access and configure these settings:
- Open the Start menu , type
Control Panel, and press Enter. - Click on Hardware and Sound.
- Click on AutoPlay to open the legacy configuration window.
- Check the box next to Use AutoPlay for all media and devices to enable the feature, or uncheck it to disable it entirely.
- Review the list of media types—including Audio CD, DVD movie, Software and games, Pictures, Video files, and Audio files. Click the drop-down menu next to each category and select the action you want Windows to take.
- Scroll down to the Devices section to see previously connected removable drives, cameras, and smartphones. Choose a specific action from the drop-down menu next to any listed device.
- Click the Save button at the bottom of the window to apply your changes.
Configuring AutoPlay Using the Windows Registry
Making incorrect changes here can cause system instability, so follow these steps carefully.
To disable AutoPlay for all drives using the Registry Editor (a tool for viewing and modifying registry keys and values):
- Press the Windows Key + R to open the Run dialog box.
- Type
regeditand press Enter to open the Registry Editor. Click Yes if the User Account Control prompt appears asking for administrator privileges. - Navigate to the following key in the left-hand sidebar:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer(Note: If the Explorer key does not exist under Policies, right-click Policies, select New Key, and name itExplorer). - Right-click an empty space in the right-hand pane, select New DWORD (32-bit) Value, and name it
NoDriveTypeAutoRun. - Double-click
NoDriveTypeAutoRun, select Hexadecimal under Base, and enter a hexadecimal value into the Value data field. (Entering0xFFdisables AutoPlay for all drive types. Entering0x00enables AutoPlay for all drives). - Click OK and close the Registry Editor. Restart your computer for the changes to take effect.
Setting AutoPlay Policies via Group Policy Editor
Note that this tool is not available in Windows 11 Home.
- Press the Windows Key + R to open the Run dialog box.
- Type
gpedit.mscand press Enter to open the Local Group Policy Editor. This action requires administrator privileges. - In the left-hand sidebar, navigate to
Computer Configuration\Administrative Templates\Windows Components\Policies-AutoPlay(or look underUser Configuration\Administrative Templates\Windows Components\AutoPlay Policies). - Double-click the policy named Turn off AutoPlay in the right-hand pane.
- Select Enabled to disable AutoPlay entirely across your system, or select Disabled or Not Configured to leave AutoPlay active.
- Use the drop-down menu under Options to turn off AutoPlay for All drives or CD-ROM and removable media drives if you chose Enabled.
- Click Apply and then OK. Restart your computer to enforce the policy.
Advanced Drive-Specific AutoPlay Tuning
Beyond global settings, Windows 11 remembers how you handle individual removable drives based on their unique hardware IDs. When you connect a specific USB flash drive or external hard drive, you can assign it a persistent behavior that overrides your global default settings.
To customize a specific drive's behavior:
- Connect your removable drive to your computer.
- Open Settings and go to Bluetooth & devices AutoPlay

Settings › Bluetooth & devices › AutoPlay - Connect the specific drive, and if a notification banner appears in the bottom-right corner of your screen when it connects, click it directly to open device-specific options.
- Select the exact action you want Windows to execute every time you connect this specific hardware unit. Windows stores this preference in the Registry under the device's hardware signature, ensuring it applies exclusively to that drive while leaving other media sticks using your standard global preferences.
Troubleshooting AutoPlay Not Working in 🪟 Windows 11
When AutoPlay fails to respond to inserted drives, underlying system services or shell notification settings are usually the cause. Work through these diagnostic steps to restore functionality:
- Verify that the Shell Hardware Detection service (a background service that provides notifications for hardware events) is running. Press the Windows Key + R, type
services.msc, and press Enter. Scroll down to find Shell Hardware Detection, check that its Status is set to Running and Startup type is set to Automatic. If not, right-click the service, select Properties, change the startup type, and click Start. (Requires administrator privileges). - Reset AutoPlay defaults in the legacy Control Panel. Open Control Panel Hardware and Sound AutoPlay, check Use AutoPlay for all media and devices, click Reset all defaults at the bottom of the window, and click Save.
- Check for conflicting third-party shell extensions or security software that might intercept removable drive insertion events and suppress the AutoPlay prompt. Temporarily disable third-party antivirus utilities to test if they block notifications.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!