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