[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3541
  • Last Modified:

Correct Value for "NoDriveTypeAutoRun"

What's the correct value for "NoDriveTypeAutoRun" in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer? I've seen people who say it's 95 and some people say it's 91. Thanks
0
orangutang
Asked:
orangutang
1 Solution
 
archang3lCommented:
Hello orangutang,

NoDriveTypeAutoRun is a combination of bitflags, each of which signifies a different drivetype to be enabled or disabled:

0x04       DRIVE_REMOVEABLE       Disk can be removed from drive (such as a floppy disk).
0x08       DRIVE_FIXED       Disk cannot be removed from drive (a hard disk).
0x10      DRIVE_REMOTE       Network drive.
0x20      DRIVE_CDROM       CD-ROM drive.
0x40      DRIVE_RAMDISK       RAM disk.

95 = 0x5F which is DRIVE_RAMDISK, DRIVE_REMOTE, DRIVE_FIXED & DRIVE_REMOVABLE
91 = 0x5B which is DRIVE_RAMDISK, DRIVE_REMOTE, DRIVE_FIXED

More information can be found here: http://msdn2.microsoft.com/en-us/library/Aa969329.aspx

Regards,

archang3l
0
 
orangutangAuthor Commented:
Oh, okay! I thought it was something like that ;)
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now