The autoplay feature in Windows helps you launch programs, files, and drives as soon as you plug them in. However, autorun popups can be a bit annoying. This is especially true if you plug in a lot of removable drives, like in professional environments. The good thing is, you can easily disable autorun in Windows 10. So, without further ado, let me show you how to disable autoplay in Windows 10.
Note: In Windows, you can use autorun and autoplay interchangeably.
Disable Autorun via PC Settings App
The PC Settings app in Windows 10 provides proper options to disable Windows 10 autorun. In fact, the settings app even allows you to set autorun on per device basis. For example, if you often connect your mobile phone to Windows then you can set a specific autorun behavior while disabling all the other USB autoruns.
1. Open the PC Settings app by pressing the keyboard shortcut Win + I or by searching for it in the start menu.
2. In the Settings app, go to “Devices -> AutoPlay”. On the right-panel, toggle the switch under “Use AutoPlay for all media and devices” to the “Off” position. Next, select “Take No Action” option from all the drop-down menus.
That is it. You’ve disabled autoplay in Windows 10.
Disable Autoplay via Group Policy
If you want to disable autoplay permanently and don’t want users to turn it on again, you can use the group policy settings. Group policy is only available to Pro and Enterprise version users.
1. Open Group Policy Editor by searching for “gpedit.msc” in the start menu. Alternatively, you can also use gpedit.msc run command.
2. All the policies in the group policy editor are neatly divided into their own folders for better accessibility. On the left panel, go to the following folder.
Computer Configuration -> Administrative Templates -> Windows Components -> AutoPlay Policies
3. On the right panel, find and double-click on the “Turn off AutoPlay” policy.
4. In the policy settings window, select “Enabled” and click on the “Apply” and “Ok” buttons to save the changes.
5. Finally, reboot Windows 10 and the policy changes will be applied on the next reboot. With that, the autorun is completely disabled in Windows 10.
Registry Method to Disable Autorun
If you are using Windows 10 Home edition then you need to use the registry method to permanently disable autoplay. The good thing is, it is pretty easy. Before editing the registry, back it up just to be sure.
1. Open the start menu, search for “Registry Editor” and open it. You can also use the regedit run command to open Windows Registry Editor.
2. Once the registry editor is opened, copy the below path, paste it in the address bar and press Enter. You will be taken to the folder where we need to create a new registry value.
3. On the right panel, right-click and select “New -> DWORD (32-bit) Value” option. Name the value as “NoDriveTypeAutorun”.
4. Now, double-click on the newly created value, type “FF” in the value data field and click on the “Ok” button.
5. Close the registry editor and reboot Windows. Once you reboot, the autoplay is disabled and no drives or devices will autorun.
That is all. It is that simple to disable autorun in Windows 10.