Friday, January 9, 2009

Hiding Drives in the Windows Explorer

This will hide a particular drive in My Computer, Explorer, Send To, ... In the Windows Registry Editor (regedit) navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Create a new DWORD Value named: NoDrives

The value for NoDrives needs to be calculated as follows:
A drive that needs to be hidden is represented by a binary 1.

ZYXWVUTSRQPONMLKJIHGFEDCBA
00000000000000000000100000

For example to hide drive F the value for NoDrives = 20 in hexadicimal To hide all drives except C, D and E the binary value is 11111111111111111111100011 So the value for NoDrives will be: 3FFFFE3

No comments:

Post a Comment