Back to the sad reality. This ugly registry hack lets you hide drives from being displayed (but they are still accessible by applications and the command prompt).
To calculate the key value, you need to add up the drive letters you want to hide based on A=1, B=2, C=4, D=8, E=16, F=32 ... etc. So to hide drives A and E, the decimal value to use is 17.
- Current user: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- Add 32-bit DWORD key name "NoDrives", with the appropriate decimal value.
- Restart Explorer.
Credit to How-To Geek.