How to Hide A Drive / Partition from Windows Explorer

December 24th, 2014 by Admin Leave a reply »

Do you have some private files that you want to hide from your children? Here is a registry trick to hide a drive or partition in Windows 10/8/7/Vista/XP, so it cannot be accessed from Windows Explorer by inexperienced users.

The method is not foolproof though, and users can still access the contents of the hidden drive from Command Prompt or Disk Management. If you have some confidential or sensitive data on a local disk and want to lock / protect it securely, I recommend you use the Protect My Folder application.

How to Hide A Drive / Partition from Windows Explorer?

  1. Press the Windows key + R to bring up the Run box. Type regedit and press Enter.
  2. When the Registry Editor opens, navigate to the following key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

    If the Explorer key does not exist, you can right-click on Policies, select New Key and name it Explorer.

  3. Right-click on the Explorer key, select new 32-bit DWORD and name it NoDrives.
  4. Double-click on NoDrives and then choose Decimal, enter a proper number for hiding your desired partition. For example, if you need to hide drive E:, just type in the value 16.

    hide-local-drive

    Here’s a list of the values (decimal number) you’ll want to enter for a few different drive letters:

    • A: 1
    • B: 2
    • C: 4
    • D: 8
    • E: 16
    • F: 32
    • G: 64
    • H: 128
    • I: 256
    • J: 512
    • K: 1024
    • L: 2048
    • M: 4096
    • N: 8192
    • O: 16384
    • P: 32768
    • Q: 65536
    • R: 131072
    • S: 262144
    • T: 524288
    • U: 1048576
    • V: 2097152
    • W: 4194304
    • X: 8388608
    • Y: 16777216
    • Z: 33554432
    • ALL: 67108863

    But what to do if you want to hide more than one drive in Windows? Just add the values of the drives that you want to hide. For example, if you want to hide the drives E:,F: and A: you would enter 49 (16+32+1) in NoDrives as the decimal value.

  5. Restart your computer and your drive will disappear from Windows Explorer.

    windows-explorer

    You can even hide the C: drive without corrupting your system. When you want to get your drives back, just set NoDrives to 0 or simply delete the value altogether.