One of the frequently asked questions when using system is that how can I disable Autorun in Windows? The most types of viruses and malware use Windows’ autorun feature to spread from one PC to another via removable media. Whenever a USB drive is inserted or other computers connect to the network, AutoRun feature starts automatically. Autorun.inf is a file that is used by Windows when try to run a program from removable media. This loophole is used by viruses and they spread quickly from one to other.
[leaderad]
You can disable AutoRun in Windows to stop the feature to autorun programs and reduce the spread of viruses and infections to your system. Here are the ways to do it:
Method 1
1) Go to Run (Win + R) and type “gpedit.msc” Hit Enter
2) The Local Group Policy Editor will open up. Now, Go to Computer Configuration> Administrative Templates> Windows Components> AutoPlay policies.
3) Double-click the Turn off Autoplay option to edit the settings, select Enabled, and then select All Drives in the options panel below.
4) Click Apply to save the changes. Restart your computer to see the effect.
Method 2:
1) Click Start, type Gpedit.msc in the Search box, and press Enter. Or go to Run and type gpedit.msc and hit Enter.
2) Under Computer Configuration, expand Administrative Templates, then Windows Components, and then click Autoplay Policies.
3) Double-click Default Behavior for AutoRun.
4) Now, click Enabled and select Do not execute any autorun commands to disable Autorun on all drives. Restart the computer.
Method 3:
1) Click Start, go to Run and then type regedit in the box, and hit Enter.
2) Locate and then click this entry in the registry:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoDriveTypeAutorun
3) Now, locate the setting labeled NoDriveTypeAutoRun and right-click on it.
4) Click Modify. In the Value data box, type 0xFF and this will disable autorun for all types of drive.
5) Click OK to save the changes.
6) Restart your computer.
So, these were the ways which you can use to disable autorun in Windows. Let us know your views in the comments!