How to disable the AutoRun feature in Windows 10

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • 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

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

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.

More about the topics: windows 10, Windows 10 Guides