How to Hide Drives Using Command Prompt (CMD) in Windows

How to Hide Drives Using Command Prompt (CMD) in Windows
Hello everyone. A very warm welcome to you. 

If you have sensitive or important data stored on a particular disk drive that you don’t want anyone to see, then a great way to hide that drive through Command Prompt (cmd).


With Windows XP, Vista & 7 you can achieve this easily using nothing more than the Command Prompt. 

Here’s How:-

  • Click Start -> Run (This brings up the Run dialog box)


  • Type cmd and press Enter (This brings up the Windows Command Prompt)

    • Type diskpart in command prompt and press Enter (This launches the Diskpart utility within the Command PromptWindow )


    • Now type list volume (This displays a list of all mounted volumes on your computer and their associated drive letters)

    Using the above picture as reference, if for example:- you would like to hide drive D
    • Type select volume 1 (or select any other volume as where the drive is present)

    • Now type assign letter D ( Note:- This sometimes requires a reboot)


        Disk part will now remove the drive letter. The drive will no longer available.So, Check via Windows Explorer or My Computer.Don’t worry through, your data remains safe!
        
         Now, you want to unhide the drive & make it accessible again then,
         just repeat the above process. But instead of typing remove letter D,
         type assign letter D.

    • Click Start -> Run (This brings up the Run dialog box)
    • Type cmp and press Enter (This brings up the Windows Command Prompt)

    Type diskpart in command prompt and press Enter (This launches the Diskpart utility within the Command Prompt Window.)


    Now type list volume (This displays a list of all mounted volumes on your computer and their associated drive letters)



    Using the above picture as reference, if for example:- you would like to hide drive D:-
    • Type select volume 1 (or select any other volume as where the drive is present)

    Now type assign letter D ( Note:- This sometimes requires a reboot)



    NOW, The drive will be available via Windows Explorer or My Computer.


    Hope you like this post and please don’t forget to comment below !!
    Advertisements

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s