How to Hide Any Drive in Windows Using Command Prompt

Follow by Email
Facebook0
Facebook
Google+
https://codingsec.net/2016/05/hide-drive-windows-using-command-prompt/

The Command Prompt in Windows is a very powerful tool to accomplish certain tasks that usually can’t be done unless you have a third-party tool. Today, we are going to share another interesting use of Command Line. One can use the Command Prompt to hide one or more drives in the explorer. Of course, you can use a free tool such as DriveHide to do the same. But, if you can remember a few commands, you can easily hide a drive in a few seconds without using a third-party software.

How to Hide Any Drive in Windows Using Command Prompt

Method 1 of 2

Step 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. In Windows 10 and 8.1, you can right-click on the Start button, and then click Command Prompt to open the same.

Step 2: In the Command Prompt, type Diskpart and hit enter key. Click Yes if you are prompted with UAC (User Account Control) dialog-box.

                                                      DiskpartCommand_thumb

Step 3: And then type List Volume and hit enter to see list of all drives.

                                         Hide Drives

Step 4: Select the drive that you want to hide. To do this, type Select Volume G (here, G is the drive letter) orSelect Volume 8 (here 8 is the volume number)

              Hide Drives 2

              Hide Drives 3

Step 5: To hide a drive, type Remove Letter G. Here, G is the drive letter than you want to hide.

              Hide Drives 4

Step 6: You are done. Close the Command Prompt.

Also read:Keyboard Shortcuts Everyone Must Know

Method 2 of 2

To show the hidden drive, follow the steps given below:

Step 1: Follow the procedure mentioned in step 1, 2, and 3 of Method 1.

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

Step 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 Drive

[intowindows]

Follow by Email
Facebook0
Facebook
Google+
https://codingsec.net/2016/05/hide-drive-windows-using-command-prompt/

30 Comments

  1. gibbs jethero leory 2016-05-27 Reply
    • Sid 2016-05-27 Reply
  2. Taz 2016-05-27 Reply
  3. Kudou 2016-05-27 Reply
    • Sid 2016-05-27 Reply
      • Ato kwamena 2017-05-17 Reply
  4. testezon 2016-05-27 Reply
    • Sid 2016-05-27 Reply
  5. MJ.Vakharia 2016-05-28 Reply
  6. Himanshu Bhatnagar 2016-05-28 Reply
  7. nisar 2016-05-28 Reply
    • Sid 2016-05-28 Reply
  8. Chane Abera 2016-05-28 Reply
  9. dan 2016-05-28 Reply
  10. dan 2016-05-28 Reply
  11. Hawk Eye 2016-05-31 Reply
  12. Karthik 2016-06-05 Reply
  13. stha 2016-06-06 Reply
    • saleem rasheed 2017-08-12 Reply
  14. Ifunanya Onwughalu 2016-06-06 Reply
  15. Dennis 2016-07-16 Reply
  16. Kamran 2017-07-19 Reply
  17. Prasanth A 2017-07-20 Reply
  18. Prince Singh 2017-09-13 Reply
  19. Vivek Jalankar 2017-09-13 Reply
  20. Vinay 2017-09-21 Reply
  21. Alex kiborgok 2017-10-14 Reply

Add a Comment

Your email address will not be published. Required fields are marked *

Like the article? please consider sharing it. Thank you

Advertisment ad adsense adlogger