How to hide a drive in windows 7 : Using CMD

1. Type CMD in Start menu search area and hit Enter to launch Command Prompt. You can also find the Command Prompt under Accessories category in Start menu.
Hide Drives Using Command Prompt In Windows
Hide Drives In Windows 7
2. In the Command Prompt, type Diskpart and hit enter key. Click Yes if you are prompted with UAC (User Account Control) dialog-box.
 Diskpart Command
3. And then type List Volume and hit enter to see list of all drives.
Hide Drives Via Command Prompt In Windows 7
4. Select the drive that you want to hide. To do this, type Select Volume G (here, G is the drive letter) or Select Volume 8 (here 8 is the volume number)
Hide Drives Via Command Prompt In Windows 7 step5
Hide Drives Via Command Prompt In Windows 7 step2

5. To hide a drive, type Remove Letter G. Here, G is the drive letter than you want to hide.
Hide Drives Via Command Prompt In Windows 7 step3
6. You are done.

To show the hidden drive, follow the steps given below:
1. Follow the procedure mentioned in step 1, 2, and 3.

2. Select the volume number for which you want to assign a drive letter and show in the explorer. Type Select Volume 8 (here, 8 is the volume number) and hit Enter key.

3. Once selected, type Assign Letter G and hit Enter key to see the drive in explorer(replace G with the drive letter that you have previously removed).
Show Drives In Windows 7 Using Command Line

Post a Comment

Previous Post Next Post