• Downloads
  • Threats
    • Adware
    • Browser Hijacking
    • Phishing
    • Ransomware
  • Questions and Answers
  • Recover Encrypted Files
  • Free Malware Removal Tools

My AntiSpyware

Your Go-To Destination for Scam Awareness, Malware Removal, Antispyware Downloads, and Expert Guidance

Menu
  • Downloads
  • Threats
    • Adware
    • Browser Hijacking
    • Phishing
    • Ransomware
  • Questions and Answers
  • Recover Encrypted Files
  • Free Malware Removal Tools
Home › Tips › How to disable/enable the autorun feature to prevent malware from spreading

How to disable/enable the autorun feature to prevent malware from spreading

Myantispyware team June 2, 2008     5 Comments    

Autorun or “Autoplay” are extended automatic functions. Windows looks in the disk’s root directory, finds, reads, and follows specific instructions defined in a text based configuration file, Autorun.inf. Spyware and trojans uses autorun feature to spread from removable drives to PC. I would recommend that you disable the autorun feature to prevent malware from spreading.

Use the following instructions to disable/enable the autorun feature.

1. Manually.

  • Click Start -> Run.
  • In the type box enter regedit and press Enter.
  • In the left panel, navigate to:

    HKEY_CURRENT_USER
    Software
    Microsoft
    Windows
    CurrentVersion
    Policies
    Explorer.

  • In the right-panel right click the value NoDriveTypeAutoRun and select Modify from the drop down menu. The base value will be set to Hexadecimal. If not, select Hexadecimal.
  • To set default value (enable autorun).

    Type 91 and click OK.

  • To stop Autorun on removable/USB drives, but still allow it on CD ROM drives.

    Type 95 and click OK.

  • To disable autorun on all drives include harddrive.

    Type FF and click OK.

  • Close regedit.
  • Reboot your computer.

2. Automatically.

  • Click Start -> Run.
  • Type notepad and press Enter.
  • To set default value (enable autorun). Copy all the text below into Notepad.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
    "NoDriveTypeAutoRun"=dword:00000091

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoDriveTypeAutoRun"=dword:00000091

  • To stop Autorun on removable/USB drives, but still allow it on CD ROM drives. Copy all the text below into Notepad.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
    "NoDriveTypeAutoRun"=dword:00000095

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoDriveTypeAutoRun"=dword:00000095

  • To disable autorun on all drives include harddrive. Copy all the text below into Notepad.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
    "NoDriveTypeAutoRun"=dword:000000ff

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoDriveTypeAutoRun"=dword:000000ff

  • Save this as autorun.reg to your Desktop (remember to select Save as file type: All files in Notepad.)
  • Double Click autorun.reg , click YES for confirm.
  • Reboot your computer.

Note: Combofix can to disable the autorun feature of all CDs, floppies and USB devices

Tips

Author: Myantispyware team

Myantispyware is an information security website created in 2004. Our content is written in collaboration with Cyber Security specialists, IT experts, under the direction of Patrik Holder and Valeri Tchmych, founders of Myantispyware.com.

5 Comments

  1. manoj
    ― March 22, 2009 - 10:01 pm  Reply

    found it very useful

  2. jose Luis
    ― April 28, 2009 - 11:04 pm  Reply

    Ok, I was trying and this is my conclusion:

    With 91×00 (Hex) the Autorun.inf (In the USB) isn’t executed.

    With 95×00 (Hex) the Autorun.inf (In the USB) was executed.

    With FFx00 (Hex) the Autorun.inf (In the USB) was executed.

    I don’t know but I tried 6 times on a diferent USB ports, now I realize…that was the reason why I never get infected, because some fella (Me? I dont remember when) change it to 91×00.

  3. Patrik
    ― April 30, 2009 - 1:30 am  Reply

    Just checked:
    91 (hex) autorun worked for USB
    95 (hex) autorun disabled for USB

  4. Aniruddha
    ― August 18, 2009 - 9:24 am  Reply

    I tried to enable autorun on Vista and Win2k8 using these registry values but it didn’t work. Any suggestions on how can I enable auto run in vista and win2k8 ,

  5. Jim Swick
    ― February 6, 2018 - 1:35 pm  Reply

    Do NOT use auto run in Vista and win2k8

Leave a Reply Cancel reply




New Guides

Farpolite.com scam store
Farpolite.com Review: Unraveling the Four Wheel Scooter Clearance Sale Scam
Warehushop.com TEMU 90 OFF sale scam store
Warehushop.com Review: Is the TEMU 90% OFF Clearance Sale Legit?
Blauue.com scam store
Blauue.com Review: The Truth Behind the Shapewear and Snow Blanket Ads
Checkmerobotornot.com Human Verification Scam
Checkmerobotornot.com Virus Removal Guide
Sunnyandthorough.com 2023 Super Value Mystery Box Scam
Sunnyandthorough.com Review: What’s Really Inside the 2023 Amazon Super Value Mystery Box?

Follow Us

Search

Useful Guides

Managed by your organization chrome virus
Chrome Managed by your organization malware removal guide
This setting is enforced by your administrator (Removal guide)
Best free malware removal tools
Best Free Malware Removal Tools 2023
How to reset Mozilla Firefox (Updated Apr. 2018)
Files encrypted by ransomware become useless
How To Recover Encrypted Files (Ransomware file recovery)

Recent Posts

Zinaps – fresh fake antispyware (Removal instructions)
How to remove trojans that uses autorun.inf file
How to remove AdvancedXPFixer and DisableSpyware rogue antispyware programs
How to remove XPSecurityCenter rogue antispyware
AntiSpywareMaster and RegistryGreat | How to remove

MYANTISPYWARE.COM

  • About Us
  • Contact Us
  • Privacy Policy

NEED A HELP ?

If you're seeing unwanted pop-ups or ads in your web-browser, you might have an adware installed on your computer. Use the following guide to stop pop-up ads and remove malicious software. Or ask for help here.

Links

  • Downloads
  • Instructions
  • Questions and Answers
  • Free Malware Removal Tools
Copyright © 2004 - 2023 MASW - Myantispyware.com.