Where's the auto-insert on/off option for cdrom's

R

Rick Chauvin

DeviceManager> CDROM> ..where is the auto-insert notification box on the
drives there?

Does W2000 offer that option?

I see it there in TweakUI but that does it globally, but I'd like to be able
to control it on each individual drive like other OS's let you do.

thanks,

Rick
 
G

Greg Stigers

Are you comfortable backing up and editing the registry? I believe that
Tweakui sets the Autorun value. See "How to Enable or Disable Automatically
Running CD-ROMs" at
<http://support.microsoft.com/default.aspx?scid=kb;en-us;155217&Product=win2
000> for more information on that. I'm pretty sure this is an all or
nothing setting.

For individual drives, you want NoDriveAutoRun in HKCU. See the article on
this at
<http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=
/windows2000/techinfo/reskit/en-us/regentry/58886.asp>. Let us know if that
helps.
 
R

Rick Chauvin

Hi Greg,
Thans for your reply.

Yes as mentioned I have TweakUI installed but that does All or Nothing.

I want to be able to just stop my CDRW (drive W:) from auto starting on any CD
when inserted - but leave the DVD (drive R:) as autostart just as it is.

That link you gave me was great
http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/win
dows2000/techinfo/reskit/en-us/regentry/58886.asp
...but it didn't really detail some things of which i hope you can help.

What entry do I add to be able to turn Off the autostart of just Drive W ?

I don't understand the a bitmapped value aspect..

If as per article the the value of this entry consists of 32 bits and so for
Drive W then I 'think' that in decimal that would be: 4194304 ...so what
would should my entry for Drive W look like... maybe this below?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoDriveAutoRun"=dword:00400000

?????????????

Also, if a bit is set to 0 to enable autoplay on that drive and set to 1 to
disable - then in the instance above I don't see how to now change the bit
from 1 to 0 or viceversa.

...gots any help for me please?

Thanks,
Rick
 
G

Greg Stigers

As I read the article, you would set individual bits, one per drive. The
first (right-most) bit is for drive A, the second for B, and the
twenty-second bit for drive W. Note that while this value can be 32 bits,
the highest six are all zero. The Windows calculator is priceless for this,
if you want to look but not touch. Run it, then, from the View menu, choose
Scientific. This allows conversion between Hex, Decimal, Octal, and Binary,
using F5 thru F8. However, Regedt32 actually lets you view this in binary,
unlike RegEdit, which is cool, so long as you don't mistype. But apparently
it can use fewer bits than 32 or 26. This system currently only uses 8 bits.
Since you have a drive W, yours should list more bit, at least 24, I would
guess.

To turn off auto insert on just drive W, you want a bit mask of
11101111111111111111111111, which is 0x3BFFFFF, or decimal 62914559. See,
the bits are like any other numbers (barring any discussion of big endian
and little endian arguments, which were more interesting in Gulliver's
Travels than they are for this discussion), with the lowest "place" at the
right. So, the first bit represents Z, the second Y, and fourth from the
right, the twenty-second from the left, W.

If you want to play with this safely, and aren't comfortable with RegEdt32,
just paste that value into the Windows calculator in binary mode (F8), the
convert to hex (F5), and there you are. In fact, I lifted the bit map by
taking the hex value 3FFFFFF from the article, pasting it into the
calculator, and converting to binary, which is just twenty-six bits, all
ones. I then copied it into notepad, and change the bit for W, pasted back
into calculator, and converted to hex.
 
R

Rick Chauvin

Greg said:
As I read the article, you would set individual bits, one per drive. The
first (right-most) bit is for drive A, the second for B, and the
twenty-second bit for drive W. Note that while this value can be 32 bits,
the highest six are all zero. The Windows calculator is priceless for
this, if you want to look but not touch. Run it, then, from the View
menu, choose Scientific. This allows conversion between Hex, Decimal,
Octal, and Binary, using F5 thru F8. However, Regedt32 actually lets you
view this in binary, unlike RegEdit, which is cool, so long as you don't
mistype. But apparently it can use fewer bits than 32 or 26. This system
currently only uses 8 bits. Since you have a drive W, yours should list
more bit, at least 24, I would guess.

Hi Greg,

Thank you for the reply,
I'm usually very good at these things. I read quite a few articles about this in
the last few days, but each of them are just not clear in my mind thinking.
To turn off auto insert on just drive W, you want a bit mask of
11101111111111111111111111, which is 0x3BFFFFF, or decimal 62914559. See,
the bits are like any other numbers (barring any discussion of big endian
and little endian arguments, which were more interesting in Gulliver's
Travels than they are for this discussion), with the lowest "place" at
the right. So, the first bit represents Z, the second Y, and fourth from
the right, the twenty-second from the left, W.
If you want to play with this safely, and aren't comfortable with
RegEdt32, just paste that value into the Windows calculator in binary

I am very comfortable in using regedit anytime, no problem
mode (F8), the convert to hex (F5), and there you are. In fact, I lifted
the bit map by taking the hex value 3FFFFFF from the article, pasting it
into the calculator, and converting to binary, which is just twenty-six
bits, all ones. I then copied it into notepad, and change the bit for W,
pasted back into calculator, and converted to hex.

Thanks Greg, but I think my brain is dyslexic somehow with this.
However right after I wrote my previous message to you I did enter into the
registry the entry that I had told you about there and it does work:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoDriveAutoRun"=dword:00400000
The drive is not hidden, everything works fine but as wanted it does not
autostart.

I got the decimal value "W = 4194304" from the this link below, and even though
from that page it's unclear to me that it's specifically for autostart I wanted
to try it anyway since it was the first place I've seen that offered me a
conversion of decimal for my drive I named W, and so when I entered the value it
didn't hide the drive or do anything else that I can see except prevent
autostart... which is good I guess? ..but makes me wonder...
http://www.jsiinc.com/SUBA/tip0000/rh0050.htm
..of course when I entered in that decimal value it changed to dword:00400000

Now I'm wondering how this is different from what you have given me and wondering
what each of our entries do differently? Because I entered in as decimal your
62914559, and even rebooted, but yes it does still autostart; however when I
changed it back to decimal 4194304 then once again it does not autostart.

What's your thoughts about it all..?

thanks
Rick
 
R

Rick Chauvin

Was there anything else Greg you wanted to add in reply to my last email above
and its questions?

thanks,

Rick
 
G

Greg Stigers

Maybe I'm the one who is dyslexic! Because I wrote it exactly backwards. Per
the link I posted, "If a bit is set to 0, the Autoplay feature is enabled on
that drive. If a bit is set to 1, the Autoplay feature is disabled on that
drive.". So, the string I gave you is exactly wrong, having ones where it
should have zeroes and vice versa. If you convert the decimal value 4194304
to binary, you will see it is a 1 followed by 22 zeros. If you simply start
at the left, and recite the alphabet (which is almost certainly the easiest
way to do this), you will hit W on the 1. So, that string turns on
NoDriveAutoRun for W and only W, leaving it off for all other drives. Also,
note that the hex value, 400000, is much, much easier to type, if only for
brevity.
--
Greg Stigers, MCSA
this space for rent

Thanks Greg, but I think my brain is dyslexic somehow with this.
I got the decimal value "W = 4194304" from the this link below, and even
though
..of course when I entered in that decimal value it changed to
dword:00400000
 
R

Rick Chauvin

Hi Greg,

Okay, thank you for replying back.
I feel better that the numbers agree now, and so it was a good guess I used those
first numbers that I did then, great. Thanks for your explanation in this post
appreciate it.

Now I just made one reg to turn it on and another to put it back if ever needed.

What's with the W2000 regedit anyway? It's not like 9x I see and you can't use
the same format from 2k to 9x ...but you can use 9x to 2k ...is there a way to
make the W2K Windows Registry Editor Version 5.00 work and look the same way as
the 9x regedit does? It would be a whole lot easier for me to read it if it
could -:)

thanks,

Rick
 
G

Greg Stigers

You have just veered off topic :)

Frankly, I'm not entirely sure what you are asking as I do not have a 9x
system handy to doublecheck. What comes to mind is that Windows 2000 comes
with two, yes, two registry editors, twice the fun for the same money.
Regedit.exe may be what you mean by 9x, and has a somewhat different feature
set than regedt32. Both have their uses. And there are third-party registry
editors a' plenty.
 
R

Rick Chauvin

Greg said:
You have just veered off topic :)

Yes I veered -:) ...sorry, meant no harm ... :)
Frankly, I'm not entirely sure what you are asking as I do not have a 9x
system handy to doublecheck. What comes to mind is that Windows 2000
comes with two, yes, two registry editors, twice the fun for the same

Oh I did not know it came with two. When you run regedit in W2000 and choose to
export a reg file it comes out as the v5 features and won't work in 9x...
...okay I see it now, in the SaveAs box you can toggle to save it as a 9x, NT type

Okay Greg, thanks for the pointer - inquiry solved -:)

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top