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.
windows 10 registry editor wind8apps

How to turn off AutoRun in Windows 10

  1. Stop AutoRun in Windows 10 using the Registry Editor
  2. Disable AutoRun using Group Policy

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.

Steps to stop AutoRun in Windows 10 using 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 Registry Editor command
  2. Go to the following key:
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorerwindows policies registry editor windows 10
  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
  4. If you want to disable AutoRun on a certain combination of drives, you’ll have to combine their values. For example, if you want to disable AutoRun on CD-ROM and removable drives, set the value of DWORD to 28
  5. If you want to return AutoRun functionality, just delete the NoDriveTypeAutorun DWORD value.

How to disable AutoRun using 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 Componentswindows components group policy editor
  3. Now, you need to select Autoplay Policies > navigate to the Details paneautoplay policies windows 10
  4. Double-click Turn off Autoplay to disable the feature.

That would be all, 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.

RELATED GUIDES TO CHECK OUT:

Editor’s Note: This post was originally published in May 2015 and has been since updated for freshness, and accuracy.

Was this page helpful?
Thanks for letting us know!
Get the most from your tech with our daily tips
Tell us why!