It is possible to hide a hard drive letter using Windows Vista, preventing it from showing up in applications and Windows Explorer. However, this will not prevent you from access files from it manually (by browsing directly to it by typing "D:" for example). This can be useful to hide files quickly and easily.

To being, load the Registry Editor from the run box (Press WINDOWS KEY + R to access this) by typing "regedit" and clicking OK:


Once this loads, browse to the following registry key on the left hand side:


Then, right click on the white space in the right hand side and select New > DWORD (32-bit) Value, and call it "NoDrives":


Double click on "NoDrives" to enter a Decimal value. This value depends on the drives you wish to hide, and is created by adding the numbers for each drive you wish to hide from the list below. Click OK once you have entered this number.

For example, to hide drive D you would enter a decimal value of 8. To hide both drives D and E, you would enter a decimal value of 24 (8+16):


Once you restart your computer, the selected drives should be hidden. If you wish to remove the hidden drives, browse to the NoDrives registry value and delete it.

As with all registry modifications, care should be taken to ensure that these steps are followed exactly. You should make a backup of your system before any major changes should things go wrong.
Ian, Jun 17, 2008