There are two ways to hide drive letters that appear in My Computer i.e. Registry Editor and Group Policy Editor.
Method 1: Via Registry Editor
1.) Open Registry Editor (Start > Run > Regedit), Navigate to String:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer.
2.) Now create a New DWORD value and name it NoDrives. All Drive will be visible as long as the value will be 0. Set the value for NoDrives according to the following list:
Enter the decimal number corresponding to the drives you want to hide as the NoDrives value data. When you right click on NoDrives and choose Modify, make sure you select Decimal, not Hexadecimal.
To Hide Multiple drives, Just add the drives values. For Example: We want to hide F: and G:, then NoDrives value should be 32 + 64 = 96.
Read Whole Article