Autoplay or AutoPlay is a special feature of Windows 10 that allows the user to quickly select a desired action for various types of media that you have connected or previously connected to the computer you.
Essentially with autorun in Windows 10 you can set your OS to open your favorite image viewer when you insert a photo disc or automatically launch a media player for the drive disk containing media files.
You can go to automatic execution from Control Panel> Hardware & Sound> AutoPlay or from Settings> Devices> AutoPlay.
The above feature saves you time, as the required application starts automatically every time you connect the device or insert your disc.
After setting the autocomplete settings to what you want, you may want to go one step further to create a copies security of your customizations in order to restore them later or move them to another user account or to another Windows 10 PC. Here's how to do it.
Note: Because you are going to tamper with the registry, we recommend that you back it up just in case. See here how you can make this copy.
Step 1: Open Registry Editor and go to the following registry key.
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ AutoplayHandlers \ EventHandlersDefaultSelection
Step 2: Right click on the key AutoplayHandlers on the left and from the menu that will open select it Export.
Step 3: Specify the file name to export to the registry key, as well as the save folder (if you don't like the default) and press the key "Save"
Step 4: Now, go to the key
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ AutoplayHandlers \ UserChosenExecuteHandlers
Step 5: Right click on the folder UserChosenExecuteHandlers and select Export from the context menu.
Step 6: Give the * .REG file a name, change the storage folder (if desired) and press the "Save" button.
Now, let's look at how to reset AutoPlay preferences in Windows 10.
To restore the AutoPlay options from the backup you just created, using the instructions above, double-click the * .REG files to import them into the registry. Then log out and log in to your user account. Alternatively, you can restart Windows 10.
It is so simple.