Jump to content
Sign in to follow this  
Krauersaut

Creating a Windows Vista/7 USB flashdrive

Recommended Posts

Since more and more modern computers are able to boot from USB flashdrives, installing Operating Systems with a DVD looks a little outdated. This tutorial will show you how to create a bootable USB flashdrive with a Windows Vista or 7 installation on it. There are of course several ways to create such a flashdrive. However, I prefer the non-graphical way.

 


Open a new command line window by pressing WIN+R and typing in cmd.

 

26492296.png

 


Enter the following commands, pressing return after each command.

  • diskpart

    Opens Windows' integrated disk management tool.

  • list disk

    Lists all storage devices that are currently attached to the computer.

  • select disk X

    Replace X with the number of your flashdrive.

  • list disk

    Check if you selected the correct disk with the last command.

  • clean

    Erases all data on the flashdrive. If your computer is still online, chances are good that you selected the right disk in the last steps. If not, better luck next time.

  • create partition primary

    Creates a new primary partition on the flashdrive.

  • select partition 1

    Selects the recently created partition on the flashdrive.

  • active

    Marks the partition active which is required to be able to boot from it.

  • format fs=fat32 quick

    Formats the flashdrive with the FAT32 filesystem. Make sure you use FAT32 since NTFS isn't supported by most platforms.

  • assign

    Assigns a drive letter for the flashdrive.

  • exit

    Leaves diskpart.

10867177.png

 


Now that we've successfully created our bootable flashdrive, let's copy the setup files to it. Grab your Windows Vista/7 image and either load the physical DVD or your ISO-Image. I prefer SlySoft's Virtual Clone Drive to load ISO-Images. However, you could of course use your favorite tool to do that.

 

To copy the files to your flashdrive, modify and run the following command:

  • xcopy X:\*.* /s/e/f Y:\
54775794.png

 

Alternatively, you could also extract the ISO-Image using WinRAR, 7-Zip or any other extraction tool and copy the files with Windows' GUI.

 


That's it! Plug your USB flashdrive into your computer, boot from it and follow Windows' setup procedure.

 

You might need to modify your BIOS' boot list to be able to boot from the flashdrive. Please see your Mainboard's manual for more information on this.

Edited by Fearless Staff

Share this post


Link to post
Share on other sites

Remember that PARTDISK on XP doesn't recognize USB Drives. I'd recommend i.e. MBRWiz

Share this post


Link to post
Share on other sites

Remember that PARTDISK on XP doesn't recognize USB Drives. I'd recommend i.e. MBRWiz

DISKPART, and that's why it says "This tutorial requires a working Windows Vista or Windows 7 installation." in the description. ;)

Share this post


Link to post
Share on other sites

Oh ye, my mistake ;)

I could make a working XP tutorial if needed and I can figure out the right way :)

Share this post


Link to post
Share on other sites

Umm more info coming...

The older ASUS and especially AsRock MoBos don't support Win7 boot images, you should load it from Vista installation DVD or install vLite and use the boot.bin file from the extracted files.

Share this post


Link to post
Share on other sites

Old is a relative term. I've installed 7 on several "old" ASUS mainboards and it worked like a charm. I don't really see a reason why it won't work?

Share this post


Link to post
Share on other sites

Yep it's mostly on AsRock.

And don't know why...

Share this post


Link to post
Share on other sites

Can you make an XP version please :)

A version on how to create a Windows Vista/7 flashdrive on XP or a version on how to create a Windows XP flashdrive on Vista/7?

Share this post


Link to post
Share on other sites

I think he means how to create a Windows Vista/7 flashdrive on XP

I'll make that if you please :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×