How to Install Windows 7 From a USB Drive
Installing Windows from a USB flash drive has several advantages - First of all, the overall speed of the installation process will increase significantly, carrying a USB stick is much more convenient than a DVD, and finally it becomes possible to install the OS even on those systems that do not have a DVD drive, such as a netbook.
In this post, I will show you how to load the Windows installation on to your USB flash drive and make it bootable just like the DVD.
Tools Required:
USB flash drive with a minimum capacity of 4 GB.
Windows 7 set-up DVD.
Now, just follow the below steps:
Step-1:
Plug-in your USB flash drive and backup all the existing data in it.
Open the command prompt. If you are using Windows 7/Vista then open it with administrator rights.
ie: Go to Start -> All Programs -> Accessories -> Right-click on “Command Prompt” and select “Run as Administrator”.
Step-2:
In the command prompt, type in the following command:
This will start the Microsoft DiskPart utility as shown below:
Step-3:
Now issue the following command:
This will show you a list of available disks on your system. Disk 0 is usually the hard disk. In my case, Disk 5 is the USB drive (this can be a different one in your case). Now issue the command as shown below:
Step-4:
Now issue the following list of commands one by one as shown below:
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS QUICK
ASSIGN
EXIT
Minimize the command prompt and proceed to the next step.
Step 5:
Insert the Windows 7/Vista installation disc and note down the “drive letter” of your DVD drive. In my case, it is “H:”. Now type the following list of commands as shown below:
H: CD BOOT
CD BOOT
BOOTSECT.EXE /NT60 M: (NOTE: M: is your USB drive letter)
EXIT
Step-6:
Copy the contents of your Windows 7/Vista installation disk into the USB flash drive.
That’s it! Your USB stick is now ready to boot and install the OS for you. Don’t forget to enable the “USB Boot” option and change the “boot priority to USB device from hard disk” in your BIOS settings.
I hope you like this post. Pass your comments to express your opinion. ![]()
By using/following this site you agree to our Legal Disclaimer

A VERY GOOD INFORMATION.THAN YOU VERY MUCH FOR SHARING
in d first paragraph…it should be netbook not notebook since notebooks have CD/DVD drives while netbook does not…as far as i know….
HEY SRIKANT IN STEP 3 : AFTER TYPING DISKPART USER ACCOUNT CONTROL SETTING IS OPENING BUT NOT AS SHOWN IN YOUR POST..AND IN CMD IT IS SHOWING AS FOLLOWS:-
C:\windows\system32>DISKPART
access is denied
@ DP
Thanks for the correction. It was done by oversight and now corrected!
@ mithilesh shaw
Make sure you’re logged in as administrator and have opened the command prompt with admin rights.
good post dude!!!
Good One Frnd….
Realy Good Trick….
Will it also possible with windows XP with same steps?
hi!srikanth.you are seriously brilliant in computer field.i am following your site from past 1 year.i want to know what are you doing presently.Also please give me some valuable website addressess.
thanks.
Converting fat32 into ntfs of pendrive is problem the possibility of pendrive corruption is more
hi…
i am Gaurav Garg From hackersfind.com
i like your web site or all available content but i like this post the most..
thanks for providing this information in this open way..
Regards
Gaurav garg
Keep Posting
Have A Nice day
yes srikant now it is working…thanks
Interesting. I got it working. Thanks for your wonderful tutorial. I like!!
a very useful information
@ Darpan
No, not possible! Creating a bootable Win XP setup from a flash drive is a bit complex process.
COOL.IT.SOLVED.MY.PROBLEM.THANKS
i lyk dis very much!!!!! bt i can’t understand clearly
nice man thanks
Amazing… really very useful post. thanks for sharing…
i did not understand the step 3 .otherwise good post
there is software called Novicorp WinToFlash to do this it can even create bootable xp setup
@ sanjeev
WinToFlash didn’t seem to work perfectly for me
i do all steps
but in list disk only disk0 shows of that is my hard disk
Thanks a lot bro …
Sorry to say that WinToflash did no work i tried to copy win xp setup into it and tried booting it but nothing happened WinToflash still has the BETA tag so it is not perfect program .Hopefully someone else is having better luck with it
It’s good to know this from ur site hope u will assist in such way in future too.
thanx a lot sirji… nyc one
Haiiii…..
Srikanth.. Surely…this is a great site…
But one thing i am finding hard to digest here is that…i don’t see google ads …
why is that so?
We can also run windows on pendrive but it just writes upto 10000.
After that your pendrive or usb will not write any thing
i enjoyed this post
Good 1 Bro..
I have tested that. Completed successfully. Thanks 4 all….
wow it worked 111110000%
Thanx Friend I was searching For This Information
Very Very Useful to us…
I am too much motivated with your post…
Many-many thanks to you,,,,God Always Bless You…
hi, after loading the boot code on flash drive, do we have to copy the windows 7 via dos or just drag and drop from my computer?
@ sam
You can do it either way. It doesn’t make a difference
Can you explain step 5 in detail; what it’s doing, why you need to do it? I’m curious.
hi… can we use the pendrive for the other purposes also, after making it bootable… means to transfering the data..
I like this post very much…! thank for sharing
@srikanth
thank you very much very informative keep the good work going
@ Ali
Yes you can. Just create a seperate folder in your pendrive and have your personal data over there.
Hey..gud job bro.
Hi
This is such a great site..
I very very thankful to you for your information and all the content.
a easy way to install.thank you………
its so great and fantastic idea . now i can boot win7 without cd.
that is great
after typing bootsect.exe /nt60 m:( my removable disk letter)
it is showing ACCESS IS DENIED
what to do please reply
this is working f9 frnd how can i login to this site please help me.
nice post………..!!!!
ur website is awesome
after you’ve completed all the commands in CMD, when copying the the OS files to the pen drive, some files wouldn’t copy to the disk.
should I skip those files?
@ xyrian91
No all the files should get copied!
nice trick,,
@ilan - while running cmd, you must have administrative permissions, your problem is related to permissions.
Keep it up..
@Srikanth..hey nice one…… thatnks…
can u pls upload the way to install win-xp from USB….
Hello Bruv,
I love your website and it’s contents..
I want one advice..
Please will you help me over there..?
Does winsetuptousb works please let me know
when i choose usb drive to formate my operating system then it show message OPERATING SYSTEM NOT FOUND .i do all process as your method PLEASE HELP ME
Hey Shri…Thanks for valuable post….keep posting all new tricks like this….thanks u
hai sriki i have problem in removing the files from the pendrive that i created during the process told above. tell me something
wow….awesome…Boss….thank you for helping all…
hi,
I followed your steps, but later i realized i forgot to plug the pen drive !!!! that’s really silly of me! but i reached as far as “create partition primary” step, and then i realized in my pc out of 4 drives there are only two visible and i seem to have lost the other two, pls help me in getting those two drives back, or have i lost them completely? what should i do ?
EMAIL SECURITY »
How Do Email Spam Filters Work
If you are the one who works with emails on a daily basis, you are most likely to be using a SPAM FILTER to ease the job of sifting through a large number of spam emails …
HOW STUFFS WORK »
How Antivirus Software Works
Due to ever increasing threat from virus and other malicious programs, almost every computer today comes with a pre-installed antivirus software on it. In fact, an antivirus has become one of the most essential software package for every computer.
Even though every one …
HOW-TO GUIDES »
How to Retrieve Clipboard History in Windows
Ever copied a code snippet or text from the web and forgot to paste it before you copied something else? Well, all of us will have an experience of something like this, where we want to …
INTERNET SECURITY »
Access Your Facebook Account with 3 Passwords
Did you know that you can login to your Facebook account using 3 different passwords? Seems interesting isn’t it? Yep! Unlike any other online account which has only one password to access, Facebook lets you …
NETWORK HACKS »
Access Your Facebook Account with 3 Passwords
Did you know that you can login to your Facebook account using 3 different passwords? Seems interesting isn’t it? Yep! Unlike any other online account which has only one password to access, Facebook lets you …
Categories
I am the author and founder of GoHacking.Com. It all started in November 2007 as a small blog with just a few pages.
However, with the passage of time, the blog picked up more traffic and the response from the readers was also increased. This made me take up blogging more seriously.
You can read more about me or get in touch with me on Google+ or contact page.
Most Commented
Blogroll