How to Install Windows XP From USB Memory

Many computers--including low-cost, compact “netbook” laptops--are starting to ship without optical drives. But that ultra-portability comes at a cost; namely, when the (unfortunate) time comes to reformat and reinstall your operating system, you may be scratching your head at how to accomplish this. Not to worry, though--you can easily reformat and reinstall Windows with a USB flash drive. The hardest part is simply properly formatting the drive. You need the Windows XP Install CD to format the drive on another computer containing an optical drive.

flash drive
credit: flash drive image by Jenny Thompson from <a href='http://www.fotolia.com'>Fotolia.com</a>

Step

Download the BootSect.exe utility (see Resources) and place the file within your C: folder. This utility allows Windows to properly format the USB flash drive, so that it can boot the computer for reinstallation. These first few steps must be performed on the computer containing the optical drive.

Step

Insert the flash drive into a USB slot.

Step

Log in to the computer as the administrator, if you are not already. You can accomplish by logging out, and back in, via the Windows Start menu.

Step

Open the Windows Command Prompt by selecting “Run” from the Start menu, typing “cmd” and clicking “OK.”

Step

Type “diskpart” into the Command Prompt window and press \"Enter.\" Type “list volume” and select \"Enter.\" Write down the drive letter and volume number of the USB flash drive (volume number 3 and drive letter G are used in this example).

Step

Type “select volume 3” and hit \"Enter.\" Type “active” and select \"Enter.\" Type “exit” and press \"Enter.\"

Step

Navigate to the C: drive, containing the BootSect utility by typing “cd C:\” and hitting Enter. Type “bootsect /nt60 G:” and press \"Enter.\" The USB flash drive is now bootable, and you can quit Command Prompt.

Step

Insert the Windows XP CD into the computer’s optical drive. Open the contents of the disc via Windows Explorer and copy all the files (”Edit” > “Select All,” “Edit” > “Copy”).

Step

Open the contents of the USB flash drive and paste all the Windows XP CD files onto the USB drive (”Edit” > “Paste”). It may take a few minutes for all the files to copy over. Once complete, you can remove the USB flash drive and you no longer need the computer with the optical drive.

Step

Press Enter at the “Welcome to Setup” screen and press “F8” at the license agreement screen.

Step

Press Enter at the “Welcome to Setup” screen and press “F8” at the license agreement screen.

Step

Select a “Custom” installation. Select the computer’s internal hard drive and press “D” to delete the drive. This will completely erase the hard drive, allowing you to reformat it. Press “C” to create a new partition from the newly freed space and select “NTFS” as the file format.

Step

Select the newly created partition as the installation destination and follow the remaining on screen instructions to complete the Windows XP installation. Once complete, the computer will reboot. At this point, remove the flash drive and the computer will launch into your reformatted, reinstalled Windows XP operating system.