Installing Windows XP from a USB pen
Януари 16, 2009 · Печат Този член
This tutorial is designed to help those in need of installing Microsoft Windows XP on any PC that is capable of booting from a UFD (USB Flash Device)
Before you start you will need at your disposal:
- A properly functioning windows PC
- a UFD (USB Flash Device) with a minimum size of 1GB
- A Windows XP CD or image
- A copy of WinSetupFromUSB-0.1.1 available here
1. Изтеглям & Run WinSetupFrom USB-0.1.1.

2. Complete the setup. The program will start automatically once you have finished.

3. Plug your pen drive into the computer and backup anything important from it as we are going to format it.
4. In the WinSetupFromUSB-0.1.1 window: click Refresh next the USB selection box. The USB pen you have just plugged in should now be visible in the drop down menu. Select it.

5. Insert your XP CD or mount an XP CD Image.
6. In the WinSetupFromUSB-0.1.1 window: click Browse, next to the Windows 2000/XP/2003 Source box, and navigate to the location of the XP Install CD.

7. Now click the PE2USB button.

8. Now Tick the Enable Disk Format box under Format Options and Tick Quick Format and Enable LBA (FAT16X). Also make sure that Enable File Copy is not ticked.

9. Click Start. Click Yes when the pop up asks if you wish to continue. Click Yes again when the pop up asks you if you are sure you wish to continue. When you get the Completed successfully message click OK and close PEtoUSB.
10. In the WinSetupFromUSB-0.1.1 window: Click GO. The Program will now create a bootable windows XP install on your USB pen drive.
11. Click agree to the “SYSINTERNALS SOFTWARE LICENSE TERMS” pop up.
12. Click OK to the “This is Important” pop up.
13. The creation process is now complete: Take the newly formatted USB Pen and place it in the USB port of the target computer and turn it on.
NOTE: You must now read carefully what pops up on the screen as it will provide you with the hot-key (keyboard shortcut key) that, when pressed, triggers access to the BIOS. It is usually something like F1, F2, Delete or Escape.
14. Navigate the BIOS with the keyboard and find the section that contains your boot devices. With your USB drive plugged in, the USB drive should be listed. If it isn’t, your system might not support booting from USB.
15. Assuming that it is supported (as is the case with virtually all modern hardware), promote your USB drive to the primary boot device.
16. Exit from the BIOS configuration, saving all changes.
17. The computer will now reboot. Assuming that you have successfully compiled the bootable USB XP install and that you have successfully selected the USB device to be booted first in the bios a screen should appear which reads Windows 2000/XP/2003 Setup – First and Second Parts . Press Enter. You will now be presented with 2 options. Select Option 1 (first part) for the first stage of the installation process.
18. When the first stage setup completes and system reboots select Windows 2000/XP/2003 Setup – First and Second Parts, then Option 2 (second part) for the second stage of the setup.
DO NOT REMOVE THE USB PEN FROM USB PORT UNTIL YOU SEE THE WINDOWS START MENU
References:
How to install from USB- WinSetupFromUSB with GUI, Lets try to make it easy for everyone…
http://www.msfn.org/board/index.php?showtopic=120444




Nice tutorial!
Thank you very much for including a reference back to my site.
Shawn from scartech.net
hmm i thought my RSS reader was lying but you did update your post. last time it didnt work but this did the trick!
nice tutorial mate and cheers
in BIOS Setting
my system shows following option, these are:
USB-HDD
USB-ZIP
which option is correct for first boot device setting….plz let me know
will it work…
prateek, Set to USB-HDD that should work for you. If it does not work you can always change it back to the original setting.
actually after plugging the pen drive to my lappy n setting the bios configuration n starting the lappy ,i found the dos option some hoe like ….. find/menu.list
find /boot/grub/menu.list
find /grub/menu.list
command line,
reboot.
halt.
now wot to do next …..or i m going wrong any way……..
plzzzzzzzzzzzzzzzzzzzzzzz help me…………..
okay this means 2 things:
1. Your pc IS capable of booting from usb.
2. There is a problem with the usb install you have created.
This could either be due to:
- A broken USB pen
- Something has gone wrong when you created the usb install.
It is likely that the windows setup files were not copied to the usb drive for some reason…
Try remaking the usb install.
Hi,
This is not working right from the start for me. When I get to format with PEtoUSB I get the error:
“FormatEx Error[11]: An Error Occurred Formatting the Drive.”
If I check the drive its is now not formatted (windows asks to format when you click on it) – the HP format tool doesnt work either because it asks for DOS files which I dont have, and the use system DOS files is greyed out.
Any help appreciated
Aaron
Hey I did it the exact way but when i choose the the primary boot device to USB – FDD nothing comes.
I tried the USB FDD but it is still not booting
Jyot, Try USB HDD
Aaron,
I have not encountered this problem personally but i did a little research for you.
I have concluded that:
1. This may/may not work in windows 2000
2. Anything above a 2 GB UFD (unversal flash device) will cause errors with this method.
3. Anything above 4GB will simply not work.
This is due to the fact that we have to use FAT16 in LBA mode which is limited to a partition size of 2GB. Although, it has been reported that up to a 4GB partition is supported but is known to cause issues.
I am currently investingating Partitioning larger usb pens in order to make them compatible with the process.
Референтен:
http://74.125.77.132/search?q=cache:x1DeKhOcDSQJ:www.msfn.org/board/lofiversion/index.php/t110779.html+FormatEx+Error%5B11%5D&hl=en&ct=clnk&cd=1&gl=uk
http://www.msfn.org/board/index.php?act=ST&f=82&t=69211&st=0#entry474505
Франк. thanks a lot. In my PC there is no such option as HDD but i remade the whole thing and now its working fine with FDD.
GR8 Work
Thanks, it worked but when starting stage 2 i mean where it has to start the install process it say there is this hal.dll file missing. pls help
sheffrem,
Check your boot order in the bios. The hard drive you want to install too should be set up as the second boot device.
Boot order should be
1. usb pen
2. hdd you are installing too.
The reason you are getting this error is because instead of booting the second part of set up it is trying to boot your previous windows install.
If your boot order is not the problem try remaking the usb installer from scratch. Some files may be missing from the pen drive.
hi,
very thanks to show up this tutorial
i made my kingston 4gb pen drive bootable according to this tutes but the problem is when it is in first phase shows “now windows is starting ” like searching ur hard disk it shows blue screen and stop working
plz tell me what is this
Vikas,
Can you try re-making the usb install. It is likely that some of the files may not have copied over from your xp cd or image.
Please report back with the result.
thanks for answering frank
actually i had 160gb sata hd in my pc and c: is preformatted from ntfs
is this ntfs partition is the problem or not
because in first phase when “setup is installing windows”
is running then it shows blue screen
i think the software has problem with ntfs
tell me
thanks
vikas,
You are going to have to either delete any pre existing partitions or use another HDD. The existing partition is the problem.
hello frank
thankx for ur cooperation
i fully installed my xp into that pc without any problem through usb pen drive
this is very user friendly and more fast than installing from cdrom.
thankx alot frank nice tutorial
very good and usefull software,as CDs get spoiled fast and often
thanks
Simlpy Superb… Thanks & its really useful…
Thanks a lot Frank
Thanks Very Much Frank.
I am only 15 and have been looking to make my acer aspire one on linux boot xp for ages now. i have torrented various xp-usb files and none of them have worked…then there is this wonderful tutorial and software. FAB. thanks!
(oh, if any of you want to boot ANY linux distro from a usb stick then google: UNetbootin download. then download it from the sourceforge website. its great – i firstly replaced linpus lite with fedora 10. (a match made in heaven) not as good as xp on it tho:D )
Joe
Can i appologise for the mass of my comments?!
Well, im not sure if this was meant to happen, but i cant get the xp to boot from the hard drive. i have to boot it from the usb stick and click on option 2 then repair usb – it doesnt repair it…if it was even broken, but runs xp as normal, viewing all my files and the 150gb hard drive in the netbook.
i have actually copied the usb stick files onto my hdd and im gunna see what happens then! – sorry for all the comments
Thank u for showing this tutorial,
I have done it, i mean, i have installed xp on my desktop,
it was not so easy without your help,
thank you so ooooooooooooooooooooooooo much.
Hi joe,
Try deleting all your partitions once you get to the part of the installer where you format drives and choose where windows will install etc (its in part 1 at the beginning). Restart the pc once you’ve cleared all the partitions and start the process again.
If your still having problems try remaking the usb install as sometimes files dont copy first time round. Giving your usb pen a full format will also help.
very good …..
Hey great guide
works great
hehe
I had some problems getting it to work… but it was my mistake
hehe didnt read the whole guide before starting
thanks mate i was looking for this tool… now i want to do some extra work on my instalation like oem disk … i found asus ee pc dont have cd drives ..it works great for that type laptops
thanx , its really works
thanks for your valuable advice
my computer starts working succesfully
great work man.
thnku lolz
Very good tutorial! Thank you very much for the help…
I am having a problem when using the program… I have followed all your steps, but when I try to execute the first part of the installation, the following message shows up:
“Filesystem type is fat, partition type 0×0E chainloader (hd0,0)/$WIN_NT$.~BT/SETUPLDR.BIN
Error 15: File not found”
I don’t know what to do! I hope someone can help me…
Thank you very much…
it really works!!!!
thank you very much for your time and effort in sharing this tutorial!! Mabuhay ka Author nitong tutorial!! ( Long live to the Author of this tutorial!)
hey frank i have a problem,, the installation just kept on repeating,,, windows start menu just dont came out after 3 or for installation.. pls help..tnx
Try rebuilding the usb installer. Sometimes some of the windows installation files do not copy onto the usb properly and can cause the problem you are having. Also, formating of the usb pen a few times may help.
Nice one.
Thanks a lot
it really solve my problem.
thanks !!
Nice tutorial sir. keep moving. thank you……..
hey frank. when i try the USB install on the 1st part of the setup where windows shows you the partitions on your hard drive it does not show any of mine but just the one FAT16 flash drive as the only possible install destination.. Im not sure what to do. are the partitions on my HDD corrupt? I slipstreamed the storage drivers into the install so Setup should be able to recognize my partitions.
Hi Jeff,
It could be a raid issue. do you have a raid controller and if so did you load the raid drivers when windows setup asks during the first part of the install? I think its F6 to start the raid driver loading about 20 seconds into the install.
If not then it could be to do with the order your hardrive is in in the bios. Try making the harddrive the first device and the usb the second or vice versa.
Also you could put the hard drive in a working computer and formatt it on that from within windows. You would have the added bonus of knowing wether the drive works or not if you do this.
Ok. I seem to have gotten around this issue. I made another custom XP install with updated storage drivers for my computer slipstreamed. Now when i start the setup it can recognize my partitions, however; when i select a partition to install on and format it, setup wont get past the copying files stage. First it stopped at around 20%, then the 2nd time i tried it stopped around 76%. I thnk i can get around this issue by wiping my ENTIRE hard disk clean and re-partitioning. But i have valuable data on another partition that i dont want to lose. Is there any way around this? Thnks for the quick reply…
Nvm mind that. Thank God for ubuntu! I booted off the live CD and im currently fishing out evrything on thqat partition onto my flash drive.. So should i wipe my enitre hard disk clean, re-partition and retry the USB setup?
Yeh jeff sounds like a good plan. If the setup continues to fail during the file copy give the usb pen with ur custom install on it a good formatt too because somtimes not all of the windows setup files copy over to the usb pen drive.
Ok, after several attempts i managed to successfully install windows xp via USB as u outlined in this article. (it finally worked after i used the updated version of WinSetup From USB) However, when windows boots for the first time after setup, it stays on the Windows XP boot screen with the bars passing back and forth. So, im not sure what the issue is. it has has been on the screen for quite a while. I also left the USB in after setup. Could this be why it cant get past the bootscreen? Because to my understanding, with the USB install the device must remain in for the 1st time Windows starts up, and after that it is no longer necessary. Once again, thank you for ur help.
Sorry for all the comments. But I think I know what my problem is. I changed the boot order in my BIOS as you instructed to have USB devices first and my HDD second. However, being the idiot that I am, I tried booting of the HDD when the setup finished and automatically restart instead of booting of the USB! So I will wipe the hard disk clean (again), re-partition and retry the install, and allow it to boot to the USB during the 1st system start. When I do this, I just select option 2 of setup (2nd part of Windows setup + 1st time starting Windows)?? Please correct me if my are assumptions are wrong. Once more… thank you for all your help!
That sounds about right jeff. Its good to make assumptions it can help you get a result quicker. call it strategy. the reason i ask users to keep the usb pen in the pc untill you see the start menu is because windows expects its default directory to be on a specific drive letter. If you remove then pen drive the hard drive letter can change and this will cause the windows installation to have the wrong windows directory in the registry which is what causes it to stall on startup as you have observed.
just to explain that further say u had both ur hard drive and the pen drive in ur pc. depending on the boot order ur computer will assign drive letters. So say the pen drive was C: and the hard drive was D: if u remove the usb pen the hard drive will become C: and this causes the issue ur experiencing.
I have written posts on same topic-
Post 1-Installing Windows XP/2003/Vista/2008/7 from USB (GUI Tool) : This post tells use of a GUI tool. Handling of tool is described in detail.
URL-http://compupodia.blogspot.com/2009/09/installing-windows-xp2003vista20087.html
Post 2-Installing Microsoft Windows XP from USB (CLI Tool) : This post describes a command line tool for making pen drive bootable for installing XP. This tool is nothing but the very good integration of all the tools described in above post.
URL-http://compupodia.blogspot.com/2009/08/installing-microsoft-windows-xp-from.html
I have read many comment of your post. I found some have wrote problem of missing hal.dll file. It may cause by selecting GUI mode of installation when you boot from pen drive for first time. To help yourself just read the procedure and follow it correctly.
This looks very good im going to have a play with it tonight. Well done and thanks for posting this valuable information.
m trying your tips but after booting “file\$win-NT$.~BT\biosinfo.inf” not found this error see.
how can solve this problem .
very helpful; thanks a lot; you saved my hours
Risyab,
This means the file is missing. Try making the usb install pen again. You could also try using a different xp cd or image.
you could also try Mayur’s method (see comment from Mayur). however from what I have experienced this method is faster.
Понравилась статья. Обязательно буду ждать продолжения. Данная тема безусловно интересна всем.
Hi Frank, you say that there should not be any partition while installing from usb. So in other words,one cannnot use it to repair already installed xp on pc.
And one more thing Frank, since i did not try it, will i get the option of hard disk partitioning and formating from usb in the beginning as we get when we use installation cd , if i remove partition and format hard disk completely.
sir,
i have usb pen drive of fat32 system…and is not recognized by the soft you are provided…what to do to solve this problem…do i need to have only fat16 pendrives
Mazhar,
The reason i suggest a clean hard drive is because its quight easy to break ur partitions using this method. It is possible but i wont support you because ive never done it with an existing partition.
The install is controlled by a different bootloader to initialise the different parts of the windows install. (part 1 the copying process (bluescreen) part 2 the graphical install so no i dont think it would be possible to repair using this method. hope this helps,
Франк
Santosh,
Try formatting your pen first using the windows drive manager found when you right click my computer icon and go to manage… if that doesnt get it showing up format it to fat16 using PetetoUSB…
Thanks for your reply, I was referring to a clean hard drive in my second query. Will I get the option of hard disk partitioning and formatting from usb in the beginning if i do it on clean hard drive or do I have to use external dos command separately to partition.
Thanks Frank, for the great support . I followed you instructions to the dot and was successful in booting the system.The blue screen came up and all went well till the screen where we get to see the partition details.
Issue:
1. The screen displays only one partition (USB flash drive).
Internal HDD is not detected.
Eagerly looking forward to know how to solve this issue.Thanks once again.
Jerry,
It’s possible you have the bios boot order wrong. Make sure your usb pen drive is first and the hard drive you want to install to is second.
Also, you could try formatting the hard drive and creating a new blank (NTFS) partition by attatching it to another computer. Then put it back into the computer you are working on and see if it shows up then.
Its also possible the hard drive isnt actually being detected. check to make sure its showing up in your bios.
Mazhar
yes, like the normal windows installer, you do get the option to partition and formatt the drive early in the install.
Hi, i have different sort of error. Everything is fine upto selection of which partition to install windows. After i selected drive, it formats But when it is time to copy files to destination disk it says – theFollowing value in the .SIF file used by setup is missing. : value 0 on the line in section (sourseDiskFile) with key “sp2.cab”
To jerry.
There is a option in bios under hard disk section normally it is falled “Enable native SATA support” – on/off . Change this and then the windows setup will detect internal hard disk. This issue in seen when installing from bootable cd, even on desktop computers.
Hey Jeff,
I want to install win xp pro on the 2nd partition of my hdd. But the problem is that I had windows 7 before on the D: drive and Vista on the C: Drive. I then re-installed vista and in vista it says that the system partition is D: when it’s actually C:! (i wiped out windows 7).
So in the xp installation it shows the vista drive as C: and in vista my computer it shows the system partition as D:. So now when i proceeded with the txt mode it worked fine but then the gui mode isn’t even loading. I assume that it’s because of the drive letter confusion and I don’t want to erase the vista partition.
So, how am I supposed to install xp now?
Thanks in advance
mada,
you should take out the hard drives with important data and go find urself a cheap one to install windows on.
When i press GO it says “the copy of your Source is not SP2 or SP3(although its SP2) and it also remarks to copy the missing files afterwards how to do that
I tried with XP SP3 first. Everything went fine and I successfully installed XP SP3 with this method. Later I wanted to install XP SP2.
But this time, it shows ‘windows is starting’ and then a blue screen is shown (Fatal error screen) and the system hangs. !!
Please help !!