Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In this thread How to hide drive for specific users in Windows 7? it talks about how you can hide drive letters for specific users. I am trying to follow Nathan Hinkle's answer but I am at a wall per-se. I need to find 3 hex values that I need to use for 3 different users in the registry..

I need to know the hex values that I must use for:

USER 1: Disabling Drive N, leave every other drive alone

USER 2: Disabling Drive M, leave every other drive alone

USER 3: Disabling Drive N & M, leave every other drive alone

I know this is probably very simple but I just don't understand how to get the values even though I know they are probably simple... So please can someone respond with the 3 Hex values I need? Also if you feel like you need to do a short tut (for future reference) on how you got those exact values then please feel free to do so.

Please refer to the thread link above to know how I need the hex values to look. Thank you, I hope someone here has a better understanding than I do!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I know this is probably very simple but I just don't understand …

I feel your pain.  I would offer my opinion that the reason why you don’t understand nhinkle’s answer to that other question is because it doesn’t exactly make any sense.  I found this explanation at Microsoft TechNet, which says, in effect:

Take this template:

  **** **ZY  XWVU TSRQ  PONM LKJI  HGFE DCBA

Write ones below the drive letters that you want to hide.  Write zeros below the *s and the drive letters that you don’t want to hide.  You should now have 32 1s and 0s.  Convert to hex.

I’ll assume that you are asking about drives N: and M:, rather than N and M.  To hide drive N:, you would have

    **** **ZY  XWVU TSRQ  PONM LKJI  HGFE DCBA
    0000 0000  0000 0000  0010 0000  0000 0000

which gives you 00002000 (i.e., 2000 hex).  By the same method, M: is 1000, and “User 3” (N: and M:) is 3000.

share|improve this answer
    
Wow that really makes it a whole lot easier...... I was truly wondering where all his zeros were coming from and now that you've explained it it makes sense. Thank you! –  Radical924 Sep 19 '13 at 5:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.