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

MyAntiSpyware

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

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

Myantispyware team June 2, 2008    

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

 Previous Post

Zinaps – fresh fake antispyware (Removal instructions)

Next Post 

MalwareProtector2008 – fresh rogue antispyware.

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

STDEI GLP 1 Review, Stdei GLP-1 Weight Loss Oral Solution Scam
scam alert
GOTEEX.com Review: Promo Code Scams Exposed
Olygee Cooling Ace Review, Don’t Be Fooled by False Promises and Misleading Ads
Suzuki Moorai Robot Dog Vehicle Real or a Scam, What You Need to Know
Liketonline Cooling Ace Review, Scam or Legit? What You Need to Know

Follow Us

Search

Useful Guides

Tech Support Scam
Remove Tech Support Scam pop-up virus [Microsoft & Apple Scam]
ads by adware
How to remove Adware from Windows 10 (Virus removal guide)
Smart Captcha Virus redirect
What is a Virus that Redirects Web Pages? A Comprehensive Guide
remove chrome extension
How to remove Chrome extensions installed by enterprise policy
How to reset Internet Explorer settings to default

Recent Guides

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

Myantispyware has been a trusted source for computer security and technology advice since 2004. Our mission is to provide reliable tech guidance and expert, practical solutions to help you stay safe online and protect your digital life.

Social Links

Pages

About Us
Contact Us
Privacy Policy

Copyright © 2004 - 2024 MASW - Myantispyware.com.