Making new registry key?

  • Thread starter Thread starter Terry Pinnell
  • Start date Start date
T

Terry Pinnell

I'm not clear about interpreting the following instructions I found
for making a new key:
"Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer
Create a new key called: NoDriveTypeAutoRun
Type is: DWORD
Value is: 0x000000b5 (181)"

I've enter a new *key* named 'NoDriveTypeAutoRun'.
But what do I enter under 'Name' in the right hand side?
So far, I've added this second line to the existing one (both shown):

Name Type Data
----------- ---------- ---------------
(Default) REG_SZ (value not set)
DWORD REG_DWORD 0x000000b5 (181)

But that has Type = 'REG_DWORD', not 'DWORD', and anyway there seems
no option under Modify to *change* the Type.

FWIW, the instructions were here:
http://www.padus.com/support/manuals/450/html/02_Getting_Started/06_Operating_System_Setup_Tips.htm
and my aim is simply to turn off AutoPlay, so that my DVDs and CDs do
nothing automatically when I laod them.
 
You may be able to accomplish your goal a little easier. If you right-click
on the drive and go to properties, under the "AutoPlay" tab you can specify
the default action for music cds and DVDs to be "take no action" which will
effectively turn off auto play for those media types.

gVeloper
(gveloper.com)
 
Dave Smith said:
You may be able to accomplish your goal a little easier. If you right-click
on the drive and go to properties, under the "AutoPlay" tab you can specify
the default action for music cds and DVDs to be "take no action" which will
effectively turn off auto play for those media types.

Thanks. I did know of that method, but
a) Thought it seemed a bit long-winded
b) Recalled seeing posts about it not being 100% reliable
c) Was curious about how to do it 'at a stroke'.

But after some googling it seems that there are a whole bunch of
registry keys that may need changing! This was one useful source:
http://support.microsoft.com/kb/q155217/

I also had a reply elsewhere that "In this case you shouldn't have
made a new key named 'NoDriveTypeAutoRun', but a new 'DWORD value"
That looks better! Presumably the instructions were *also* wrong
about saying Type should be 'DWORD', as my new line now appears as
NoDriveTypeAutoRun REG_DWORD 0x000000b5 (181)

BTW, I also just ran TweakUI, which allows you to uncheck AutoPlay for
any drive (A - Z). I removed it for T and V (my two CD/DVD drives).
But presumably it doesn't apply these changes until a reboot, because
I found that this key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CDRom
did not change from 0 to 1 directly afterwards. (I've done so manually
while I was there; maybe TweakUI will toggle it OFF to 0 again <g>)

More to this than immediately meets the eye!
 
Back
Top