How to Change AutoPlay Settings in Windows 11
You change AutoPlay settings in Windows 11 to control what happens when you connect media devices like USB drives.
AutoPlay is a Windows feature that automatically detects removable media and prompts you to choose an action, such as opening files or running an app.
By adjusting these settings, you can prevent unwanted programs from launching automatically or streamline how you access your media.
For instance, you can configure Windows 11 to always open a specific folder when a USB drive is inserted, or to simply do nothing.
This feature is crucial for security because it prevents malicious software from executing automatically when you plug in an infected device, a common attack vector for viruses.
Change AutoPlay Settings Using System Settings
The easiest way to change AutoPlay settings is through Windows Settings. Here is how:
- Press Windows key + I on your keyboard to open Settings.

- In Settings, click on Bluetooth & devices in the left menu.
- On the right side, select AutoPlay.

Turn Off AutoPlay Completely
If you want to disable AutoPlay entirely, toggle the button under Use AutoPlay for all media and devices to the Off position. What happens? Windows will no longer react to plugged-in media, and you must open your files manually using File Explorer.

Change AutoPlay Settings Using Control Panel
You can also adjust AutoPlay settings through Control Panel for more detailed control.
- Click the Start button and search for Control Panel.
- Click on Hardware and Sound.
- Select AutoPlay.

In this window, you can set specific actions for different media and device types. Choose what should happen for each one, then click Apply and OK to save your changes.

Advanced: Disable AutoPlay via Registry Editor
Warning: This step requires admin privileges and involves editing the registry. Incorrect changes can cause system issues.
- Press Windows key + R, type regedit, and press Enter.
- Navigate to: 🗝️HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- If the key NoDriveTypeAutoRun does not exist, right-click in the right pane, select New > DWORD (32-bit) Value, and name it NoDriveTypeAutoRun.
- Double-click it and set the value to ff to disable all AutoPlay features.
Advanced: Disable AutoPlay via Group Policy
Note: This is only available for Windows 11 Pro and Enterprise editions. It requires admin privileges.
- Press Windows key + R, type gpedit.msc, and press Enter.
- Go to Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies.
- Double-click Turn off AutoPlay and select Enabled.
- Click Apply and OK.
Troubleshooting Common Issues
Why does my Windows 11 device not show AutoPlay options? This often happens if the Shell Hardware Detection service is disabled. Press Windows key + R, type services.msc, find Shell Hardware Detection, and ensure it is set to Automatic and running. Does disabling AutoPlay improve system performance? Disabling it can slightly improve performance by preventing the system from scanning every device the moment it is connected, which is helpful if you frequently plug in drives with many files.
Summary
Changing AutoPlay settings helps you manage how Windows handles removable media. You can use the Settings app for basic changes, the Control Panel for specific device actions, or the Registry and Group Policy for advanced security. Why this matters: Properly configuring these settings protects your computer from potential threats on external drives. What to remember: Always ensure your system is backed up before making changes to the registry or group policies.
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.
Tried this, and it still does not work.
[…] This post shows students and new users steps to mount and unmount a removable USB or thumb drive in the Windows Systems for Linux (WSL) environment. Windows 11 allows users to mount removable drives with ease. Simply insert a removable drive, and Windows will recognize and mount it. […]
[…] choose to upload your photos and videos from your camera to Dropbox automatically by configuring Windows’ AutoPlay settings. By default, AutoPlay prompts what to do with the camera or device you insert when you connect a […]
[…] default, Windows will automatically initiate when you insert a blank recordable CD or DVD into your optical drive. When you do that, a “Burn a Disc” window will […]
[…] AutoPlay settings in Windows allow users to choose different actions when devices are inserted or attached to a Windows […]
[…] If you want to learn more about AutoPlay, click here. […]
[…] Learn more about AutoPlay settings […]