Hide your Partitions from My Computer in Windows 7

ImranKhan1992

Distinguished
Mar 14, 2014
92
0
18,660
You may want to restrict any partitions from showing up in Windows Explorer. Partition will be hidden just like a hidden folder or a file in Windows Explorer. You could access it anytime by entering the URL in the Address bar of the Windows Explorer.

Warning : You are about to Play with Registry Editor. I request you to perform this tweak only, if you are confident about what you are doing and understand the risks of doing it without enough expertise. I advise you to strongly adhere to the tutorial.

Step 1 :
Open Registry Editor. Click Start, Type regedit.exe. Click Yes if UAC requests permission.


Step 2 :
Registry Editor Window opens.
Browse to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer


Step 3 :
If you dont have 'Explorer' in the list, create it by Right clicking Policies, then New Key.
Skip this step, if you already Have Explorer Key in the list.


Step 4 :
Right click the White Space in the Right side panel and Select New DWORD (32 bit) Value


Step 5 :
Name it as 'NoDrives' (without quotes)


Step 6 :
Trickier part comes here.
We need to Calculate the 32bit Value that indicates the list of Drive letters to be hidden.
Take A=2^0 , B=2^1 , C=2^2 , D=2^3 , E=2^4 , F=2^5 , G=2^6 , H=2^7 and so on upto Z=2^25.

If you want to Hide Drive E and H, then Add them 2^4+2^7 = 144.
Thats it.Now, the Number 144 indicates the Drives E and H.


Step 7 :
Right Click NoDrives and Press Modify


Step 8 :
Enter the 32bit Value. Make sure Decimal is Selected.


Step 9 :
Thats it. You have hidden the Drives from My Computer.


You can still access the Hidden Drives by entering the Drive letter in the Address bar.



To UnHide Drives Simply Delete the NoDrives Registry Value


Thank You.