If you do not want to display the drive in Windows Explorer when opened, then this setting will satisfy you. The options in the context menu like "Open" and "Explore" are turned grey as the drive gets hidden.
For this, you have to make changes in the registry. Go to "Start->Run" and enter "regedit" and click "OK". Search the key. Enter the REG_DWORD value "NoDrives" in right panel. Now, double-click the value "NoDrives" and set the decimal data value. Replace the variable Hide_Value with the data value given below for hiding the drives.
Drive | Hide_Value |
| A | 1 |
| B | 2 |
| C | 4 |
| D | 8 |
| E | 16 |
| F | 32 |
| G | 64 |
| H | 128 |
| I | 256 |
| J | 512 |
| K | 1024 |
| L | 2048 |
| M | 4096 |
| N | 8192 |
| O | 16384 |
| P | 32768 |
| Q | 65536 |
| R | 131072 |
| S | 262144 |
| T | 524288 |
| U | 1048576 |
| V | 2097152 |
| W | 4194304 |
| X | 8388608 |
| Y | 16777216 |
| Z | 33554432 |
For displaying the drives, just delete "NoDrives" entry.
For more than One Drive:
Add up the values of the drives if you want to hide more than one drive, for example, add up the values of C (4) and D (8) drives and put 12 in the data value.
Restart or logoff the system to see the latest changes.