Password Protect your USB Flash Drive without any software....



I was trying to protect my USB flash drive from a long time but didn’t find anything nice. Almost all the software were either not giving full features or were asking for money to do so and give full benefits.

One software called Truecrypt was nice but not giving me simple password protection feature.

Anyways, now I submit one good info with all who want to simply password protect their USB flash drive / pen drive without all unnecessary softwares.
Steps to protect your USB flash drive
1.      Insert your pendrive.
2.      Open the drive
3.      Create a folder (lets name is ABCD) and keep all your data in it. (You can partially protect this disk too by moving your important / secure data only into this folder)
4.      Remember a password. Lets name is 12345
5.      Now open a note pad and copy and paste the following text into it: -
@echo off
set pass=12345
echo Please Enter Password
set /p ui=
if %ui%==%pass% (goto open)
echo Wrong Password!
pause
exit
:open
start ABCD

6.      Now click save as and save this file name as Hidden.bat
7.      Now open command prompt and go to your usb drive. For eg.
G: and press enter
Now type
Attrib ABCD +s +h (press enter)
Now you can see that your folder (ABCD) is hidden in that drive

8.      Now remove the pendrive and insert it again. The folder name (ABCD) will not show here.
9.      If you want to see or go to that hidden folder then click on Hidden.bat file and give your password. (e.g. 1234) and here your hidden folder will pop up.
Hope you like it.
Further, if you want to compile your bat file into exe file than here is a link of a simple program for the same. 

Give comments if any issues arises.
Thanks
Bajrang Sharma

Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. This comment has been removed by a blog administrator.

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment

Popular posts from this blog

Difference Between Consignment And Sales