How To Hide a Drive in Windows Explorer using Registry RegEdit

hide-drives-regeditThese are the steps on How to Hide your Drive or Partition from Windows Explorer using Registry’s RegEdit. You may opt to hide your Drive from Explorer to save your files from easy access or from possible deletion.
This How-To will help you achieve this using only regedit. We advise caution before proceeding. Backup your registry first using Export before continuing with the steps. hide-drives-regedit

Registry Tweaks
A. Fire-up Regedit, execute RUN by pressing Win + R then type in regedit
B. Within regedit navigate to
    HKEY_LOCAL_MACHINE –> Software –> Microsoft –> Windows –> CurrentVersion ->Explorer (for Windows Vista, 7, 8 and 10)
    HKEY_CURRENT_USER –> Software –> Mcft –> Windows –> CurrentVersion –> Policies (for Windows XP, 2000 and NT)
C. Create a new DWORD value, Right Click on Explorer then Choose New -> DWORD Value (32-bit).
D. Name it as “NoDrives”
E. Double-click “NoDrives” to change properties
F. In the Value Data box, we need to type in numbers which correspond to the drive we need to remove. The table below will show us the Decimal Value for each Drive. Notice that every value doubles compared to their preceeding value. Choose the one that matches your Drive.
    Drive A: 1,
    Drive B: 2,
    Drive C: 4,
    Drive D: 8,
    Drive E: 16,
    Drive F: 32,
    Drive G: 64,
    Drive H: 128,
    Drive I: 256,
    Drive J: 512,
    Drive K: 1024,
    Drive L: 2048,
    Drive M: 4096,
    Drive N: 8192,
    Drive O: 16384,
    Drive P: 32768,
    Drive Q: 65536,
    Drive R: 131072,
    Drive S: 262144,
    Drive T: 524288,
    Drive U: 1048576,
    Drive V: 2097152,
    Drive W: 4194304,
    Drive X: 8388608,
    Drive Y: 16777216,
    Drive Z: 33554432,
    Drive All: 67108863
G. For Base Value, we choose Decimal. As an example, we want to remove Drive M so we type-in the value “4096”. If we want to hide two Drives e.g. M and N, we need to add the values 8192+4096 which equates to 12228. If that value is entered, Drives M and N will be hidden in Explorer.
H. Log-off your computer and the next log-in will remove the Drive from your view.
That’s it. Your Drive will no longer appear in Explorer or My Computer. The Drive icon is now invisible in all Windows folders. However, since we only removed the label, the Drive is still accessible by directly typing the Drive letter in CMD or Explorer address bar. For instance, even if hidden, typing C: will open-up Drive C.

This tweak is useful for folks who would like to hide partition or drive icons from Explorer. If you want to revert back the changes, either delete the NoDrives registry entry or set its Value Data to 0.

Happy Tweaking!
DISCLAIMER: The following data is posted for informational and archiving purposes only. By viewing this information, you release the author from any responsibility or liabilities. Use at your own risk. For changes, updates or suggestions please comment below.
posted by THE11thROCK for

Facebook Comments