How to Create a Windows 7 Installation USB Drive

Let’s face it — optical media is slowly dying. Chalk it up to robust internet connections or the innate unreliableness of the medium itself but the fact remains that an increasing number of users are slowly shying away from putting optical readers in their computers.

While you can just download most of the software you need, installing your operating system itself requires the use of a DVD drive. I, for one, find it tedious to install an optical drive for the sole purpose of installation. Surely, there must be a better way!

Today, I’d like to walk you through the process of creating a USB drive through which you can install the latest version of Windows. All this in under 5 minutes.

Word to the Wise

Before we get to the walkthrough, here are a couple of things to keep in mind.

First up, we’re going to take the slightly more involved, hands-on route today. If getting up and running is your primary objective, you should just grab the Windows USB download tool here. Creating a bootable USB drive from here is just a point and click affair, nothing complicated.

You’re probably wondering as to why we’re taking another path today. Good question! While simple wizards are excellent for getting something done, sometimes you’d probably want to know how things work in the background — the voodoo that happens under the hood.

This is after all what separates us from our fruit flavored brethren. We tweak the registry because we’re bored, we manually overclock our CPUs to improve our SuperPI scores, we spend hours tweaking INI files to eke out a few more FPS. We’re PC users gosh darnit and we like customizing and tuning everything! With those imperious thoughts in our heads, let’s get started!

Step 0: Requirements

Instead of rushing into things half bummed, let’s collect our thoughts for a moment and quickly make a list of what we need.

  • A USB drive. Any run of the mill USB drive will do – flash memory, hard drive based, it doesn’t matter. Just make sure its size is 4gb or above and you’re good to go.
  • A computer running Windows 7. As I mentioned earlier, we’ll be making some tools bundled with Windows 7.
  • A Windows 7 installation disc for the obvious reasons.

Step 1: Back up and Glean Information

The first step when you’re dealing with data is always this — back up your data. I can’t quite repeat this enough. You may have important data in the drive that you may need at a later date. Don’t worry about wasting space, storage is dirt cheap now-a-days. Copy it over and stow it somewhere safe!

With the data taken care of, let’s find out some information about the USB drive that we’ll need later. With the drive plugged in, open up the start menu and type in diskmgmt.msc.

This graphical tool outlines all the storage devices that are attached to your machine. On my computer, this is what it reports:

Report from the disk management tool

Report from the disk management tool

The information you need is the disk number — 1 in my case. Make a note of it, you’ll need it later.

Step 2: Format and Make it Bootable

On to the meat of this walkthrough. Pay close attention to the steps below since there’s a very real chance of screwing up things here. We’ll be working with quite low level tools and there’s no undo here!

First up, open up the tool we’ll be using today. You can search for diskpart on the start menu or use Windows + R to bring up the Run window and then go from there. Either way, remember that the utility has to be run with admin privileges to function properly.

If you feel squeamish around command lines, you can dive into the system32 folder on your PC and launch the executable directly. Keep in mind though that everything below requires you to dive into the command line.

From here, follow the sequence below carefully. I’ll outline what the purpose of each of these commands.

  • select disk ## — Selects the disk designated by the passed in number for all subsequent commands. 1 in our case.
  • clean — Wipes the device by removing all partitions and the data it contains. Note: Proceed with caution. Make sure that you specify the correct drive. There’s no undo!
  • create partition primary — Creates a new primary partition.
  • select partition 1 — Let’s go ahead and select the partition we created above for all further manipulations. We’re passing in 1 because the drive contains a single partition — the one we created just moments ago.
  • active — Marks the current partition as containing a valid system partition.
  • format fs=fat32 — Formats the drive using the fat32 file system. While NTFS is the modern alternative, it requires a few more needless steps. Let’s take the simpler route for once. Depending on the size of the drive, this may take a while since the utility performs a complete format instead of a quick runthrough. For some context, it took me around 6 minutes on a 8gig drive. Yeah, I lied about the 5 minutes part earlier.
  • assign — Unsurprisingly, this command instructs the utility to assign a Windows volume to the drive. To put it simply, it assigns the next available letter.

Whew! That wasn’t as complicated as I lead on, was it? At this juncture, this is how your command line should look.

Diskpart doing its thing!

Diskpart doing its thing!

Step 3: Copy the Setup Files

We’re pretty much done here. All that’s left is to copy over the files from the installation disc. While the inbuilt copy and xcopy are the usual commands you’d use, I’m going to take a turn into the cutting edge to use another extremely useful tool that was introduced in Windows Vista — Robocopy.

Go ahead and enter the following into a command prompt: Robocopy ’1′ 2 /E

Substitute 1 with your destination drive’s drive letter and 2 with the path of the installation DVD. The e parameter specifices that even empty directories should be copied. Make sure to leave the quotes intact.

If you’ve already copied the files from the DVD to another location, that’ll work perfectly too. And will probably end up making the transfer process faster.

If you wish to stop messing around with the command line at this point, you can merely copy all the files from the installation DVD and just copy them over through the Explorer interface.

Step 4: Configure your BIOS

This is the home run section. Your computer has a specific search order during which it looks for operating systems to boot into. Most computers look at USB drives before the main hard drive but your configuration maybe different due to which you may not be able to boot into the USB drive.

Every BIOS is different but they follow the same basic screens and ideas. For example, in my BIOS, the relevant settings are under the Advanced BIOS settings. Just move your USB drive to the top most position and you’re done.

Navigating the BIOS options

Navigating the BIOS options

Choosing to boot from the USB drive

Choosing to boot from the USB drive

Alternatively, almost every BIOS provides a hotkey to modify the booting device during boot. It’s F11 on my BIOS which leads to a screen as shown below:

Working with the quick boot menu

Working with the quick boot menu

Conclusion

And that’s about it. At this point, you should have a fully functioning, bootable USB drive through which you can install Windows 7 on any USB equipped computer.

Not only does the USB drive provide you with an option that’s DVD free for all future installs but also provides you with seriously shorter install times!

Subscribe to Windows.AppStorm!

If you enjoyed this post, you’ll be pleased to know that Windows.AppStorm is officially launching in a few months time! We’ll be bringing you daily updates on the Windows platform, reviews, how-tos, and roundups of the latest and greatest software.

We hope you’ll really love the new site when it launches, so to subscribe and stay up-to-date, be sure to either:


  • Sid
  • Sid

    Oh, just seen you already mentioned it ;)

  • Jeroen Nijhuis

    Microsoft has a tool for that… which only needs the ISO to work..

    http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool

    • http://www.ssiddharth.com/ Siddharth

      Which I mention in the intro. This is a more hands on guide.

      Thanks for reading!

      • Jeroen Nijhuis

        Sorry, I scrolled past that intro :)

  • John Matthews

    With my Inspiron 15r, I found all of the above mentioned methods to fail. Instead, I used PenDrive Linux program to effortlessly install my Windows 7 ISO into my external hard drive without opening a single cmd window.

    Thankfully, my BIOS was already configured to boot up USB drives.

  • tohid

    hey . why you don’t start your work??hurry up. i,m dieing of waiting

  • http://therivahratt.com Stephen Hobson

    Is Win.Appstorm becoming a dead project? It sure has been a while and only a few posts have been posted. The site has been long anticipated but does not appear to be going anywhere.

    • http://www.ssiddharth.com Siddharth

      Hey Stephen. No need to be concerned. We’re opening in July — the release just got pushed back a little to accomodate the new iPad AppStorm site.

      Thanks for reading!

      • http://therivahratt.com Stephen Hobson

        Good to hear! Thank you got letting me know. :)

  • Sarreq Teryx

    o-0 clean your camera lens man!!!

    no really, great post

  • http://www.techomag.com antodoms

    thanks for this wonderful post…. I have done usb installation for mint linux , win xp ,etc ….. but I was not aware that we could use usb installation for win7…. thanks again for this wonderful post…. keep posting…. :)

  • http://www.yourdigitalspace.com Swamykant

    Sound cool. Thanks alot :)

  • Akbar

    In my experience you can still do a quick format using diskpart. all you do is use the command “format fs=fat32 quick” and it will do a quick format. Just thought you should know.

  • http://www.3rillstudios.com Jayant

    Bingo…! works perfect. Cheers

  • http://www.gurushala.net shashank chinchli

    Great way to install windows 7 ! thanks a lot and yes that official tool never worked for me.Generally i used Easy BCD boot to make it bootable,
    thanks a lot for clear cut pics!

  • misxo

    OR! You you can you easier, faster and better app Universal USB Installer ;)
    http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

  • http://www.ariona.net Rian Ariona

    For me, creating windows 7 installation usb drive is simple, just format the usb drive into NTFS, and just copy the contents of the windows 7 dvd, and now you can boot from it.

theatre-aglow
theatre-aglow
theatre-aglow
theatre-aglow