This registry tweak prevents selected hard drives from being listed in "My Computer" and Windows Explorer.
Caution:
Incorrectly editing the registry may render your system inoperable - requiring the re-installation of Windows.
Editing the Registry:
Open the Registry Editor (RegEdit.exe).
Open HKEY_CURRENT_USER to:
Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
In the right pane of RegEdit, right-click on NoDrives and select Modify from the drop-down menu.
Note: If NoDrives does not exist:
Create it by right-clicking in the right pane of the registry editor and select New\DWORD Value from the drop-down menu.
Rename New Value #1 that is created to NoDrives and press enter - then follow the instruction given above in step 3.
In the Edit DWORD Value dialog box:
Select decimal in the Base option section.
Change the value that is in the "Value Data" section to the number calculated from those given below.
A = 1
B = 2
C = 4
D = 8
E = 16
F = 32
G = 64
H = 128
To hide more than one hard drive, add the numbers of each drive together.
Click OK button.
Exit the Registry Editor (RegEdit.exe).
The change to the registry is reflected the next time the system is rebooted.
Restoring the Registry Setting:
To re-enable the option, open RegEdit and open HKEY_CURRENT_USER to:
Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
Change the NoDrives value to: 0 and reboot the system.
Completed Registry Setting:
| Hive | | HKEY_CURRENT_USER |
|---|
| SubKey | Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer |
|---|
| Name | NoDrives |
|---|
| Type | REG_DWORD |
|---|
| Value | Value of hard drive(s) to be hidden |
|---|
Disclaimer:
This document is provided "as is" without any warranty of any kind, either expressed or implied. In no event will Sabresoft Systems be liable to you for any damages, including any loss of profit or savings, arising out of the use or inability to use the information contained in this document. Sabresoft Systems makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.