Hide Drives from Your Computer

by Eric Geier [Published on 3 May 2012 / Last Updated on 11 Oct. 2011]

Remove drives from windows and dialogs, but allow access by commands and applications.

Sometimes you may want to hide a drive from appearing in Computer or My Computer and on open/save dialogs, but still allow access to it from applications. For example, if you have a backup or network drive that you want applications to use but don’t want people to mess with, or a USB drive that’s solely used for ReadyBoost.

This takes a simple Registry change, but you must calculate the key value based upon the drive(s) you want to hide.

First, come up with a binary number. Visualize the alphabet in reverse order and put a zero below those drive letters you want to appear and a 1 for those you want to hide.

For example, if you wanted to hide drives A and F:

      Z Y X W V U T S R Q P O N M L K J  I H G F E D C B A   0 0 0 0  0 0 0 0 0  0 0 0  0 0 0 0 0 0 0 0 1 0 0 0 0 1      

Now convert that binary number (100001 for our example) to decimal form (33 for our example).

Now you can create the following Registry key and enter the calculated decimal number for the value:


Key: Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

DWORD Name: NoDrives

See Also

The Author — Eric Geier

Eric Geier (Dayton, Ohio) is a Freelance  Tech Writer and Author specializing in computer networking. He's also the Founder and Owner of NoWiresSecurity, which provides a hosted cloud-based RADIUS service to help businesses easily secure their Wi-Fi networks with the Enterprise (802.1X) mode of WPA/WPA2 security. He’s also the Founder and Owner of On Spot Techs, which provides on-site computer and technology services.

Featured Links