How to disable the AutoRun feature in Windows 10

Ivan Jenic
by Ivan Jenic
Troubleshooting Expert
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and driver troubleshooting. When he's not tackling... Read more
Affiliate Disclosure
  • While the autoRun feature is designed to save time, it can sometimes be annoying.
  • Thankfully enough, there are ways for you to disable AutoRun, as we will show you.
  • One way to disable this Windows feature is via the use of the Registry Editor.
  • Another way to disable AutoRun on Windows 10 is via a Group Policy.
How to Disable the AutoRun Feature In Windows 10
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Autorun could be annoying sometimes. A lot of us don’t want movies or music files to play automatically when we insert CDs or USB flash drives.

So, if the AutoRun feature annoys you as well, we have a solution for you. In this article, you’ll find out how to disable the autorun feature with just a couple of tweaks in your Registry.

How do I turn off AutoRun in Windows 10?

  1. Use the Registry Editor
  2. Use a Group Policy
  3. Use the Windows 10 Settings menu

1. Use the Registry Editor

Whether you want to stop Autorun USB in Windows 10 or just turn off AutoRun CD, then this guide is for you.

Anyway, to disable AutoRun feature in your Windows 10 Registry Editor, follow these steps:

  1. In Search type Regedit and open the Registry Editor.
  2. Go to the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  3. In the right pane of the window create a new DWORD value NoDriveTypeAutorun and set its value to some of the following, based on what you want:
    • FF – To disable AutoRun on all drives
    • 20 – To disable AutoRun on CD-ROM drives
    • 4 – To disable AutoRun on removable drives
    • 8 – To disable AutoRun on fixed drives
    • 10 – To disable AutoRun on network drives
    • 40 – To disable AutoRun on RAM disks
    • 1 – To disable AutoRun on unknown drives
Note icon
NOTE
Disabling AutoRun requires performing a couple of actions in the Windows Registry Editor, so if you’re not familiar with working in the Registry Editor, you should ask someone who knows what he’s doing for a little help.

2. Use a Group Policy

There is also a second method that you can use to configure AutoRun — that is by using the Group Policy Editor. Here are the steps to follow:

  1. Go to Start > type gpedit.msc > double click on the first result to launch Group Policy.
  2. Go to Computer Configuration > select Administrative Templates > go to Windows Components.
  3. Now, you need to select Autoplay Policies > navigate to the Details pane.
  4. Double-click Turn off Autoplay to disable the feature.

3. Use the Windows 10 Settings menu

  1. Press the Windows key.
  2. Type in autoplay and select AutoPlay Settings.
  3. Under Use AutoPlay for all media and devices, move the slider to Off.
  4. Under the AutoPlay Defaults, for both Removable drive and Memory card select Do nothing.

That would be all, the annoying AutoRun feature won’t bother you anymore, but if you want to return it, you know what to do.

If you have any additional questions or suggestions, write to us in the comments below, we would love to hear your opinion.

This article covers:Topics: