Have a drive you'd rather some users not be able to access?
Here's a little registry hack to deny others that right.
Each drive letter corresponds to a binary decimal number, starting from 0 going to 25:
Simply if the drive letter is C, since C is the third letter in the alphabet the number you need is 2^2 = 4 or drive A is 2^0 = 1.
To remove multiple drives simple add up there corresponding values and use that.
To Remove all drives use the value 67108863 (the sum of all drive letters A-Z)
*for interests sake this value is: (2^26) - 1, since we start at 0
Deny the current user: (need to be logged on under their account)
path:
Code:
KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Deny for the entire computer:
path:
Code:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
*for this i would recomend you do both!
create a REG_DWORD key named NoDrives
*right click in right pane
select it and make it's data entry the number you determined earlier. That's it, it usually requires a restart to take effect.
*NOTE these drives still display under fileman.exe. To complete this disabling you will need to rename this file or delete it!