- Open Registry Editor (regedit in run)
- Go To: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
- Create Key: Explorer
- Inside Explorer Create 32-bit DWORD: NoDrives
- Open NoDrives and put one of the followng value corresponding to the drive letter you have to hide:
| Drive | Decimal |
| C | 4 |
| D | 8 |
| E | 16 |
| F | 32 |
| G | 64 |
| H | 128 |
| I | 256 |
| J | 512 |
- Restart
