How To Hide Any Drive Through Regedit

Posted by in Articles, Windows Tips, Windows Hacks

In the previous tutorial we showed you how you can hide your drives in explorer with command prompt, now its time to use some alternatives. Suppose that command prompt is locked, so what you will do? yes, that’s why we are using Registry Editor as an alternative.

You can hide any drive with a simple registry edit, by following the below steps –

1. Go to Start Menu > Run (WIN+R) > Type regedit and press enter, to launch Registry Editor.

2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

3. Right click on Policies > New > Key and rename it to Explorer (If Explorer Key is not there)


3. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

4. Now Right click on the right side pane and click on New > DWORD value and rename it as NoDrives


5. Now suppose you want to hide C drive, so right click on NoDrives > Modify

Change the Base Type to Decimal and Value Data to 4 (for C drive)

Similarly, for hiding other drives use different Value data from the below table-

To hide drive A and drive D, you would add 1 (A) + 8 (D) which means the value should be set to “9”.

6. Log Off and Log In back to see changes.

Author’s Bio –

Mad Geek is a pro-blogger who blogs at beingPC.com and a software developer. You can connect with him @itzritesh .