If your computer is shared by many users, you may have wondered whether you are able to hide one or more drives from Windows File Explorer (My Computer). Well the answer to that is yes.
No you don’t need any third party software to accomplish your task; all you need to do is to edit the registry.
- Open Regedit.exe
- Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer
- Create a new DWORD value and name it NoDrives
- Set the value for NoDrives according to the following list:
A: = 1
B: = 2
C: = 4
D: = 8
E: = 16
F: = 32
G: = 64
And so on, just multiply the previous value by 2
- Close Regedit. You might need to restart your machine.
To hide multiple drives, just add the drives values: for example if you want to hide drive A and D, NoDrives value should be 9 (1+8).
Note: You will still be able to access the hidden drives by typing the letter in the address bar.