Tuesday, 15 November 2011

Hide Local computer drives

You can instruct Explorer to not display a drive(s) in the My Computer display. When enabled, this policy removes the icons representing the selected disk drives from My Computer, Windows Explorer, and My Network Places and from Common Dialogs. Note that the registry key is Policies\Explorer.

For example, you create partition E: and use it exclusively for NT's pagefile. To prevent a (possibly ignorant) user from browsing to that partition and deleting files that should not be deleted, apply the following Windows NT / Windows 2000 Registry hack :

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersio…
Name: NoDrives
Type: REG_DWORD
Value: To calculate the value, add together the numbers for the drives you want to hide, using the formula: A=1, B=2, C=4, D=8, E=16, F=32, G=64, and so forth. To hide D: & E:, the value would be 8+16=24.

To use system policies to hide drives:
http://support.microsoft.com/support/kb/…

Online tool for calculating the Mask for the NoDrives Registry key, it calculates the mask for any drive combination:
http://www.wisdombay.com/hidedrive/

No comments:

ISM Cyber Security Terms

ISM Cyber Security Terms