Hide These Specified Drives in My Computer
This policy setting allows you to hide these specified drives in My Computer.
This policy setting allows you to remove the icons representing selected hard drives from My Computer and File Explorer. Also, the drive letters representing the selected drives do not appear in the standard Open dialog box.
If you enable this policy setting, select a drive or combination of drives in the drop-down list.
Note: This policy setting removes the drive icons. Users can still gain access to drive contents by using other methods, such as by typing the path to a directory on the drive in the Map Network Drive dialog box, in the Run dialog box, or in a command window.
Also, this policy setting does not prevent users from using programs to access these drives or their contents. And, it does not prevent users from using the Disk Management snap-in to view and change drive characteristics.
If you disable or do not configure this policy setting, all drives are displayed, or select the “Do not restrict drives” option in the drop-down list.
Also, see the “Prevent access to drives from My Computer” policy setting.
Supported on: At least Windows 2000
Restrict A and B drives only
| Registry Hive | HKEY_CURRENT_USER |
| Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
| Value Name | NoDrives |
| Value Type | REG_DWORD |
| Value | 3 |
Restrict C Drive Only
| Restrict C drive only | |
|---|---|
| Registry Hive | HKEY_CURRENT_USER |
| Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
| Value Name | NoDrives |
| Value Type | REG_DWORD |
| Value | 4 |
Restrict D drive only
| Registry Hive | HKEY_CURRENT_USER |
| Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
| Value Name | NoDrives |
| Value Type | REG_DWORD |
| Value | 8 |
Restrict A, B and C drives only
| Registry Hive | HKEY_CURRENT_USER |
| Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
| Value Name | NoDrives |
| Value Type | REG_DWORD |
| Value | 7 |
Restrict A, B, C and D drives only
| Registry Hive | HKEY_CURRENT_USER |
| Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
| Value Name | NoDrives |
| Value Type | REG_DWORD |
| Value | 15 |
Restrict All Drives
| Registry Hive | HKEY_CURRENT_USER |
| Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
| Value Name | NoDrives |
| Value Type | REG_DWORD |
| Value | 67108863 |
Do not restrict drives
| Registry Hive | HKEY_CURRENT_USER |
| Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
| Value Name | NoDrives |
| Value Type | REG_DWORD |
| Value | 0 |