Skip to content
Windows

How to Turn On or off AutoPlay for Cameras and Phones in Windows 11

Richard
Written by
Richard
Updated 5 min read
How to Turn On or Off AutoPlay for Cameras and Phones in Windows 11
How to Turn On or Off AutoPlay for Cameras and Phones in Windows 11
Before you start
  • 2 ways to do it
  • Needs administrator rights
  • Group Policy needs Windows 11 Pro, Enterprise or Education
  • Includes a restart or sign-out

AutoPlay in Windows 11 opens a menu right after you plug in a camera, phone, or memory card, so you can pick what to do with your files. It can launch an app to import photos, play music, or open a folder.

The Settings app has an AutoPlay switch (under Bluetooth & devices AutoPlay) that you can flip in a few clicks. This tutorial covers the two administrator methods, Local Group Policy Editor and Registry Editor. They apply the setting at system level, and the Registry method also works on Windows 11 Home.

⚡ Quick Answer

Open Settings Bluetooth & devices AutoPlay and toggle the switch on or off. For system-level control on all editions, open Registry Editor, navigate to 🗝️HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer, and add or delete the NoAutoplayfornonVolume value.

Advertisement

What is AutoPlay?

AutoPlay decides what happens when you plug in a camera, phone, or similar device. Depending on how it is set, Windows 11 can do any of the following:

  • Automatically open photos, videos, or music from your device.
  • Ask you what you want to do each time you connect a device.
  • Show a list of apps to choose from if your device holds different types of content.
  • Open the folder with your files.
  • Do nothing, if you have told it not to act on that device before.
📝NoteAutoPlay normally shows its prompt for devices like cameras and phones, but it skips storage devices like USB flash drives. Those show up under File Explorer > This PC instead. This matters for the settings below, because they only affect non-storage devices.
Advertisement

If you want the AutoPlay prompt to appear no matter how it is currently configured, hold the Shift key while you plug in the device. This is handy for testing a change.

How to Turn On or Off AutoPlay for Cameras, Phones, and Other Devices (Non-storage Devices)

You need administrative privileges to change these settings. If you are signed in with a standard account, Windows will ask for an administrator password, or the change will fail. Sign in with an administrator account before you start.

Option 1Using Local Group Policy Editor (🪟 Windows 11 Pro, Enterprise, Education only)

Local Group Policy Editor is available on Windows 11 Pro, Enterprise, and Education. It is not included in Windows 11 Home. If you run Home, skip to the Registry method below. Here you change a system policy to turn AutoPlay on or off for connected cameras and phones.

  1. Press Win+R on your keyboard to open the Run box.
  2. Type gpedit.msc and press Enter. The Local Group Policy Editor opens. If you see an error that the file cannot be found, your edition is Home.
  3. In the left panel, go to:

    Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies
  4. In the right panel, find and double-click Disallow AutoPlay for non-volume devices. A settings window for that policy opens.
  5. To enable AutoPlay (the default), select Not Configured or Disabled, then click OK.
  6. To disable AutoPlay, select Enabled, then click OK. The policy name is a “disallow” setting, so turning the policy on turns AutoPlay off for these devices.
  7. Close the Local Group Policy Editor.

If the change does not show up straight away, sign out and back in, or restart the PC. To undo it later, open the same policy and set it back to Not Configured.

The policy editor displays these options:

Windows 11 AutoPlay settings for non-volume devices configuration
Windows 11 AutoPlay settings for non-volume devices configuration
AutoPlay options dropdown menu for cameras and phones
AutoPlay options dropdown menu for cameras and phones

Option 2Using the Windows Registry (All 🪟 Windows 11 editions)

Registry Editor works on all editions of Windows 11, including Home. Use it when Group Policy Editor is not available on your PC. You can apply the change with the ready-made commands below, or edit the values by hand.

⚠️WarningBack up the registry or create a restore point first. A wrong edit in the registry can cause problems that are hard to trace.

To Enable AutoPlay (default):

🗝️Registry
reg delete "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /f
reg delete "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /f

Deleting or removing the NoAutoplayfornonVolume value turns AutoPlay back on for these devices. This is how you undo the change.

To Disable AutoPlay:

🗝️Registry
reg delete "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /f
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /t REG_DWORD /d 1 /f

This adds a value that turns off AutoPlay for cameras, phones, and other non-storage devices.

How to apply these changes:

  • Run the commands above from an elevated window, since they write to a protected location.
  • Or open Registry Editor (regedit), go to the keys yourself, and change or delete the values manually.
  • Restart your PC or sign out and back in for the changes to take effect.
Advertisement

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 (Pro, Enterprise, Education) or the Registry Editor (all editions).
  • You need to be an administrator to change these settings.
  • These settings only affect non-storage devices (like cameras and phones), not USB drives or external hard drives.
  • Press Shift when plugging in a device to force the AutoPlay prompt to appear.

Windows 11 AutoPlay settings let you control what happens when you connect devices like cameras and phones to your computer. Use the Group Policy Editor or the Registry Editor, depending on your edition of Windows.

Official Microsoft documentation provides additional details regarding this setting: Disallow AutoPlay for non-volume devices.

Frequently asked questions

How do I turn on AutoPlay in 🪟 Windows 11?

To turn on AutoPlay in Windows 11, open Settings, go to Bluetooth & devices, and select AutoPlay. Switch the AutoPlay toggle on. Windows will then show a prompt when you connect a camera, phone, or memory card, so you can choose what happens to your files.

How do I disable AutoPlay in 🪟 Windows 11?

To disable AutoPlay in Windows 11, open Settings, go to Bluetooth & devices, select AutoPlay, and switch the toggle off. Windows will stop showing a menu or launching apps when you connect a device. Windows 11 Home users can also use the Registry Editor method in the tutorial for a system-wide change.

How do I get rid of AutoPlay?

AutoPlay is built into Windows 11 and cannot be removed, but you can turn it off. Open Settings, go to Bluetooth & devices, select AutoPlay, and switch the toggle off. This stops the prompt for cameras and phones without changing any of your files or apps.

What is the difference between AutoPlay and autorun?

AutoPlay is the Windows feature that asks what to do when you connect a device, such as a camera or memory card. Autorun is the older mechanism that starts a program from a drive as soon as it is inserted, based on a setup file on that drive. Autorun is mostly disabled now because malware used it to spread.

Still have a question?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *