MSFN Forum: What are all the different settings for NoDriveTypeAutoRun? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

What are all the different settings for NoDriveTypeAutoRun? I keep seeing different ones Rate Topic: -----

#1 User is offline   Marztabator 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 469
  • Joined: 31-July 03

Posted 02 June 2006 - 08:54 AM

It's all rather confusing, I've seen 00000091 and 000000b5 (or B5,00,00,00) so far. Anyone got a definitive list of the settings for this option?

I also notice nLite's INF changes it to 000000ff.


#2 User is offline   jrf2027 

  • Member
  • PipPip
  • Group: Members
  • Posts: 238
  • Joined: 06-September 04

Posted 02 June 2006 - 09:42 AM

Here's what I use to totally disable AutoRun:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000b5


As for other settings - don't know if this particular registry key changes, but try changing drive autorun settings with TweakUI and see what registry settings change.

#3 User is offline   Delprat 

  • Poll: Why are you reading this ?
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 18-May 05

Posted 02 June 2006 - 11:09 AM

According to Microsoft, there is two values under HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer to control Autorun settings : NoDriveAutoRun (to disable/enable autorun on specified drive letters) and NoDriveTypeAutoRun (to disable/enable autorun on specified class of drives).

NoDriveAutorun is stored as a REG_DWORD in which each bit set disable autorun for the correspondig drive. Use the calculator in scientific mode to convert from binary to hex. Example to diable autorun on drives A, B, C, D, I, R and W :
------ZY XWVUTSRQ PONMLKJI HGFEDCBA
00000000 01000010 00000001 00001111

=> set the value to 0x0042010F
(to disable all drives : 0x03FFFFFF ; to enable all drives : 0x00000000 or delete the value)

NoDriveTypeAutorun is stored a a REG_DWORD or 4-byte REG_BINARY, and it's very unclear how to use it...
Microsoft says :
Bit Number   Bitmask Constant   Description
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.

But nearly every other source i found says that "bit numbers" are wrong (see for example this one, well explained)
TweakUI only controls DRIVE_REMOVEABLE and DRIVE_CDROM here...
Common values found here & there :
0x91 => enabled for CD & removeable (default for XP)
0x95 => enabled for CD (default for every other windows)
0xB5 => disabled for CD (used by most tweaking apps to disable autorun)

i hope all this geek stuff will enlighten you ;)

#4 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 02 June 2006 - 03:53 PM

Just remove the comments from either Line3 or Line4 and any one of the "NoDriveTypeAutoRun" lines
 
REGEDIT4

;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]

;Disables Autoplay on unknown drives only
;"NoDriveTypeAutoRun"=dword:0x00000081 

;Disables Autoplay on removable drives omly
;"NoDriveTypeAutoRun"=dword:0x00000004 

;Disables Autoplay on fixed drives only
;"NoDriveTypeAutoRun"=dword:0x00000008 

;Disables Autoplay on network drives only
;"NoDriveTypeAutoRun"=dword:0x00000010 

;Disables Autoplay on CD-ROM drives only
;"NoDriveTypeAutoRun"=dword:0x00000020 

;Disables Autoplay on RAM disks only
;"NoDriveTypeAutoRun"=dword:0x00000040 

;Disables Autoplay on all drives (Recommended)
;"NoDriveTypeAutoRun"=dword:0x000000FF 

;Disables Autoplay on removable drives and fixed drives
;"NoDriveTypeAutoRun"=dword:0x0000000C 

;Disables Autoplay on removable drives and network drives
;"NoDriveTypeAutoRun"=dword:0x00000014 

;Disables Autoplay on removable drives and CD-ROM drives
;"NoDriveTypeAutoRun"=dword:0x00000024 

;Disables Autoplay on removable drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000044 

;Disables Autoplay on removable drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x00000085 

;Disables Autoplay on fixed drives and network drives
;"NoDriveTypeAutoRun"=dword:0x00000018 

;Disables Autoplay on fixed drives and CD-ROM drives
;"NoDriveTypeAutoRun"=dword:0x00000028 

;Disables Autoplay on fixed drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000048 

;Disables Autoplay on fixed drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x00000089 

;Disables Autoplay on network drives and CD-ROM drives
;"NoDriveTypeAutoRun"=dword:0x00000030 

;Disables Autoplay on network drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000050 

;Disables Autoplay on network drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x00000091 

;Disables Autoplay on CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000060 

;Disables Autoplay on CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000A1 

;Disables Autoplay on RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000C1 

;Disables Autoplay on removable drives, fixed drives and network drives
;"NoDriveTypeAutoRun"=dword:0x0000001C 

;Disables Autoplay on removable drives, fixed drives and CD-ROM drives
;"NoDriveTypeAutoRun"=dword:0x0000002C 

;Disables Autoplay on removable drives, fixed drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x0000004C 

;Disables Autoplay on removable drives, fixed drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x0000008D 

;Disables Autoplay on removable drives, network drives and CD-ROM drives
;"NoDriveTypeAutoRun"=dword:0x00000034 

;Disables Autoplay on removable drives, network drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000054 

;Disables Autoplay on removable drives, network drives and unknown drives (Default)
;"NoDriveTypeAutoRun"=dword:0x00000095 

;Disables Autoplay on removable drives, CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000064 

;Disables Autoplay on removable drives, CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000A4 

;Disables Autoplay on removable drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000C5 

;Disables Autoplay on fixed drives, network drives and CD-ROM drives
;"NoDriveTypeAutoRun"=dword:0x00000038 

;Disables Autoplay on fixed drives, network drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000058 

;Disables Autoplay on fixed drives, network drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x00000099 

;Disables Autoplay on fixed drives and CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000068 

;Disables Autoplay on fixed drives, CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000A9 

;Disables Autoplay on fixed drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000C9 

;Disables Autoplay on network drives, CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000070 

;Disables Autoplay on network drives, CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000B1 

;Disables Autoplay on network drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000D1 

;Disables Autoplay on CD-ROM drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000E1 

;Disables Autoplay on removable drives, fixed drives, network drives and CD-ROM drives
;"NoDriveTypeAutoRun"=dword:0x0000003C 

;Disables Autoplay on removable drives, fixed drives, network drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x0000005C 

;Disables Autoplay on removable drives, fixed drives, network drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x0000009D 

;Disables Autoplay on removable drives, fixed drives, CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x0000006C 

;Disables Autoplay on removable drives, fixed drives, CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000AD 

;Disables Autoplay on removable drives, fixed drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000CD 

;Disables Autoplay on removable drives, network drives, CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000074 

;Disables Autoplay on removable drives, network drives, CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000B5 

;Disables Autoplay on removable drives, network drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000D5 

;Disables Autoplay on removable drives, CD-ROM drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000E5 

;Disables Autoplay on fixed drives, network drives, CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x00000078 

;Disables Autoplay on fixed drives, network drives, CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000B9 

;Disables Autoplay on fixed drives, network drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000D9 

;Disables Autoplay on fixed drives, CD-ROM drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000E9 

;Disables Autoplay on network drives, CD-ROM drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000F1 

;Disables Autoplay on removable drives, fixed drives, network drives, CD-ROM drives and RAM disks
;"NoDriveTypeAutoRun"=dword:0x0000007C 

;Disables Autoplay on removable drives, fixed drives, network drives, CD-ROM drives and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000BD 

;Disables Autoplay on removable drives, fixed drives, network drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000DD 

;Disables Autoplay on removable drives, fixed drives, CD-ROM drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000ED 

;Disables Autoplay on removable drives, network drives, CD-ROM drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000F5 

;Disables Autoplay on fixed drives, network drives, CD-ROM drives, RAM disks and unknown drives
;"NoDriveTypeAutoRun"=dword:0x000000F9 

 
Hope this helps!

#5 User is offline   Ophiel X 

  • i wear my sunglasses at night
  • PipPip
  • Group: Banned
  • Posts: 125
  • Joined: 18-May 06

Posted 03 June 2006 - 12:00 AM

nice list owl dude ;)

#6 User is offline   Delprat 

  • Poll: Why are you reading this ?
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 18-May 05

Posted 03 June 2006 - 07:04 AM

thanks Yzöwl ! seems like sometimes MS gives the name "bit number" to "constants"... (it makes a confusion with NoDriveAutorun...)

But there's a (very) little mistake : as i said, 0x91 is the default for XP (allowing autoplay for ZIP or USB)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy