Windows – Disable autorun completely in Windows 7 Home Premium

windows 7

How can I completely disable AutoRun for Windows 7 Home Premium? For instance, when I open my DVD drive in My Computer, I want to see the contents of the DVD instead of running autorun.inf.

I have disabled AutoPlay in the Control Panel, and selected "Take no action" for each media type.

Note that Microsoft has crippled gpedit.msc on Windows 7 Home versions, so that is not an option. Bonus points if your solution works for all users.

Best Answer

Wikipedia has a comprehensive article on Autorun, including instructions on how to disable it for individual drives or types of drives.

http://en.wikipedia.org/wiki/AutoRun#NoDriveTypeAutoRun

Short instructions:

  • open regedit.exe
  • navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer (or HKCU\... if you want this to apply to the current user only)
  • edit the entry NoDriveTypeAutoRun (or add it if it doesn't exist, type DWORD)
  • a value of B5 (hexadecimal) should disable Autorun for removable and optical drives; a value of FF should disable it for all types of drives
  • Reboot the PC