Our new site design will soon be launched. This may mean that pages may be moved to a new area of the site or have its name changed. We apologize for any inconvenience while we update and convert our content over to the new format of our site.




Hide hard drives in "My Computer" and Windows Explorer.

"Hide hard drives from prying eyes."

This registry tweak prevents selected hard drives from being listed in "My Computer" and Windows Explorer.

Caution:
Incorrectly editing the registry may render your system inoperable - requiring the re-installation of Windows.

Editing the Registry:

  1. Open the Registry Editor (RegEdit.exe).

  2. Open HKEY_CURRENT_USER to:

    Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer

  3. In the right pane of RegEdit, right-click on NoDrives and select Modify from the drop-down menu.

    Note: If NoDrives does not exist:

    • Create it by right-clicking in the right pane of the registry editor and select New\DWORD Value from the drop-down menu.

    • Rename New Value #1 that is created to NoDrives and press enter - then follow the instruction given above in step 3.

  4. In the Edit DWORD Value dialog box:

    • Select decimal in the Base option section.

    • Change the value that is in the "Value Data" section to the number calculated from those given below.

      A = 1
      B = 2
      C = 4
      D = 8
      E = 16
      F = 32
      G = 64
      H = 128

      To hide more than one hard drive, add the numbers of each drive together.

  5. Click OK button.

  6. Exit the Registry Editor (RegEdit.exe).

The change to the registry is reflected the next time the system is rebooted.

Restoring the Registry Setting:

To re-enable the option, open RegEdit and open HKEY_CURRENT_USER to:

Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer

Change the NoDrives value to: 0 and reboot the system.

Completed Registry Setting:


Hive HKEY_CURRENT_USER 
SubKeySoftware \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
NameNoDrives
TypeREG_DWORD
ValueValue of hard drive(s) to be hidden

Disclaimer:
This document is provided "as is" without any warranty of any kind, either expressed or implied. In no event will Sabresoft Systems be liable to you for any damages, including any loss of profit or savings, arising out of the use or inability to use the information contained in this document. Sabresoft Systems makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.

Applies To:

Windows NT
Windows 2000
Windows XP

More Registry Tweaks:

Browse our growing collection of Registry Tweaks for:

Windows NT, 2000 and Windows XP

Windows 98 and Windows Me

Make a backup of the Registry:

Before you make any changes to the Registry make sure to back up the Windows Registry.

Using RegEdit to edit the Registry:

Learn everything you need to know about how to use RegEdit to edit the Windows Registry.