Users should have noticed that every time a DVD / CD / USB is inserted, a window pops up prompting the next expected action with the files on the removable disk. This is the default for Windows 10. However, for users who enable autoplay on their devices, the media on the removable disk may start playing the file as soon as Windows reads the data. The same could happen with other applications.
Here's how to set up autoplay according to your needs.
While autoplay can be useful for many, most of us would prefer to choose prompts before deciding on actions. Therefore, Windows 10 allows users to enable / disable autoplay. The various methods to do this are as follows:
Method 1: enable or disable autoplay in Windows 10 settings
1] Click the Start button and then the gear symbol to open the Settings page.
2] Select Devices from the list and then in the list on the left, click AutoPlay to open the AutoPlay settings.
3] Use the blue switch to enable or disable auto play.
4] Reboot the system.
Method 2 - Enable or disable autoplay in the Control Panel
1] Press Win + R to open the Run window. Write the command Control Panel and press Enter to open the Control Panel.
2] Go to Hardware and Sound >> Auto Play.
3] To enable automatic playback, check the box corresponding to "Use autoplay for all media and devices. "
4] We may also disable autoplay for specific applications in the next section.
5] Click Save to save the settings and then reboot the system.
Method 3: enable or disable autoplay in the log
1] Press Win + R to open the Run window and type the regedit command. Press Enter to open the Registry Editor.
2] Go to the following key:
- Current version
3] In the right pane, double click and open DisableAutoplay.
4] Change its value as follows according to your needs:
To enable autoplay: 0
To disable autoplay: a
5] Click OK and restart the system.
Method 4: enable or disable autoplay in local group policy editor
1] Press Win + R to open the Run window and type the command gpedit.msc. Press Enter to open the Local Group Policy Editor.
2] Go to the standard: Computer Configuration >> Administrative Templates >> Windows Components >> Autoplay Policy.
3] In the right pane, double click Disable AutoPlay.
4] And an important point to keep in mind is that to enable autoplay, we need to set this policy to Disabled and to disable this policy, we need to configure this policy to Enabled.
5] In Disable AutoPlay in the drop-down menu, change the status to All Drives.
6] Click Apply followed by OK and then reboot the system.
I hope this helps!