Windows How-To

AutoPlay Not Working in Windows 11: How to Fix It

Re-enable the feature, repair the Shell Hardware Detection service, and reset defaults so Windows reacts when you plug in a drive.

Re-enable the feature, repair the Shell Hardware Detection service, and reset defaults so Windows reacts when you plug in a drive.

When you plug in a USB stick, insert a memory card, or load a CD or DVD, Windows 11 is supposed to pop up a prompt asking what to do with it. When that prompt stops appearing, the drive still mounts, but you have to open File Explorer and dig through This PC to reach the files. The fix almost always comes down to a toggle that got switched off, a background service that stopped running, or a default action set to do nothing.

Quick answer: Open Settings > Bluetooth & devices > AutoPlay, turn Use AutoPlay for all media and devices off and back on, then set Removable drive to Ask me every time or Open folder to view files. If the prompt still does not show, start the Shell Hardware Detection service and set it to Automatic.


Why AutoPlay stops working in Windows 11

The prompt depends on a chain of settings and one background service. If any link breaks, nothing happens when you connect a device. These are the conditions that have to be true for the prompt to appear.

CauseWhat goes wrong
AutoPlay toggle offThe master switch in Settings is disabled, so no media triggers a prompt.
Notifications blockedAutoPlay shows its prompt as a notification; if notifications are off, you never see it.
Shell Hardware Detection stoppedThis service detects hardware events. If it is not running, AutoPlay cannot react.
Default set to “Take no action”Windows recognizes the drive but is told to do nothing.
Group Policy restrictionA policy (often on work PCs) forces AutoPlay off system-wide.
Corrupted settingsMisconfigured values that a reset clears.

Re-enable AutoPlay in Settings

A simple off-and-on of the main toggle clears most temporary glitches. This is the first thing to try.

Press Win + I to open Settings, then select Bluetooth & devices in the left pane.
Scroll down and click AutoPlay. Toggle Use AutoPlay for all media and devices off.
Enable the AutoPlay feature
Restart your PC, then return to Bluetooth & devices > AutoPlay and turn the toggle back on. Plug in a drive to check whether the prompt returns.

Turn on AutoPlay notifications

The AutoPlay prompt arrives as a system notification. If notifications are switched off for it, the feature looks broken even when everything else is correct.

Open Settings, go to System, and click Notifications. Confirm the main Notifications toggle is on.
Scroll to Notifications from apps and other senders, find AutoPlay, and switch it on.
Enable notification

Start the Shell Hardware Detection service

AutoPlay relies on the Shell Hardware Detection service to spot when you connect a device and to fire the prompt. If that service is stopped or set to Manual or Delayed start, nothing happens. Set it to run automatically.

Press Win + R, type services.msc, and press Enter.
Scroll down to Shell Hardware Detection. Tip: press the S key to jump there faster. Right-click it and choose Properties.
Change Shell Hardware Detection service
Set Startup type to Automatic. If Service status is not Running, click Start, then click Apply and OK.

You can also start the service from an elevated Command Prompt instead of opening the Services window:

net start shellhwdetection

Set the AutoPlay default action for removable drives

Even with AutoPlay turned on, Windows does nothing if the chosen default is “Take no action.” Point the removable drive at a real action so you get a response.

Open Settings > Bluetooth & devices > AutoPlay.
Under Choose AutoPlay defaults, open the Removable drive dropdown and pick Ask me every time. This is the easiest way to confirm the prompt works. If you want the folder to open straight away, choose Open folder to view files instead.
Change AutoPlay settings
Reconnect the drive. The AutoPlay prompt should appear and ask what to do. Once it works, you can come back and assign a specific action for each device type.

Check Local Group Policy on managed PCs

On work or school computers, an administrator may have switched AutoPlay off through Group Policy. In that case the right move is to contact whoever manages the device. On a personal Windows 11 Pro, Education, or Enterprise machine, you can change the policy yourself with the Group Policy Editor. Home edition does not include it by default.

Press Win + R, type gpedit.msc, and press Enter.
Navigate to Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies.
Change Local Group Policy
Double-click Turn off AutoPlay, select Disabled, then click Apply and OK. Restart the PC so the policy applies.

Reset AutoPlay to default settings

If the settings are tangled and nothing above sticks, wipe the customizations and return AutoPlay to its original state from the Control Panel.

Press Win + R, type control, and press Enter to open the Control Panel. Set the view to Large icons and select AutoPlay.
Scroll to the bottom and click Reset all defaults, then click Save.
Reset the AutoPlay settings
Restart the PC and reconnect your device to confirm the prompt comes back.

Other things to rule out

If AutoPlay works for some devices but not one specific drive, the drive itself may be the problem. A corrupted or improperly formatted USB stick can fail to register, so try a different device to isolate it. Disconnecting every USB device and plugging them back in one at a time also helps find a single device that interferes with detection.

It is also worth installing pending updates. Open Settings > Windows Update, click Check for updates, install anything available, and restart. Updates can correct a recent change that reset AutoPlay behavior. Security software occasionally blocks AutoPlay too, so briefly disabling it can confirm whether a third-party program is the cause.

You will know the fix worked the moment Windows shows the AutoPlay prompt, or opens File Explorer automatically, the next time you connect a drive. Keep in mind that AutoPlay applies only to removable media, and if you ever decide the prompts are more annoying than useful, the same toggle in Settings, the Control Panel, or Group Policy turns the feature back off just as quickly.