Disable AutoRun / AutoPlay / Auto Insert Notification

All of the information, instructions, and recommendations on this Web site are offered on a strictly "as is" basis. Remember "Murphy's Law." Please take the proper precautions before attempting any of the tips or modifications listed here.

Contents


Why should AutoRun / AutoPlay / Auto Insert Notification be Disabled
Disable AutoRun / AutoPlay in Windows XP
Disable AutoRun / AutoPlay in Windows Vista
Disable AutoRun / AutoPlay in Windows 7
References
Principle of Least Privilege: Why You Should Not Run as an Administrator or Root User
Windows XP Tips
Windows Vista Tips
Computer Tips

 


[ Top ] [ Home ]

 

Why should AutoRun /AutoPlay / Auto Insert Notification be Disabled

AutoRun and the companion feature, AutoPlay are components of the Microsoft Windows operating system that dictate what actions the system takes when you insert a CD-ROM/DVD or plug in a USB Flash Drive or external hard drive.

During AutoPlay, the Autorun.inf file from the newly inserted media is parsed. This file specifies which commands the system runs. Many companies use this functionality to start their installers.

The Conficker (a.k.a. Downadup) worm and other malware use the AutoRun/AutoPlay feature to spread to other computers.

References

 


[ Top ] [ Home ]

 

Disable AutoRun / AutoPlay in Windows XP

To disable AutoPlay, otherwise known as Auto Insert Notification, on Windows XP Professional...
  1. Open a Command Prompt
    1. Click the Start button followed by selecting "Run".
    2. Type cmd then click OK or press the enter key.
  2. Type "gpedit.msc" and press the enter key
  3. Click and expand "Computer Configuration", followed by "Administrative Templates", followed by "System".
  4. Double click "Turn autoplay off"
  5. Select "Enable"
  6. Change "Turn off Autoplay on:" to All drives
  7. Clicking "OK" to save.

Windows XP Home

Since Group Policy Editor (gpedit.msc) is not available in XP Home, you'll have to change an entry in the registry to disable autoplay.

  1. Click the Start button the click Run
  2. type in cmd then press the enter key
  3. In the Command windows that opens, type regedit
  4. Go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer
  5. Change the decimal value of NoDriveTypeAutoRun to 181
  6. Close regedit
  7. Restart the computer

 


[ Top ] [ Home ]

 

Disable AutoRun / AutoPlay in Windows Vista

To disable AutoPlay, otherwise known as Auto Insert Notification, on Windows Vista...

Method 1

  1. Go to Control Panel > Hardware and Sound > Play CDs or other media automatically
  2. At the top, uncheck "Use Autoplay for all media and devices"
  3. Click the Save button

Method 2

  1. Open a Command Prompt
    1. Click the Start button followed by selecting "Run".
    2. Type cmd then click OK or press the enter key.
  2. Type "gpedit.msc" and press the enter key
  3. Click and expand "Computer Configuration", followed by "Administrative Templates", followed by "System".
  4. Double click "Turn autoplay off"
  5. Select "Enable"
  6. Change "Turn off Autoplay on:" to All drives
  7. Clicking "OK" to save.

 

 


[ Top ] [ Home ]

 

Disable AutoRun / AutoPlay in Windows 7

To disable AutoRun / AutoPlay / Auto Insert Notification in Windows 7...

  1. Go to Control Panel > Hardware and Sound > AutoPlay
  2. At the top, uncheck "Use Autoplay for all devices"
  3. Click Save

 

 


[ Top ] [ Home ]

 

References

Security Now!, Episode #193

Virus alert about the Win32/Conficker worm

How to disable the Autorun functionality in Windows

Update to the AutoPlay functionality in Windows

Protecting your Flash and Removable Disks

How to Maximize the Malware Protection of Your Removable Drives

Commands

How Flash Drives and Social Engineering can Compromise Networks

 


[ Top ] [ Home ]

 

All items Copyright ©1996 - 2017 Chin. All Rights reserved Reproduction without explicit permission is prohibited. See: Terms of use