AutoPlay lets you choose an action for different kinds of media when you plug in a device or insert media. You can set AutoPlay to open different kinds of content, such as photos, music, and video on different kinds of media, such as drives, CDs, DVDs, cameras, and phones. For example, you can use AutoPlay to select an app that will automatically open photos on a removable drive when you plug it into your PC. With AutoPlay, you don't have to open the same app or reselect preferences every time you plug in a certain device.
When the Shell detects the insertion of new media or the attachment of a hot-plug device, the contents of the device or media are determined. AutoPlay, depending on its current settings, does one of the following.
- Plays the content automatically.
- Displays a dialog box prompting the user to choose a default handler for a single content type.
- Presents, in the case of mixed content, a list of available handler applications to launch. The chosen handler then automatically plays its associated content type.
- Displays a standard folder view of the files.
- Does nothing if, earlier, the user had chosen Take no action for that content type as well as specified Always do the selected action. You can turn off AutoPlay for specific media or devices by choosing Take no action as its AutoPlay default.
- You will only see an AutoPlay notification when you have AutoPlay turned on and connect a device, media, or content that you chose Choose a default (default) or Ask me every time as its AutoPlay default.
- If you connect a storage device to your PC (for example, a USB flash drive or other external drive), that device won't appear under Devices in AutoPlay. AutoPlay will only show non-storage devices, such as some digital cameras, video cameras, and phones. You can view storage devices in the This PC window in File Explorer.
- You can press and hold the Shift key when you insert devices or media into your PC to open an AutoPlay notification, regardless of the default setting.
Reset AutoPlay Defaults using BAT file
Click/tap on the download button below to download the Reset_AutoPlay_defaults_for_current_user.bat file.
(Contents of BAT file for reference)
REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection /F REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers /F
Save the BAT file to your desktop.
Unblock and run the BAT file.
You will now see a command prompt flash and quickly open and close to apply the registry changes to reset all AutoPlay Defaults.
Reset AutoPlay Defaults in Control Panel
Open the Control Panel (icons view), and click/tap on the AutoPlay icon.
Click/tap on the Reset all defaults button at the bottom. (see screenshot below)
Click/tap on Save.
You can now close the Control Panel if you like.