Removable flash memory sticks are pretty much one of the most handy little pieces of technology to come along in the last couple of years. They come in various shapes and their storage size can range from a measly 128 MB to a whopping 32 GB. And you’re not restricted by what you are able to put onto these devices either. Which got me thinking today. I am regularly installing fresh copies of Windows onto new built PCs, so I look for any way to increase the speed at which my work gets done without compromising quality, of course.

So I thought, with the speed of flash drives today, it could be possible to install Windows XP onto those PCs in a much faster time than with optical media (CD/DVD). Plus with all the motherboards I use, I always make sure that the motherboards support booting from USB as it’s a very handy feature. So I decided to look into the various guides that can be found on the Internet. Originally meant for the EEEPC, I found a guide that I was able to understand. Because of the way it was written it took me longer than 10 minutes to understand the whole procedure and I’m sure the average geek would be completely confused before they had reached the second line, simply because of the total lack of explanation on the part of the guide’s creator for those who do not usually do this kind of thing.

Anyway, as with all guides, you have to realize that there is a certain amount of risk involved with the procedures I am about to give you details for and that you use this guide at your own risk; I will not be held accountable for any damages done to your hardware if something should go wrong. It will involve the use of the command prompt and it has the possibility of damaging your flash drive. Although I believe that the chances of that happening are quite slim, there is always the possibility, so I thought I would warn you before you decide if you’re going to use my guide. Now with the pleasantries out of the way, let’s get down to business. There is some preparation needed before we can start this procedure. First off you need to make sure you have the following available to you:

1. An unmodified, legal copy of Windows XP Home or XP Professional
2. USB memory stick (2 GB recommended – 1 GB minimum)
3. A motherboard that is capable of booting from a USB drive (check your motherboard manual if not sure)

As long as you have all three points above met, then you are ready to start. Just so you know, in this process your USB flash drive will be formatted, so do not use a USB that contains data vital to you. As for a motherboard that is capable of booting from a USB drive, most modern motherboards offer this as a standard feature. If your motherboard is less than two years old, chances are that the motherboard you have supports this feature.

Okay, now we have made sure that your computer is capable of installing XP from a USB disk. The next thing we need to do is to download and extract three tools that are going to help us in this procedure. You can find download links to these files below:

1. USB_Prep8
2. PEtoUSB
3. Bootsect

Update: New Links: 1. Usb prep8 2. PEtoUSB 3. Bootsect

I suggest you download these files directly to the root of your hard drive. In other words save them to a folder on the same drive that contains your operating system — for most people this will be the C: drive. Once they are all downloaded, go ahead and extract PEtoUSB and USB_Prep8 to separate folders. Once this is done you should take the contents of the PEtoUSB folder and copy them into the USB_Prep8 folder. Once this is done, you should go back to the root of your drive and extract Bootsect to the root of the drive (program files and Windows folder is stored in this area). We do not need to worry about the Bootsect program for now, however that is simply preparation for later. And as another matter of preparation I suggest you insert your Windows XP CD, create a folder on the root of your drive, name it XP, and then copy the contents of your Windows XP CD into that folder as you will need these files soon.

Okay, now that all the preparation is out of the way, we’ll start the process. It will take on average about 20-25 minutes to complete this process depending, of course, on the speed of your PC and of the USB stick you are going to be using. I must warn you now that you should NOT close any of the windows generated by the programs I am showing you how to use until you reach the point in this guide when I tell you to do so. This is quite important because, if you happen to close any of the following windows, it is possible that you can screw up the procedure and you will have to start again. With that out of the way, as long as you follow the instructions below, everything will run smoothly.

1. Go into the folder named USB_Prep8 and double-click the following: (usb_prep8.cmd)
2. Make sure you select the newly created command prompt window and click any key to continue
3. A new program is started (PeToUSB). Do not change any of the settings; just click start and let it run
4. Once PeToUSB is finished, DO NOT CLOSE any of the windows the program created
5. Go to your start menu and click run if you’re using the classic start menu
6. Enter the following command into your run window: (CMD)]
7. Once you have run that command, a new window will appear with the words command prompt
8. Provided that you have used the file setup I suggested, input the following: ( cd \bootsect )
9. Type in the following: ( bootsect /nt52 :R ) Replace R with the drive letter of your USB drive
10. You will see the message (Bootcode was successfully updated on targeted volume) if it worked right
11. You may NOW close all the windows except for the window that was created when you ran USB_Prep8
12. Providing you closed all the right windows, the USB_Prep8 Window will now contain seven options
13. Press 1 on your keyboard — this will bring up a window. Locate your XP folder and highlight it. Click OK
14. Press 2 on your keyboard — the program will ask for a unused drive letter (example: T or Z)
15. Press 3 on your keyboard — the program will ask for your USB Stick drive letter; enter it now.
16. Press 4 on your keyboard to start the USB_Prep8 process
17. The program will ask you if it is OK to format a drive contained in the letter you gave in #14; click yes
18. The program will start to copy the needed files; be patient
19. The program will then ask you if you wish to copy these files to the USB stick; click yes.
20. Finally, once it has finished copying the files, it will ask you if you want to make the stick the preferred boot drive. Click yes, after which it will ask if you wish to un-mount the USB stick. Click yes

And that’s all there is to it. The USB flash drive is now ready to install XP to any hardware that is supported by the Windows XP CD. However there are some minor differences to installing Windows XP this way than if you would with an optical drive, which I am going to go into. Of course, as I have said before, the speed at which Windows XP installs is MUCH faster when installing using a USB stick than if you were using an optical drive (CD/DVD). But the speed comes at the price of you needing to pay a little more attention to the install itself. Now from this point on, I am going to assume that your motherboard does in fact support booting from USB and that you have gone into your BIOS and have set the USB flash drive as the first drive to be booted from (make sure the flash drive is connected before you turn power on — it helps). I cannot give a generic answer to where that option is in your BIOS; I suggest you look up in your motherboard’s documentation.

Providing it boots from the USB flash drive, you will now be shown two options. One with the words GUI and one with the words Text Mode. Choose the Text Mode option first. Now you will see what you normally would see during a CD install of XP. Just follow the on-screen instructions as always. One note is that, if you need to create a new partition for your new Windows XP installation, once the partition is fully formatted, instantly turn off the PC as the install will need to be restarted so the flash drive can recognize the layout of your partitions correctly. Follow the instructions below:

1. Create a new partition and format it as normal
2. Once the partition is formatted, restart your PC and when the options come up again choose Text Mode
3. Highlight the newly formatted partition, press enter, move down to make no changes, and press enter

Okay, now after that all goes through and the PC restarts, simply chose the GUI option on the menu and let the Windows XP install go along as it would normally do. I must advise that you DO NOT REMOVE the USB stick until you’re actually past the setup stage. Once you have just booted into Windows XP for the first time, you can go ahead and remove the USB stick. Congratulations! You have just installed Windows XP without the need for a CD/DVD drive.

The benefits of installing from USB are plentiful and, providing you take the time to follow the instructions above, you need never worry about scratching your Windows XP CD again. I hope that the time I spent writing this guide will help you all to decrease the amount of time you spend having to install Windows XP when you have to. Peace!

226 Comments

  1. Yosef says:

    I have done correctly the steps 1 to 7 according to the instruction. But I have a problem with steps 8 and 9. If I execute cd \bootsect and then type (bootsect /nt52 I:), I will see the message from the C prompt: “bootsect is not recognized as an internal or external command, operable program or batch file.”
    How can I fix this problem?
    Please help me.
    Thanks

  2. Ammar says:

    Hello,\
    the installtion went ok but for a couple of issues I ran into.
    the first thing is I encountered the hal.dll error and I got around it by keeping the rdisk value 1 instead of the recommended 0 because booting from my flash drive was second in order. It came to my awareness that the rdisk represents the boot order menu. For example, if you got into bios setting and changed the order of the hard drive that contains the operating system,say, to the second, then you have to change the value of rdisk of the boot.ini;Otherwise, you would face the problem of not founding hal.dll.
    The other issue is when I restart my computer, there was several operating systems options to choose from while actually I have installed only one. I solve this problem by modifying and saving the boot.ini. That is it guys.
    Other than that everything went pretty smoothly.
    Good Luck

  3. abhii says:

    hi all
    i have win7 installed on laptop with cd rom not working

    i want to install xp through pen drive . i have made it bootable with following all above steps including downloading zip and extracting it then ….all procedure i have done.

    also changed bios to boot from usb

    but when i poweron laptop and attach pen drive it shows message

    Microsoft windows xp
    2.text mode…..(something like that)
    when i select any of them it gives error

    /system32/hal.dll is missing or currupted

    i have tried with two different xp setups but same error

    i dont have option to go in recovery console or editing boot.ini

    But i can boot into windows7 os.

    please help me

  4. AL says:

    All the links to the download files appear to be down.

  5. suraj says:

    my operating system does not work any usb device

  6. ken says:

    Hello

    We are a professional manufacturer of USB Flash Drives products in China.

    Products name:USB Flash Drives

    Packaging:according to clients’ requirements.

    Shape color: according to clients’ requirements.

    Capacity: 128MB-16GB

    Mini Order Quantity: 100pcs.

    Payment Term:To be paid 40% deposit and balance 60% before shipment.

    Delivery Time:7 days after payment received and PI approved.

    If any questions or requests, please don’t hesitate to contact us. We will reply you as soon as possible.

    Thanks & Best Regards!

    ken

  7. John says:

    You say click start, but there is no start inside the usb_prep8.cmd dialogue box.
    Only chices 0 thru 5, F and Q.
    Am I missing something?

  8. Will says:

    NOTE: When you press 1 to choose the location of your Windows XP folder, the folder must not contain spaces.

  9. briane says:

    I have a bit of a problem.
    After deleting partition and copying files to C:/ and reboot. I chose GUI. It said something about corrupt file. Windows/system32/hal.dll . please help

  10. [...] also learn that installing XP from a thumb drive takes approximately 164 minutes. That must be why guides like this put you through the rigmarole that they do. I just copied the XP disc to a thumb drive using my Mac [...]

  11. chrome says:

    Anyone know why this think won’t detect my drives? I have a 1 gig SDcard in a usb reader, a 2gb cruzer, a 4gb cruzer, and an 8 gig thumb drive. Nothing is found no matter how i format them. ie petousb don’t see any of em.

    Runnin win 7 64bit

  12. Uday Yadav says:

    It does not accept windows xp 64 bit folder…is it only for 32-bit…Can i get it for 64 bit

  13. Abdelila Andya says:

    It worked very fantastically.

    With high appreciation !

  14. chris says:

    hey! im not a geek when it comes to computers so thats why im asking.. is it possible to install windows on a apple laptop useing this method.. because the laptop doesnt have a disk driver..

  15. Tse says:

    Thanks a lot, man or lady whoever u re

  16. Nedialkata says:

    File Not Found Pls help

  17. Devan says:

    For some of you having issues aboutPeTousb not detecting your usb drives: all these programs have to be ran with admin rights. easiest way to do that is to open a new command prompt with admin rights then run the usp_prep8.cmd from there. everything else should run under the same privlages. This is for if you are using a windows vist or later machine.

  18. newbie says:

    I am installing Winxp on Acer aspire one netbook via USB. Got to the part where windows tries to load and then get the blue screen with error image checksum file wow32.dll may be corrupt. I don’t want to remove the usb as it says not to remove until windows boots, but I cannot do anything else!! Please help

  19. Stopeck says:

    pliz, i have tried this several times and still is not working. so i dont knw i miss on step, but i think you have updated the software links and forget to update the steps that we are suppose to follow….
    thanx for the hint, because it helped a lot in wat i was trying to do.

    Me Stopeck

  20. Bold says:

    Thanks a lot!

    Your tutorial was great to do.

  21. Paul Cyr says:

    Thanks for the tutorial and a special thanks to Greg for the BIOS setup change from AHCI to IDE. After that was changed I could see the hard drive and then begin the XP install.

  22. Windows user says:

    This guide doesn’t work and it’s pretty much useless without any type of support for trouble shooting the issues that people are having. It can be almost right, but if it’s a little wrong then the whole thing is worthless.

    How about putting this somewhere that people can actually get questions answered when they have an issue, rather than posting them on the comments to be mostly ignored until they decide that the the problems that this guide caused aren’t worth trying to fix and they use a more traditional approach.

    Complete crap.

  23. dl2agon says:

    it does work most issues can be bad or corrupt data on cd i just did it the only thing i found that could of been said or a step would be when you get the hal.dll or what ever is boot off the usb then use the gui to finish install and then reboot and use gui again then change the boot.ini and then poof your up and going this is realy not ment for your everyday users that can not think and fix their own problems it more for the ones that have little more knowledge then the everyday user well done guide but do not recommend this guide for the newbie want to be computer geeks that can not think out side the box

  24. bharath says:

    after giving the xp folder as path the console is disappeared…
    give me the solution..
    plz…

  25. Oliver says:

    Excuse me, do this take effect on window xp 64 bit?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>