Custom Search

Search My Download Corner

Friday, January 23, 2009

Disabling Auto-Run in Windows

Disable Autorun to Secure your Windows Computer from Worms See: Keep the latest Conficker worm infestation off your PC

Autorun is also known as AutoPlay. AutoRun, and its companion feature AutoPlay, are components of the Microsoft Windows operating system that dictate which actions the system takes when a drive is mounted. When a CD-ROM is inserted into a CD-ROM drive, AutoRun is the technology that starts an install program, or plays audio content. AutoPlay is the feature that can detect content on the CD-ROM, or indeed any removable media, and give the user options based on the media type of files found. AutoPlay is a feature introduced in Windows XP which examines removable media and devices and, based on content such as pictures, music or video files, launches an appropriate application to play or display the content.

The Nick Brown method nulls any request for autorun.inf and works on XP Home or Pro, as well as Windows Vista which truly disable autorun can be done via this simple autorun registry hack:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]

All you do is to copy these three lines into a file called NOAUTRUN.REG (or anything.REG) and double-click it.

Save the file as something.reg. (You have to be sure to change the "Save File as Type" to "All Files" before saving, or Windows will try to save it as a .txt even if you typed in .reg.

Download Reg file here
To check that the registry settings of this hack are in place, open Regedit, walk down to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping and you should see on the right under column Data

If you opt to disable autorun using any other method, you will first need to install an autorun patch from Microsoft that allegedly resolves issues that cause autorun to run even after it's been disabled (using methods other than the above recommended method).

Prerequisites to disable Autorun capabilities
To disable Autorun capabilities, you must install the following updates:

* Update for Windows XP (KB950582)

* Update for Windows Server 2003 for Itanium-based Systems (KB950582)

* Update for Windows Server 2003 x64 Edition (KB950582)

* Update for Windows Server 2003 (KB950582)

* Update for Windows XP x64 Edition (KB950582)

* Update for Windows 2000 (KB950582)

Note Windows Vista-based systems must have update 950582 (Security bulletin MS08-038 ( ) installed to take advantage of the registry key settings that disable Autorun.

Disabling Auto-Run in Windows XP.

Disabling Auto-Run in Windows XP & Vista. REGISTRY WAY Stop Autorun on removable/USB drives with or without CD ROM drives.

In Windows Click Start, then Click Run

Type regedit
Click OK

Click >

With Explorer highlighted, in the right-pane 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.

(f necessary create a dword called NoDriveTypeAutoRun)

Type 95 and click OK.
Note that this will stop Autorun on removable/USB drives, but still allow it on CD ROM drives. If you want to disable autorun on both, substitute b5 for the 95. Click OK There is no need to logoff; the NoDriveTypeAutoRun setting should take effect straightaway.

The value data may reset to 91 instead of b5 in Hexadecimal , the value which is used to test autorun on floppy disks.
Right click to modify it (make sure to keep the value in Hex). Then hit F3 and modify every instance of the NoDriveTypeAutorun. Exit regedit and reboot for this manoeuvre.
Or download this registry file NoDriveTypeAutorunCD&USB to right click the file and run as Administrator. When it asks you to merge the information to the registry click Yes.

Disabling Auto-Run in Windows XP. Group Policy way
Start Menu \ Run and type in: gpedit.msc
In Group Policy window, select Administrative Templates \ System in the tree view.
Select an item in the right side pane called "Turn off Autoplay"
Double click the item, and set the radio button to Enabled, and change the "Turn off Autoplay on" to All Drives.
Click OK
Now restart, that's it!

Tool designed to manage your Autoplay Handler collection

Autoplay Repair 2.2.2
Autoplay Repair has been written to remove corrupted entries from Windows XP's autoplay.

The background is that after an uninstallation of several applications like media players, some invalid entries still may remain in Windows XP's autoplay sections.

These are visible every time a CD or DVD is put into the drive and the autoplay selection dialog appears.

Now with Autoplay Repair it is possible to remove these invalid entries and even create new or modify existing so called autoplay handlers quickly and easily. But Autoplay Repair can also be used to remove unwanted entries or just to tidy up the Windows autoplay sections for a better overview. In addition to that Autoplay Repair has some other necessary features to offer.

Here are some key features of "Autoplay Repair":

· Create, modify or delete (corrupted) Autoplay Handler entries from the Windows Registry quickly
· Have control of the main autorun sections in the Registry: add, edit or delete single entries
· Disable or enable Autoplay for each installed drive on your computer
· Create backups of Autoplay and Autorun sections to restore deleted or edited Registry entries if needed


· Microsoft .NET Framework 1.1 or above
Developer: Darius Baczynski
Freeware / FREE
214 KB / Windows XP


Disable AutoPlay in Windows Vista

Disable Through Control Panel
Open your Control Panel, and then click on "Play CDs or other media automatically" to open the AutoPlay dialog.
Disable AutoPlay Globally
The quickest way to disable AutoPlay entirely is to just uncheck the box for "Use AutoPlay for all media and devices", which should usually work.

Disable Through Group Policy
Use the Group Policy editor on the Business and Ultimate versions of Vista.
Open up gpedit.msc through the start menu search box, browse to Windows Components \ AutoPlay Policies, and change the value of "Turn off Autoplay" to enabled. You can choose whether to disable for just removable devices, or entirely.

Disable with Registry Hack

The Group Policy editor is not available on Windows Vista Home editions,included here is the registry tweak to disable AutoPlay entirely.

Download and unzip this registry hack and then double-click on the appropriate file.

* DisableAutoPlay.reg will disable autoplay entirely.
* DisableAutoPlayRemovable.reg will disable autoplay on removable devices.

Disabling Auto-Run in Windows Vista. REGISTRY WAY

# Open the Registry Editor (regedit.exe) and browse to the following key:

# In the right pane, right-click Autorun and select Modify.
# Enter 0 for the Value data. Click OK, then exit the Registry Editor

Click Start, type autoplay and press enter. If prompted by User Access Control (UAC), click Continue.
# Remove the check from 'Use AutoPlay for all media and devices'
You may also wish to change each individual item to 'Take no action'
# Click Save and the Autoplay window will close.

Disable Autoplay easy with TuneUp Utilities

Start/Program/Tune Utilities
TuneUp System Control
Right Hand Side-AutiPlay:
Untick-Monitor CD drives for Media Change
Click Advanced
Untick ALL

Disable Autoplay easy with Tweak UI from Microsoft PowerToys for Windows XP.

View blog reactions


Post a Comment