Carnegie Mellon University

Disable Autorun

Autorun is a feature that allows Windows to automatically run the startup program when a CD, DVD, or USB device is inserted into a drive. Autorun also automatically shows the contents of the USB device such as an iPod or thumb drive when it is inserted into the computer. To disable the Autorun feature on your machine, please take the following steps: (the steps were recommended by CERT Vulnerability Note 889747).

To effectively disable Autorun in Microsoft Windows, import the following registry value:

REGEDIT4

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

@="@SYS:DoesNotExist"

To import this value, perform the following steps:

  • Copy the text
  • Paste the text into Windows Notepad
  • Save the file as autorun.reg
  • Navigate the file location
  • Double-click the file to import it into the Windows reistry.

Please note that all computers managed by DSP (Desktop Support Program) have the Autorun feature disabled, to prevent automatic program execution by Windows when CD/DVD or USB device is inserted into the computer. When inserting a CD/DVD or any USB device, Windows will no longer open these devices automatically. To see the content of any inserted media, please open “My Computer” from your desktop or start menu and double click on the desired drive to view its contents.