Site icon Thetechhacker

How to Disable the AutoRun Feature in Windows 10

how-to-disable-the-autorun-feature-in-windows-10

Autorun is a useful function that directs the OS to do something on insertion of CD or USB devices to the computer. The instructions saved on the autorun.inf file on the device instructs the OS to perform specific actions while the device mounting. It can prompt to run specific programs, play videos, pictures or music and do some useful things without user interaction with the device. However, it may cause some problem too. If the drive was a virus infected one, sometimes even the antivirus can’t stop it if the autorun is enabled. Or the autorun may be irritating if it shows a window each time while you connecting USB to the computer.

If you want to disable the autorun feature in windows 10, this guide will help you to do so. Follow the simple steps given in this article to stop the autorun in selected devices or completely.

Caution: As we are going to edit the registry values of your computer, be careful to follow the correct steps. Any misconfiguration can lead to serious problems to your OS. So, follow the steps carefully to get the right results.

Steps to Disable the AutoRun Feature using Registry Setting

  1. Open Run command by pressing Win+R keys together.
  2. Type regedit in the Run command window box, and click OK.
  3. Locate and then click the following entry in the registry:
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoDriveTypeAutorun
  4. Now, Right-click on NoDriveTypeAutoRun on the right pane, and then click Modify option.
  5. In the Value data field, type 0xFF to disable all types of drives.
    Note: You could use other values according to your needs as shown in the below table.
  6. Then Click OK, and exit Registry Editor.
  7. Restart your computer.
Value Function
0x1 or 0x80 To Disables AutoRun on drives of unknown type
0x4 To Disables AutoRun on removable drives
0x8 To Disables AutoRun on fixed drives
0x10 To Disables AutoRun on network drives
0x20 To Disables AutoRun on CD-ROM drives
0x40 To Disables AutoRun on RAM disks
0xFF To Disables AutoRun on all kinds of drives

If you have done the above steps correctly, you have disabled the autorun feature of the windows 10. Now, those popup windows will not disturb you each time you put your USB to your computer. Enjoy the disturbance-free windows without the autorun windows. If you wish to enable the autorun at any moment, you could do it by entering the default values to the registry. Microsoft has a tool namely Microsoft Fix it which can also be used for autorun tweaking.

Exit mobile version