Introduction: Password a Usb Drive With Out Encryption With a Batch File

Picture of Password a Usb Drive With Out Encryption With a Batch File

a program that will not let a user in a drive without
a password and will show a owner file that you can change at will
this will show you how to use the program I have made with ease

Step 1: Step 1

Picture of Step 1

download the file at the bottom of this page i recomend you use jzip but any extractor will work

Step 2: Extraction

Picture of Extraction

extract all files to the destop
a folder pops up called extraction folders

Step 3: Click on the Install Program and Have It Walk You Through The

Picture of Click on the Install Program and Have It Walk You Through The

Click on the install program and have it walk you through the install, make sure you have the drive plugged it

Step 4: Almost There

Picture of Almost There

when it is finished then check the drive to see if all the files were copied there

Step 5: Set Password

Picture of Set Password

the default password i have made is onewordcode this is because the code will only work if it is one word like bob or howie or even yankiedoolittle u need to change it to something you can rember ill use bob and after you change it make sure you save by going to file save or it wont take effect
I.E. for all you people out there who don't get it you cannot do a pw as bob colsen NO 2 WORDS ONLY 1

Step 6: Inter Your Information

Picture of Inter Your Information

Right click on the "lost.bat" and click edit and change the information to what best suits you
you can add or take out lines to add type echo before the line of text


Step 7: Almost Done

Picture of Almost Done

ok almost done here now we change the name click on the autorun and open it.
a notepad will pop up with what looks like gibberish (to the average home user) where it says "label" and then "Jumpy" change the name "jumpy" to what ever you want and save it

Step 8: Finished

ok good job you now have a cool program that protects your flashdrive good luck with it
also please read the README in the zip file have fun and keep on programing
also for some of these changes to take effect you must remove and plug in the drive for them to have full effect

leave comments please this is my first instructable and i would like some feed back


HiPoweredHacker (author)2013-02-13

There are several ways to hack in to the program. Right click, click edit and look for the password. You can even change the password from notepad. You can change that by converting the file from a batch to an executable. There are free software you can do this with. Advanced bat to exe converter v2.75 is a good one. for inquiries for my program go to contact page.

account3r2 (author)2011-11-23

Sorry, but there a few ways to bypass this program. I create a lot of programs myself, and I know this is not very secure, unless the person trying to get into your flash drive is not very good with computers. But I do like this, and am putting on my flash drive that actually has Slax installed on it! I find Slax to be a very good "pocket operating system." Thanks for sharing your Instructable, by the way.

shadow wave rider (author)2011-08-08

does this work on windows 7

vorlock (author)2010-02-19

All you have to do is right click and click explore and it loads it

mrsandman2010 (author)2010-02-03

This is useless and gives a false sense of security, under Vista just click 'open files to view folders' ....

tekkensage (author)2010-01-25

how do i get it off my usb drive?

stormer1127 (author)tekkensage2010-01-25

just go through and delete all the files it uploaded onto it

erikals (author)2010-01-18

this is cool
After finding it works on Windows, I made an AppleScript on my Macintosh to display owner information in a series of dialog boxes (I know how to create dialog boxes in AppleScript).

explorer_ex (author)2009-12-22

well this batch is incomplete...otherwise its cool

Shamrock63 (author)2009-11-24

wow, this is pretty neat, if not a little over my head.
BTW: I figured out how to protect your files in a way that is both simpler and easier:
1. Make a new folder and name it whatever you want(make sure you can remember it)
2. move the files you want to hide into the folder
3. right click on the folder and go properties>attributes>hidden and check the box
4. it will ask if you want the subfolders & files to bwe hidden as well. select "this folder only"
OPTIONAL: place that folder in another hidden folder for multiple layers

To access the file, go to the page where the file is and type the extension in the above bar. Even if you can't see it, you can still access it through this method

stormer1127 (author)Shamrock632009-11-24

thhats a good idea but if the users computer has their hidden files on view than they will see it. good idea though

aaden (author)2009-10-31

i liked it. it's awesome thx

goldbar2975 (author)2009-08-29

thanks. i'm using ihound as well does anyone know what batch script i could use so if the password is wrong it will open an .exe?

mrmath (author)2009-05-02

Will this work on a computer where autorun has been turned off for usb drives? Will it work if I just click on Take No Action? Will it work on a Linux or Mac machine, too?

noelfl (author)mrmath2009-05-02

It won't. This is a Windows batch file, so it will only be recognized by Windows machines. Also, if autorun is disabled in any way, it won't work. But it will keep 'normal' computer users out of the files.

RedFlash (author)noelfl2009-05-15

It migght work on linux through wine...

noelfl (author)RedFlash2009-05-15

yes, it's a very simple program, so there are many ways to run it on linux, or even a mac. But this would require the user to start it through a windows/dos emulator, which wouldn't actually block the OS from accessing it in any way, just the emulator

stormer1127 (author)2009-05-02

ok ic i have been neglentent of some stuff i will fix them now and that code stuuf tells the computer to look for this drive because it cannot be sat as G drive because it is not always G on every computer. and yes if you click explor it will open but the average computer user doesn't know that

cyrozap (author)stormer11272009-05-03

Um, the average computer user DOES know to just open the drive using explorer. People aren't as stupid as you think. This isn't even password protection. If this is used on a Mac, it won't autorun, ruining the poor excuse for protection.

Flea (author)2009-05-01

USB drives don't autorun so unless one tells the USB drive to run the batch file; it won't run automatically. The drive isn't password protected. The DOS box prompts you for a password, but the data on the drive is easily accessible. You should put the contents of the batch files in the instructable. For all we know, the zip file may contain trojans and viruses. You can't read the text in the screenshots. You should crop out the unnecessary parts of the screenshots. Fix the title. USB and without are spelled wrong. Other than that, it's well organized.

noelfl (author)Flea2009-05-02

USB drives can autorun just like any other removable storage. That is how PortableApps launcher works automatically.

Flea (author)noelfl2009-05-02

Standard USB drives do not autorun. When you insert a USB drive in a PC with XP or newer, the Autoplay dialog pops up. You can specify to automatically autorun it in future instances, but it does not autorun by default. Same goes for a drive with Portable Apps on it.
This is why U3 USB drives are recognized as both a removable drive AND a CDROM drive. Optical drives can autorun which allows the U3 menu to run without additional user intervention.

hg341 (author)Flea2009-05-02

well how did i get my program to run without asking me when i put it in
its on vista (on and you are right for most pcs and i dont really know y it worked)
and by my program i mean the one i made

pro1 (author)2009-05-02

awesome Instructable, keep up the good work :0

stuuf (author)2009-05-02

Reason #865 why the Unix VFS is better than DOS drive letters:

set DISK=none

set BOOTFLAG=boot666s.tmp

echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG%

if not exist \%BOOTFLAG% goto readOnly

echo Wait please, searching for current drive letter.

for %%d in ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %%d:\%BOOTFLAG% set DISK=%%d



Flea (author)stuuf2009-05-02

All that can be replaced with:
set drv=%~d0

stormer1127 (author)2009-05-02

also yes if cmd is disabled this will work

wazzup333 (author)2009-05-02

This does work... I have just done it.... Good Instructable seeing you don't even have to read anything on this page and just download the file and follow the readme file A 2 bad points: You can just close the cmd prompt and right click to explore the usb device and when you type your password in everyone can see it... Also i was just wondering if this would work when cmd prompt is disabled? ohh and you made a spelling mistake calling it "Password a UBS"

lemonie (author)2009-05-02

You haven't explained this very well. I don't want to download stuff to try to figure how it works - can you explain how it does in the Instructable?


NachoMahma (author)2009-05-01

. When did Swiss banks start making drives? ;)

About This Instructable



More by stormer1127:Password a usb drive with out encryption with a batch file
Add instructable to: