Discussion Locked

Hide drive letters in My Computer

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I attempted to do this following the articles instructions (published in the Windows XP newsletter 9/18) but my results were not so good. When I attempted to hide drive L it also hid my D drive. Furthermore, the pattern described in the article did not work for numbering the drive letters. Drive L should be 2048 following the article's convention, but the number I finally found to get the L drive to disappear was 896. Any advice?
Thanks,
Phil Graham
subscriber:pgraham@hitchcockdesigngroup.com

4 replies

by wcp

The procedure works.
Only the TR forgot (?) to mention that you use ?Decimal? instead of ?Hexadecimal? base.

Here is what happened.
When you put in 2048 (in hexadecimal), it was actually 16x16x16x2 + 16x16x0 + 16x4 + 8 = 8192 + 0 + 64 + 8 in decimal base.
Now the number 8192 represents drive N, 64 for G, and 8 for D. In other words, you hid drives D, G, and N.
When you used 896, it was 16x16x8 + 16x9 + 6 = 2048 + 144 + 6 in decimal. The number 2048 represents drive L but the number 144 + 6 = 150 could not be expressed with any combination of previous numbers (128, 64, 32?) so only the drive L was hidden.

Please be reminded that the drive will be visible and accessible thru "run" command.

I wonder how you came up with the number 896!!

by wcp

There is no "Explorer" key in the Registry by default.
You may have to create one by highlighting the Policies key and right clicking on the right pane and New | Key.

by wcp

I was wrong.

When you used 896 in hexadecimal, it was in fact 2198 in decimal. Use the following table to find which drives will be hidden.

A: 1
B: 2
C: 4
D: 8
E: 16
F: 32
G: 64
H: 128
I: 256
J: 512
K: 1024
L: 2048

Pick numbers starting from the largest such that the sum does not exceed 2198 . So the first such number is 2048 (L), the second 128 (H), the third 16 (E), the fourth 4 (C), the fifth and the last 2 (B).
This shows that with the number 896 in hexadecimal, drives B, C, E, H, and L will be hidden.

To hide just the drive L, the number 2048 in decimal or 800 in hexadecimal must be chosen.

This discussion is closed to new replies.