Results 1 to 1 of 1

Thread: How To Hide Drives In Windows 7 Using Command Prompt

Threaded View

  1. #1
    razorsedge is offline
    The Sci-Fighter

    Join Date
    Oct 2009
    Location
    The land of Hockey and Rock music
    Posts
    5,016
    Mentioned
    16 Post(s)
    Tagged
    434 Thread(s)


    Sex:

    How To Hide Drives In Windows 7 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. We have already covered a few guides such as how to install Windows 7 via USB flash drive and how to add/delete/rename power plans using Command Prompt.

    Attachment 37801

    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.



    Here is how to do it:

    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.

    Attachment 37802


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

    Attachment 37804

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

    Attachment 37805

    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)

    Attachment 37806

    Attachment 37807

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

    Attachment 37808

    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).
    Attachment 37809
    Last edited by Big V; August 12th, 2011 at 05:55 AM.








 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to hide back and fort buttons in windows 10 explorer 20H
    By Moaz in forum General Windows 10 Customization
    Replies: 5
    Last Post: November 19th, 2021, 06:51 AM
  2. How to hide "Command Bar" or "Organize Bar" on Windows 10 Anniversary.
    By majestyca in forum Windows 10 Theme Help and Support
    Replies: 5
    Last Post: December 12th, 2016, 02:49 PM
  3. How To Pin Command Prompt With Admin Rights To Start Screen
    By razorsedge in forum Tips and Tricks
    Replies: 0
    Last Post: December 8th, 2012, 02:33 AM
  4. How to Auto-Hide or Disable Command Bar (aka Folder Band)
    By razorsedge in forum Windows 7 Theme Help & Support
    Replies: 3
    Last Post: June 20th, 2012, 06:32 PM
  5. How To Change Command Prompt Text And Background Color In 7
    By razorsedge in forum General Tutorials
    Replies: 0
    Last Post: April 2nd, 2011, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •