Monday, 18 February 2013

How to hide drives with command prompt

Posted by THE TECHNICAL ZONE | 03:58 Categories:
This post will let you know . How to hide volumes with command prompt . But be aware while executing this batch processing file . you have to check the volumes first which volume you have to hide . diskpart will not hide boot volume . Don't hide boot volume otherwise you will be in problem .

Follow these steps to hide the volumes .

1. List volumes


2. Make New folder in any drive in which you want
3. Open Notepad write following these commands first (please write exact commands)

file D:\test\hidevolume.txt: (Write these commands in notepad) for hiding volumes

 select volume 1
  remove letter D
  exit


file D:\test\showvolume.txt: (Write these commands in notepad) for show volumes
  select volume 1
  assign letter D
  exit

4. Make batch file with any name hidevolume.bat

Write following commands in batch file hidevolume.bat

 @diskpart /s D:\test\hidevolume.txt

To show files

5. Make batch file with any name showvolume.bat

Write following commands in batch file showvolume.bat

  @diskpart /s D:\test\showvolume.txt


Everything is done . But be aware while performing this operation . Enjoy
                                                                                                            :- The Technical Zone

3 comments:

  1. Thanx Mr. hardeep mann . but soon we will come with great stuff .

    ReplyDelete
  2. The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention. https://etcher.download/

    ReplyDelete

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube