Thursday, May 7, 2009

NoDriveTypeAutoRun and AutoPlay

One interesting feature of NoDriveTypeAutoRun is that you can set the value in either HKLM** or HKCU.
If you go overboard and configure both, then the Local_Machine over-rides the Current_User.
1. Type 'regedit' in the Start Search dialog box. (See more details on starting regedit)
2. Navigate to this path:
3. If necessary create a dword called NoDriveTypeAutoRun
4. Set NoDriveTypeAutoRun = 000000FF A value of 000000FF (decimal 255) disables AutoRun on all drives.
5. Refer to the above table, and use a Hexadecimal calculator to compute the most suitable value for your machine.
6. There is no need to logoff; the NoDriveTypeAutoRun setting should take effect straightaway.