Have you ever plugged in a camera or phone and seen a box pop up? That box is called AutoPlay. It’s a Windows feature that helps decide what to do when you connect devices.
What is AutoPlay?
AutoPlay can do several things:
- Automatically open photos, videos, or music from your device.
- Ask you what you want to do each time you connect a device.
- Show you a list of apps to choose from.
- Simply open the folder with your files.
- Do nothing if you’ve told it not to act before.
Note: AutoPlay shows notifications when you plug in cameras or phones. It does not work for storage devices like USB flash drives. You can find those files in File Explorer > This PC.
Quick tip: Press and hold the Shift key while plugging in your device. This will force the AutoPlay prompt to show up, no matter what your settings are.
How to Turn On or Off AutoPlay for Cameras, Phones, and Other Devices
⚠️ Admin privileges required: You need to be signed in as an administrator to change these settings.
Option 1: Using Local Group Policy Editor (Windows 11 Pro, Enterprise, Education only)
Note: This tool is not available in Windows 11 Home. If you have Home edition, skip to Option 2.
- Press Windows + R on your keyboard to open the Run box.
- Type
gpedit.mscand press Enter to open the Local Group Policy Editor. - In the left panel, go to: Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies
- In the right panel, find and double-click Disallow AutoPlay for non-volume devices.
- To enable AutoPlay (default): Select Not Configured or Disabled, then click OK.
- To disable AutoPlay: Select Enabled, then click OK.
- Close the Local Group Policy Editor.
Here is what it looks like in the editor:


Option 2: Using the Windows Registry (All Windows 11 editions)
If you don’t have access to the Group Policy Editor, you can change this setting in the Registry. Be careful when editing the Registry. It’s a good idea to create a restore point first.
To Enable AutoPlay (default):
reg delete "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /f
Deleting the NoAutoplayfornonVolume value turns AutoPlay back on for these devices.
To Disable AutoPlay:
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /t REG_DWORD /d 1 /f
This adds a value to turn off AutoPlay for cameras, phones, and other non-storage devices.
How to apply these changes:
- You can open Registry Editor (regedit). Navigate to the keys and change or delete the values manually.
- Restart your PC or sign out and back in for changes to take effect.
Summary
- AutoPlay helps you quickly open photos, videos, or music when you connect cameras, phones, or other devices.
- You can turn AutoPlay on or off for these devices using either the Group Policy Editor or the Registry Editor.
- You need to be an administrator to change these settings.
- AutoPlay settings only affect non-storage devices like cameras and phones. They do not affect USB drives or external hard drives.
- Press Shift when plugging in a device to force the AutoPlay prompt to appear.
- By setting AutoPlay the way you like, you can save time and avoid repeated prompts when connecting your devices.
For more details, you can visit the official Microsoft page about this setting: Disallow AutoPlay for non-volume devices.





Leave a Reply