Install Windows XP using USB Flash Disk/ Flash Drive - Step by Step Guide

Someone asks me to write a tutorial about how to install Windows XP using USB flash disk/flash drive.
If you want to install Windows XP, but your notebook (or PC) has no CDROM, you should install Windows XP using USB Flash disk/Flash Drive/Thumb drive...
Just follow this guide :

UPDATE: You can use WinToFlash, it's simpler and easier:

UPDATE July 24 2013: WinSetupFromUSB, The Simplest Way to Install Windows XP From USB Flash Drive

Step 1:
Buy a USB Flash Drive (at least 1GB).
When you do this tutorial, please make sure your computer/laptop/PC has a CD-ROM (or DVD). You need computer with CD-ROM in it to build bootable USB flash drive and then you can install XP on any other computers (netbooks) with no CD-ROM / DVD (e.g. Acer Aspire One, Asus EEE-PC, etc.)

Step 2:
Download this software package (Komku-SP-USB.exe - Download) 1.47MB
Anonymous said…
Your download at mediafire keeps timing out, any other hosts available?
Mirror Depositfiles

Download Komku USB

This software pack contains 3 applications :

-BootSect.exe (Boot Sector Manipulation Tool)
-PeToUSB (http://GoCoding.Com)
-usb_prep8 (Prepares Windows XP Setup LocalSource for Copy to USB-Drive)

Step 3:
Double click Komku-SP-usb.exe

Komku Software Package for Windows XP USB Installation

A window will appear... And click Install

Komku-SP-usb.exe installation

Step 4:
Insert your USB Flash Drive.
When I made this tutorial, I am using 4GB Transcend USB FlashDrive...

Transcend flash drive
Locate folder C:\Komku\PeToUSB\
Double click PeToUSB.exe


A window will appear like this...

PeToUSB configuration

Destination Drive : select USB Removable
Check on Enable Disk Format
Check on Quick Format
Check on Enable LBA (FAT 16x)
Drive Label : XP-KOMKU (or whatever you want)
Then click Start

click yes

Click Yes to continue.... 

repartition and format disk

"You are about to repartition and format a disk. Disk: .... All existing volumes and data on that disk will be lost. Are You Sure You Want To Continue?"
Click Yes

formatting drive

Wait a few seconds...

operation completed successfully

Click OK, and you can close the PeToUSB window.

Step 5:
Open Command Prompt ...
Click Start > Run > type cmd > click OK

run cmd

On Command Prompt window, go to directory C:\Komku\bootsect\how to do this?

cmd cd

First type this cd\ and press Enter

Then type cd komku\bootsect and press Enter

cmd bootsect

The result...

cmd bootsect 2

Don't close the Command Prompt window, and go to step 6...

Step 6:
On command prompt window, type bootsect /nt52 H:

cmd bootsect nt52

is the drive letter for my USB Flash Drive, it may be different with yours...

USB flash drive letter

And press Enter

The result... "Successfully updated filesystem bootcode. Bootcode was successfully updated on all targeted volumes."

bootcode was successfully updated on all tergeted volumes

Don't close the Command Prompt window, and go to step 7...

Step 7:


Now type this cd.. And press Enter and then type cd usb_prep8 and press Enter

cd usb prep8

Type usb_prep8 again... And press Enter

usb prep8

Step 8:
Your command prompt window will look like this

press any key to continue

Press any key to continue...
usb_prep8 welcome screen will appear

usb-prep8 welcome screen

Prepares Windows XP LocalSource for Copy to USB-Drive:

0) Change Type of USB-Drive, currently [USB-stick]
1) Change XP Setup Source Path, currently []
2) Change Virtual TempDrive, currently [T:]
3) Change Target USB-Drive Letter, currently []
4) Make New Tempimage with XP LocalSource and Copy to USB-Drive
5) Use Existing Tempimage with XP LocalSource and Copy to USB-Drive
F) Change Log File - Simple OR Extended, currently [Simple]
Q) Quit
Enter your choice:_

Now, insert your original Windows XP CD, or Windows XP with sata ahci driver to your CD/DVD ROM
And back to the Command Prompt window

Type 1 then press Enter...
"Browse For Folder" a window will appear, select your CD/DVD drive and click OK

browse for folder

The result... "XP Setup Source Path" changed to G:\ (yours may be different)

enter your choice

Now for point 2, if letter T is currently assigned to a drive in your computer, you must change it.... If not, leave it as it is
How to change it?
Type 2 and press Enter...

enter available virtual drive letter

"Enter Available Virtual DriveLetter"

For example you don't have drive S so you type S and press Enter
Back to usb_prep8 welcome screen...
Now type 3 and press Enter...

enter target usb-drive letter

"Please give Target USB-Drive Letter e.g. type U"
Enter Target USB-Drive Letter:
Because my Flash drive letter is H
USB flash drive letter
So, type H and press Enter...

After back to usb_prep8 welcome screen...
Now type 4 and press Enter to make a new temporary image with XP LocalSource and copy it to USB Flash Drive
Please wait a few seconds..

proceed with format

DRIVE T: WILL BE LOST! Proceed with Format (Y/N)?"
Type Y and press Enter
Please wait....
When format virtual disk complete, press any key to continue...

press any key to continue

Please wait... Making of LocalSource folder is in progress...

making of localsource folder

When "Making of LocalSource folder $WIN_NT$.~LS Ready"
Press any key to continue...

press any key to continue

"Copy TempDrive Files to USB-Drive in about 15 minutes = Yes OR STOP = End Program = No"
Click Yes, and wait...

copy tempdrive files to usb drive

"Would you like USB-stick to be preferred Boot Drive U: bla... bla..."
Click Yes

change migrate.inf

"Would you like to unmount the Virtual Drive ?"
Click Yes, wait a few seconds, and press any key....
Press any key again to close usb_prep8...

would you like to unmount the virtual drive

Now, your USB Flash Drive is ready...

Step 9:
Now, insert your USB Flash Drive/Flash Disk/Thumb Drive to your notebook (e.g. Acer Aspire One)
Go to BIOS and make your USB Flash Drive or USB HDD (or USB ZIP in some other machine) as primary boot device....

Then boot from your USB Flash Drive....
And select "TXT Mode Setup Windows XP, Never unplug USB-Drive Until After Logon"

Install Windows XP from USB Start Screen

After the Hard Disk detected, delete all partitions, create a single partition... And install Windows XP on that partition...
And wait...

installing xp - setup is copying

Once text mode setup is complete, the computer will restart....
This time select "GUI Mode setup Windows XP, Continue Setup + Start XP"

GUI Mode setup Windows XP

Continue Windows XP setup.... And Done!
Windows XP Installed....

Remember, you can use this tutorial to install Windows XP on any computers.. Even the one with CD-ROM not just Aspire One and Asus EEE-PC....
Good luck!

Anonymous said…
what if i use a 1GB flash drive? will it still work?
Yes it is.. :)

Anonymous said…
hi all
can somebody tell me how to install xp with this method in SATA HD?
i finished the tutorial,but when boot up,the hdd is not showed.
help me plz
Follow this guide (Slipstreaming Driver using nLite)
FYI, you can burn it as image, then use virtual drive as Daemon Tools (Download) to mount it

Anonymous said…
Trying to restore XPSP3 on Medion akoya MD96910 netbook. Worked fine until 99% of files copied then got: Setup cannot copy the file: - giving 3 options (retry, skip, quit). Retry didn't work so skipped. Similar message for iaahci.inf iaStor.inf iaStor.sys. Subsequent XP Boot then failed. I do not understand why the intelSATA drivers (these files) won't load. Will try again with Netbook Bios AHCI mode set to Disable but not confident that will make any difference. Help!
Ref: MD96910 netbook restore. With AHCI mode disabled it works without loading the intelSATA files. I assume these will have to be loaded, just got to figure how to do that now! Thanks for great install guide - brilliant. If you could put a comment about intelSATA it would be great, I cannot be the only person who doesn't understand it.

Allen said…
PeToUSB didn't find any removable flash drive. Please help me.
by the way, I'm using Windows Vista.
Try use XP... or
use another USB port... My friend tried it on his Lenovo... when he plug in his USB flashdrive on left side of his notebook... PeToUSB didn't find any removable flashdrive... he change it to the right side then it works (XP) :)
read this :

Anonymous said…
Easy and well written.. thanks for making our lives easier. Although I should mention that I've tried it inder Windows Vista at first and the USB Flash Driver wasn't readable at all. The whole process must be under Windows XP. Again thanks, and wish you all the best.

Anonymous said…
I was having the "No USB Disks" error with PeToUSB as well with by Samsung U3 (2G) and my microSD + Reader (4G) on 32-bit Vista. The USBs were all formatted to FAT.
Then I switched to XP, and the USB was detected

I want do this is Vista...
Ali Jaffer said…
If you're on Windows Vista, try using the "Run as Administrator" function for both formatting the drive and command prompt.

Anonymous said…
thanks for the instructions works like a charm everytime :D
got one question though, can you use partition manager to make partitions after XP has been installed successfully using this method?
Like Obama said... Yes We Can!

For more FAQ, please read comments section.....

Anonymous said…
Hi Guys this is greate blog Guess what i sued the same instruction to install the Server 2003 sr2 and works well for my Home server
Thanks to you all the Contributor

Everyone please read this WinToFlash Guide - Install Windows XP from USB Flash drive

NOTE TO ANYBODY WHO'S FLASH DRIVE CANNOT BE DETECTED... If you are in Vista or Windows 7 (Like Me) you have to Right-Click PeToUSB.exe, go to Properties, Compatibility Tab, and in Windows 7, choose RUN IN COMPATIBILITY MODE, and select Windows XP (Service Pack 3).
In Vista, just do some kind of "xp" mode. Also, in Windows 7, Command Prompt will probably give you a "denied" message on one of the "CMD" commands. Before going into Command Prompt, Right Click it (When typing into the search box in start menu) and click "Run as Administrator".

"The 11 Year Old Tech Wiz"

Install Windows 7 from USB Flash drive guide

If you found this article helpful, then please share it with someone else by using the buttons below. Thank you!