Installing Windows XP from USB

I wrote this piece back in March 2006 before transferring it to my new blog. It’s quite possible that bits and pieces of this HOWTO are outdated. If any are and you find a solution, then please leave a comment for the rest of us.

— Roderick

What follows is a recipe on how to install Windows XP from USB. You can cut right to the chase or read about how it happened to me first. Sit tight, you’re in for a ride!

Case In Point

You’ve got this Acer laptop with a malfunctioning DVD drive. Specifically, you removed it from its bay and now Windows XP crashes when you plug it back in. Knowledge Base article 310664 matches it to a tee.

Provided solution: update to Service Pack 1, or disable DMA in the BIOS. Current situation: running SP2 and blessed with a “user-friendly” BIOS that doesn’t allow you to disable DMA.

Your luck just ran out, but – being the geek that you are – you don’t whine about it. Instead, you come up with this bright idea: let’s install Linux, that’ll work some magic! And so you get Gentoo Linux installed using a home-bred LiveUSB distribution. And much to your dismay, no proper hot-plugging implementation is provided for your laptop. Curses.

So finally, you call the support line to have them collect your laptop for repair. One problem here: you’re betting they won’t like seeing Linux boot up and, hoping to forego service costs, it’s up to you to reinstall Windows XP.

One problem here: you don’t have a working CD-ROM drive to install Windows XP off, and from experience you know that Windows XP won’t install from an external drive. Blasted!

Enter the cavalry.

Disclaimer

The procedure here is provided without any warranty or support whatsoever. It worked for me and so it might for you. It also might blast you and your laptop to pieces. Some of the procedures described here can wipe all of your data. Thought I’d warn you.

I don’t mean to be inventive here, either. In fact, all the technology has been laid out for us and is readily available. All I’m doing is wrapping it all up in writing. Shouts out to everyone who provided the technology!

That being said, let’s get down to business.

Ground Zero: Ingredients

You’ll be needing ample space on a USB storage device like a thumb drive or external disk drive. 1 GB of storage will suffice. Possibly, you could access the setup files from a network share in which case you’ll only need a 256 MB thumb drive, but I haven’t tried that.

Personally, I booted off a 512 MB thumb drive and put the Windows XP setup files on an external disk drive. So a combination will do just fine, but just make sure that you’ve got enough USB ports: all USB devices will need to be plugged in and stay plugged in while we’re booted into BartPE later on!

You’ll also need a bunch of software, including a valid copy of Windows XP. The other software components can be downloaded freely:

Q: Why Windows 2003 Server Service Pack 1? I want to install XP!

A: Well that’s exactly the trick, though it’s a bit technical. During booting, Windows resets the USB port and loses your boot device. That’s why installing from USB normally fails. But by using Windows 2003 Server’s ramdisk feature in the early phases of booting, we avoid that problem.

Don’t be mislead though: you’ll be installing Windows XP all the same. It’s just that we’ll be using two Windows 2003 Server files from the Service Pack to do it.

You can also do a Windows 2003 Server installation using this same procedure, save that you’ll be needing to update to Windows 2003 Server Service Pack 1 instead of Windows XP SP2, below. That’s assuming, of course, that you’ve got a valid copy of Windows 2003 Server.

You will also need an already functional Windows system to prep the USB disk from. In addition, your target system (the one that needs reinstalling) should support booting from USB. Virtually all modern ones do though.

Finally, not all cheaper USB devices properly support being booted from. The BartPE forums have a partial list of ones that don’t.

Step One: Preparing the Windows XP Setup Files

For this procedure to work correctly, you’ll need Windows XP to be at Service Pack 1 or Service Pack 2. Many newer Windows XP CDs already have either one included.

You can check by inserting the CD-ROM and looking at the files in the top folder. There should be a file named WIN51P.SP1 or WIN51P.SP2. If you see either one, fast forward to step two.If there is no such file, or you’ve got a SP1 CD that you would like to update to SP2, proceed as follows:

  1. Copy the Windows XP CD-ROM to a location on your hard drive. We’ll be assuming C:\winxpcd. I strongly recommend you to use such a vanilla CD. Users have reported strange happenings with custom XP distributions.
  2. Download the Windows XP Service Pack 2 Network Installation Package.
  3. Unpack Windows XP SP2 by running WindowsXP-KB835935-SP2-ENU.exe -x. Note the -x parameter that will allow you to specify a location to unpack to. We’ll be assuming C:\winxpsp2.
  4. Integrate SP2 into the setup files by running C:\winxpsp2\i386\update\update.exe /integrate:c:\winxpcd.

If your system needs special drivers to run, this would be the time to include them (called “slip-streaming”). Doing so isn’t exactly trivial and should only be necessary if you, say, need non-standard SATA support. The process is beyond the scope of this article, but fortunately Google is your friend.

Step Two: Prepping BartPE

First we’ll prep the USB drive we’ll be using for booting. This is by far the largest step in the process, though it shouldn’t be difficult for anyone to follow. It requires a functional Windows system.

  1. Install BartPE. We’ll be assuming that you install to C:\pebuilder.
  2. Unpack PE2USB to C:\pebuilder.
  3. Unpack Windows 2003 SP1 by running WindowsServer2003-KB889101-SP1-x86-ENU.exe -x (that’s assuming that you downloaded the English version). Note the -x parameter that will allow you to specify a location to unpack to. We’ll be assuming C:\server2003sp1.
  4. Create a folder named C:\pebuilder\srsp1.
  5. Copy C:\server2003sp1\i386\setupldr.bin to C:\pebuilder\srsp1.
  6. Expand and copy ramdisk.sys by running expand -r C:\server2003sp1\i386\ramdisk.sy_ C:\pebuilder\srsp1.
  7. Start PE Builder from the Start Menu. Point “Source:” to the location of your Windows XP setup files containing SP1 or SP2.
  8. Make sure the “Output:” is set to “BartPE”. If using SP2: go into the Plugins configuration dialog and enable “RpcSS needs to launch DComLaunch Service First – SP2 only”.
  9. Hit “Build”.
  10. When it’s done building, insert the USB drive you intend to boot from and run C:\pebuilder\pe2usb -f [drive:], replacing [drive:] with the location of your USB drive. This will destroy any data on your USB drive! The drive shouldn’t be partitioned any larger than 1 GB. If it is, then repartition it using Computer Management in the Control Panel.
  11. Copy the Windows XP setup files to the USB drive (or another USB device if you have insufficient space left). You’ll only need the i386 folder.

If no errors occurred in the process, you should now be all set to boot from USB!

Note: it’s possible to use Windows 2003 Server as the operating system to boot from, but I don’t recommend it. Many of BartPE’s included utilities won’t work properly.

Step Three: Configuring the BIOS

You should now reboot and go into the BIOS configuration to boot from USB. Instructions for doing so wildly from system to system, but generally entail the following:

  1. Reboot the system.
  2. While booting (before Windows starts loading), get into the BIOS configuration screen by hitting something like F1, F2, Delete or Escape. Hotkey instructions are generally provided on the screen.
  3. Go to the section that has your boot devices.
  4. With your USB drive plugged in, the USB drive should be listed. If it isn’t, your system might not support booting from USB. Assuming that it is supported (as happens with almost all modern hardware), promote your USB drive to the primary boot device.
  5. Exit from the BIOS configuration, saving all changes.

If you’re completely new to BIOS configuration, BIOS for Beginners over at Tom’s Hardware might be a good primer. Be aware though, that you can seriously screw up your system by providing incorrect settings!

Step Four: Booting into BartPE

Assuming that you properly configured your BIOS and your USB device supports booting, BartPE should now load. Depending on the speed of your USB device, this may take a while.

If it isn’t working, then double-check the following before making a scene:

  • Is your BIOS properly configured for booting from the USB disk? (Is the USB device listed and does it have top priority?)
  • Have you correctly prepared the USB disk in step two? (Restart the procedure.)
  • Does your USB stick properly support being booted from? (Try another one!)

Step Five: Prepping the Hard Disk

You need to make sure that your hard drive is partitioned and formatted properly. Especially if you’ve had Linux or some other operating system on it, you’ll need to repartition and format it. BartPE has DiskPart for disk partitioning and A43 File Manager to format your drive.

If you are sure that your hard drive is set up properly (i.e. it has only run Windows, it has a valid FAT or NTFS partition) then you can safe yourself the hassle and skip this step.

This procedure will destroy any data on the hard drive.

To repartition:

  1. From the Go menu, navigate to DiskPart.
  2. Enter the commands needed to repartition your drive. For example, try the following: select disk 0 (select the first disk), clean (purges the entire drive, essentially resetting it), create partition primary (creates a single partition from the entire disk), assign (assign the partition a drive letter), exit (quits DiskPart).

This procedure will destroy any data on the hard drive.

To format:

  1. From the Go menu, navigate to the A43 File Manager.
  2. Right-click on the target drive (e.g. C:) and click Format. Should be self-explanatory.

Step Six: Launching Windows XP Setup

With your drive all ready, you can now launch the Windows XP setup with a few custom parameters. Let’s assume that the files are available at D:\i386.

Plugging in a device now won’t work. Remember that all USB devices will need to be plugged in right from the start while using BartPE.

  1. Run D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource. Replace C: with the drive you want to install Windows to.
  2. Proceed with the installation. When asked to convert the installation volume to NTFS, answer No. The setup program incorrectly believes that your USB drive (which is formatted as FAT) needs conversion.

The setup program will then silently close, which might make you think that something went wrong. Don’t worry though. Reboot your system, remove the USB drive(s) and – if all went well – you can now finish setting up Windows XP. Congratulations!

All comments are highly welcome. Hope to have helped some of you out! Please donate an amount of your choosing if I have. Donations are handled securely by PayPal.


512 thoughts on “Installing Windows XP from USB”

  1. Hi Roderick – just wanted to say thanks a million for this excellent guide – I got it working nicely after a couple of goes – to fix a laptop with a dodgy dvd drive – exactly as per your example… Worked a treat!

    Thanks again

    Regards

    Paul P

  2. Everything seemed to work until I try to boot the system when I get the following

    Remove disks or other media.
    Press any key to restart

    I do have another USB stick with a DOS boot on it that works fine and is the same make and model as the one I am useing for XP and have even tried useing that one with the same results.

  3. I couldn’t understand some parts of this article Installing Windows XP from USB, but I guess I just need to check some more resources regarding this, because it sounds interesting.

  4. So today I followed your guide by the letter! But It didn’t work, but fortunately I found the sources of the problems.

    1. All 4 USB Sticks of mine resisted getting booted from…

    Solution: I tried a program named “FlashBoot” (Demoversion will be sufficient) and used a BARTPE-ISO to convert from (you can get this ISO in STEP 2 – Point 8 of this guide,just activate “create iso” or something like that and there you have it).
    It worked!

    2nd problem:

    (Im a tablet-user, so you most likely wont have this problem)
    Windows XP wanted to have his precious “TPGWLNOT.DLL” during the installation… I didnt have that because I only copied the i386 folder to my stick!
    Win XP does work but… you cant use your pen…

    2314257th attempt in progress! ;)

  5. I wanted to write here thanking both you, Roderick, and you Timothy for sharing this information. At the place I work, we deal with custom POS machines, and they do not have either floppy drives or CDROMs, so we have a difficult time re-installing the OS if something goes bad. This is great!

    Thank you!

  6. Great guide, a real bacon-saver – thanks loads – i’m using a slightly customised version of this to deploy an image, great for machines without dvd drives.

  7. Hi

    I have tried this and got to the stage where to usb stick allows a boot up til I get missing or corrupt txtsetup.sif. I overcome this by copying the file from an XP i386 folder to my usb stick but then get biosinfo could not be loaded error code 18. I could get passed this but editing the txtsetup.sif file but then fails on another file. Has anyone else experienced these kind of issues??. Any help appreciated.

    Waheed

  8. pe2usb has been packaged into the bartpe newer release. There is no need to uppack PE2USB in Stpe2 2.. Also, it would be nice to add the note that in BartPE build, add /srsp1in custom line.

  9. Hi,

    I want to say thanks for making the guide, but unfortunatly, it does not work 100% for me. For some strange reason everything goes according to the guide, but after I reboot the system (usb key out) it goes back to the file copying portion of the install and if try to select a partition again to install Windows on, it can’t find the files anymore…

    Please help,,,

  10. Hi Roderick, I just wanted to say thanks very much! Initially, I tried a different method for installing WinXP on my Asus Eee PC and it didn’t work at all. Your method worked perfectly! Happy Xmas :)

  11. Btw, if anyone’s interested, I used a single USB stick – a 2GB PNY ‘capless’ model that I picked up yesterday. Interestingly, this one was bootable, but two other sticks, including an older PNY 512MB ‘Attache’ turned out to *not* be bootable.

    Also, I couldn’t work out how to partition the stick as you suggested, so I just left it as 1.8GB. It worked fine. I read somewhere that anything over *2GB* may be a problem.

  12. I am able to follow your directions until I reboot without the key, I get sent to the file copy screen, and it copy’s, restarts, then goes right back tho the same place, any help will be greatly appreciated.

  13. I like the tut and everything! There is one problem though for me. When I go to boot up the USB drive, it comes up with error 14: ntoskrnl.exe could not be found. I have checked in my i386/system folder on my USB drive a lot of times and it is there! What i386 directory should I load onto my USB drive, the one on my computer or the one on my XP CD? I dd the XP CD. Help please!

    E-mail support to [email protected] thanks!

  14. I finally got it all fixed, but I’m stuck on step 6. I typed in the same thing for command prompt except for drive X: where it is. It came up in cmd with the whole “this isn’t here” thing but it’s there where I had it on the USB’s iso. I’m lost now…

  15. Why not use HP’s USB flash disk utility to make a bootable flash drive with dos. Copy the installation files to the drive and then run winnt.exe (instead of winnt32.exe). Sounds like a lot less work.

  16. Nick: haha, installing XP on a Asus Eee PC. The reason I came here in the first place! (Just picked mine up at the store a few hours ago. I found that booting from USB didn’t work well, but booting from the SD card does (if you hit Escape during the bootup and select Boot from SD slot)

  17. I had Hp laptop dv5278ea, dvd drive not working, vista installed, got virus, then wont boot. Had this guide to work perfectly except for one reason, booted up to BartPE perfectly, just that it was not showing the the hard drive of laptop .then had to integrate hard drive drivers downloaded from HP website into the I386 folder with nlite(can download from google,freeware).
    Thanks for the Stuff.

  18. These instructions along with the program PeToUSB saved me! I was finally able to install Windows XP with out a CD-Rom.

  19. Ray- you need to copy the files over to your harddrive, because when it reboots to access the files, it cant install windows because the files you need are on the flash drive!

  20. Hello, I did everything as it told me to and it all worked fine until i tried to boot from the usb. i selected the usb stick in the boot window and then when i tried to boot it said

    Remove disks or other media.
    Press any key to restart.

    Does anyone know how to fix this?

  21. The solution to the issue where it tells you that a file is missing can be resolved by copying the entire SYSTEM32 folder that BartPe creates onto your USB. I had the same issue as you did and that did it for me.

  22. This is to Stephan who said:

    Hello, I did everything as it told me to and it all worked fine until i tried to boot from the usb. i selected the usb stick in the boot window and then when i tried to boot it said

    Remove disks or other media.
    Press any key to restart.

    Does anyone know how to fix this?

    Stephen or anyone, is there a way to get around this problem me and a couple others are having?

    Also, are we speaking of “installing XP onto Hard Drive from USB OR are we speaking of “booting windows xp from USB flash drives”

    Thanks in advance.

  23. I want to answer to the problem:

    Remove disks or other media.
    Press any key to restart.

    are some posibilities

    1. u did not create a bootable flash drive
    2. your flash drive cant support booting from.
    3. your system did not suport booting from USB

    try find answers about this points and come back.
    if u read the entire solution and coments u can understand that . Try other flash drive or “restart procedure”.

    And i was almost forget –
    THANKS RODERICK
    i have problems with my dvd drive from laptop too. Is an excelent guide. I’ll try it too.

  24. when i go to install xp, after i choose “no” to the NTFS format, i get an error that says there is no system partition found? any ideas?

  25. Tried with both a IBM T43 and IBM X61s, but no luck!

    I was using a USB hard drive and correctly followed all the steps. Got “No Operating System Found!” message while booting from the USB hard drive. Any ideas?

  26. i followed these steps. did the boot menu, and got the 2 files from server 2003. and created the bartPE.iso file.
    but i still have a proble. when i boot it says operating system missing. my bartPE file was 78,386 kb.
    is this what u guys got.

  27. Roderick, thanks a lot for this guide. I’ve been trying to make a fresh install on a tablet PC without a cd drive, and your instructions have been quite useful. I just want to add something to your guide. I came across the same problem that Timothy, the solution for that is to add the :all parameter to step six. So the correct line for installation would be:
    Run D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource:all
    Otherwise the tablet pc components are not installed.
    Now my tablet pc is working perfectly.
    Thanks Roderick!!!!

  28. Hi, I have the same or similar problem of REY…
    The usb key boot, i can copy all the stuff with these commandas:
    D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource

    I put all on a primary partition of the disk (the other space is unpartitioned for then install linux)

    When i reboot, without usb key, start a bluscreen of windows installation i do it and after setup and 15 pc reboot, but surprise i see again the blue screen of windows install.

    I follow all the steps, what’s wrong? Could you help me?

    Thanks to all. Great Roderick!!!

    I have a flybook v33i

  29. hi there..
    Pretty good instrucional manual.
    Just was following as you told.But i got this error while booting from USB
    “NTLDR is missing
    Press Ctrl+Alt+Del to restart”.
    Could you please help me out with this. I have the following in my USB flash drive:
    I386
    bartpe.iso
    ntdetect
    ntldr
    winnt.sif

    My flash drive is of 2 GB capacity

  30. Rod,
    can you be so kind to let me know if there is an option to install Windows XP to USB drive and be able to boot Win XP from it
    Thanks

  31. I had issues with this with my 4G U3 flash drive, until I

    1) Removed the u3 partition
    – in windows, assign a letter in disk management to the 5M U3 partition. Open the drive, extract the removal program to a disk, and run it to remove the U3 contents and delete the partition

    2) Created a 1G FAT partition, in Linux with fdisk, and formatted it with mkdosfs -F 16

    Then it worked.

  32. Great instructions! I did exactly what you instructed and it worked well… after spending a week trying to revive my laptop hard-disk I feel relieved. Thanks a lot…

  33. Thanks. This was excellent. Worked very well. I had a problem of installing XP onto a PXI controller for measurement and automation. Used your step by step guide and got XP installed.

  34. Hi. I tried installing Windows using pendrive, but it didn’t work for me (I didn’t try kevin’s idea with reparitioning the pendrive, mine was 2GB). Instead i borrowed (and now even bought one) an IDE/SATA > USB adapter, and connected DVD drive form my desktop. Works like a charm. And since you’re using this guide (therefore have no working cdrom), it will probably come in handy anyway.

    Best regards, Michael.

  35. Excellent, except (for me) very important notice from:
    CJ, on December 2nd, 2007 at 4:36 pm

    Works wit Canyon 256MB USB 2.0 and HP laptop nx5000, but not with industrial PC with Phoenix AwardBIOS (boot from USB HDD can be set).

    Any idea?

    TNX

  36. Awsome guide! Just one request… can you post a link to the ramdisk.sys file from the 2003Server SP1 instead of the entire SP… M$ site really slow took 2.5 hours to download it.

  37. I encountered a problem while trying to run C:\pebuilder3110\pe2usb -f [drive:]

    when I hit run, I always get the error message
    USB target drive set to “I:”
    Checking drive “I:”
    Checking files…
    Error: File “C:\pebuilder3110\srsp1\ramdisk.sys” not found!

    I’m not sure if I copied ramdisk.sy_ correctly, because I ran
    expand -r C:\server2003sp1\i386\ramdisk.sy_ C:\pebuilder3110\srsp1

    but the file wasn’t copied. So I manually copied it to the location.

    Does anybody know, what seems to be the problem?
    Thanks for the help…

  38. same problem as Rain, Ray and xilvio.
    keeps restaring the blue screen installation keeps asking bout partition, then restarts back to the same install screen any help would be greatly apreciated.

  39. I managed to get BartPE working, but now I got a new problem.
    When I enter D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource
    I always get the error message: Setup could not locate help file winnt32.hlp. Help is not available.

    However, I found winnt32.hlp in the i386 folder. Does anybody know, how to fix this problem?

  40. Hello, from Spain.

    Thanks for the tutorial. It really works in my COMPAQ PRESARIO 2500.
    The first time I follow the tutorial, it didn’t work. But, the second time I payed more attention and worked fine.

    Thanks again.

  41. Just like Ray, I am having the same problem. I had booted from the USB drive, ran the command to initiate the first instance of Windows XP setup, then restarted the computer. The installation process started, copied files to the hard disk, then restarts. However, upon rebooting, it just boots into the same screen over and over again.

    I had even copied the installation files from the USB drive to the hard disk manually, then restarted. Same problem.

  42. Hi guys ,
    I have made my install as the instruction manual was but i’m allways booting into the first stage setup again and again what shall i doooo please hheeeeeelllppp

  43. Thanks for the guide!! Everything worked until I had to enter the windows XP key. Since my xp disk is an OEM version (Dell) I do not know the key. Any way to find out or workaround??
    Your help is very much appreciated

  44. I got the USB to boot on the computer that does not have a CD ROM. To the BartPE screen and menus. I am not a windows guy. What do I do next to re-install windows xp on the laptop computer. I do not care about anyting on the laptop. I just want to re-install windows xp, the laptop does not bootup now.

    Your guide was great for getting to point of booting on the USB drive with BartPe.

    Thanks for any help

  45. Thanks a million for this guide.
    Just would like to add that if you start BartPE in a notebook and the hard disk doesn’t show up, try to disable SATA in the bios. Worked for me in a hp pavilion dv2050us.

  46. Great guide. worked perfectly until reboot after it had finishe copying files to the HD, then i got the message operating system not found.

  47. 3. Unpack Windows XP SP2 by running WindowsXP-KB835935-SP2-ENU.exe -x. Note the -x parameter that will allow you to specify a location to unpack to. We’ll be assuming C:\winxpsp2.

    Where does the “-x” come from ?
    When I downlod it to my desktop and unpack it it does not give me an option for the install to location.

  48. Hello,

    Excellent guide, and sincere thanks for it. But i have a little problem: when Loading RAMDISK Image finishes, the bartpe enviroment starts loading, and after two sec i receive this err:

    “Setup cannon load ntoskrnl.exe

    Error code is: 4

    press bla bla.”

    u guys have an idea of whats this about?

    any suggestions?

    thanks u in advance.

  49. Thanks a lot for this great gude – everything worked just fine!

    The only problem I had was that i couldn’t partition my USB stick (4gb) and so I couldn’t format it with FAT. I tried with NTFS instead and it seems to work just fine!

    Tomi

  50. hi,
    the guide is really nice, but i have a question before installing windows:
    can i use the repair function/console, which is included in the xp setup program? because i need just this console to repair my xp and i dont want to install a new one.

    and one more: the last step when i run

    D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource

    There’s a failure:

    “D:[backslash]i386 refers to a location that is unavailable. It could be on a hard drive on this computer, or on a network. Check to make sure that the disk is properly inserted, or that you are connected to….”

    What drive is ment with drive D? I know that D is the USB device.

    i hope that so. can help me

  51. Absolutely fantastic guide!

    I got asked to fix a laptop as a favour, the optical drive is dead (or the IDE controller), and it also has no floppy drive… so that left me with Ethernet or USB

    I don’t have USB optical drives, nor USB floppy drives… I hate laptops lol, so why I have these!

    Anyway, I *tried* PXE booting, I went through all the rigmorol of setting up a TFTPD32 DHCP server and booting with syslinux and… man, what a mess about…

    I probably could have got the net install to work had I known to use switches on winnt32…

    Oh well, USB is a FAR easier solution if I need to do this again. I’m making an image of the fully installed system compressed with Acronis TrueImage which should be about 3.5GB, then I’m going to put the pebuilder folder together with the backup, adding the Acronis PE plugin.

    Hopefully a 4GB flash drive will work… I used a 2GB PQI IntelliStick (in case there are different models, the USB connector slides out, it’s about 20mm x 13mm with the connector in) and it worked fine

  52. I got the USB drive all prepped up. No errors in that. I am trying to revive an old D400 lappy. The USB is not booting there. So I thot I wud try it on my brand new M1330. Changed the boot sequence, etc. It doesn’t boot to the USB there either!

    Am I missing something simple and obvious?

  53. Dude: you rocks. Question tho:

    Can I use this procedure to reinstall or repair a windows XP that has a newer version (SP-2) than the windows CD?

    I am having a couple of problems: 1) can’t download the windows xp pack; and 2) creating a slipstream cd is an incredible hassle. Seems like it would be much faster to create the “slipstream” cd on the thumbdrive and install from that?

    Any suggestions?

  54. Update : I went to my bios and it does not have a setting for a usb drive….only removable is a disk drive. My MB is maybe 2 years old so not sure why it doesn’t.

  55. I managed to get BartPE working, but now I got a new problem.
    When I enter D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource
    I always get the error message: Setup could not locate help file winnt32.hlp. Help is not available.

    However, I found winnt32.hlp in the i386 folder. Does anybody know, how to fix this problem?

    Fresh – I just encountered the same problem! My solution was actually spelling! I’d missed a character out (tempdive I wrote) and I guess it searches for help for that command it can’t find!

    I’m off installing now!

    Hope that helps

  56. Googled here and I got exactly what I needed. Followed the instructions and now my friend has a laptop with Windows XP on it again.

    Thanks a million!

  57. I have been all over the net trying to find something like this! Thank you for sharing your knowledge with all of us! You might try to say all this information was available, but obviously it took more smarts and patience than I (and many others) had to get it all put together and making sense. Once again, THANK YOU!!

  58. Great. I wish i’d known about this earlier, would have saved me a lot of time and energy.

    Just a suggestion, put point 1 of step 6 all on one line, I missed the last option the first time round.

    Also, in the bios setup, it could be listed under harddrive, and not have USB as a separate listing. I only realized this when a friend told me to plug it and check under the harddrive boot sequence. There it lists my USB drive as a hdd.

  59. Rain, Ray, xilvio, vdChild, AFX, TGF… in step six
    D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource replace with
    D:\i386\winnt32.exe /syspart:C:
    Hope that helps, this worked for me. Roderick, great work!

  60. Thanks a lot! This is convincingly working.Hope you post a tutorial for Installing Linux OS from USB.

  61. Roderick,

    I just wanted to say THANK YOU!! I’ve been killing myself trying to find something like this for at least a few weeks now and I’ve tried pretty much every tutorial I could find.

    Thanks again, this tutorial worked beautifully and the install went flawlessly!!

    Berge

  62. After a few minor hiccups and problems managed to work everything out using the directions above!!

    Bumped into the “Bart PE” doesn’t see any hard disk – and solved this with the recommendation above of changing the SATA setting in the BIOS.

    Thanks so much.

  63. Thanx very much! With your instructions, I managed to install a Windows 2003 Server from a USB pen drive into a Proliant DL360 G5 without buy an optic cd unit. Thanx again!!! It works really ok!

  64. This guide seems to work for many people, but unfortunately not for me. When I start booting with the fresh set USB drive from Step2 I get the following error:

    Pen Drive Without Operating System. Remove Pen Drive and Reboot. Operating System not found.

    Also the “pre-booting” is very slow, when the USB stick is plugged.

    I also use an ACER laptop (Extensa 3000 Series) and the DVD-Drive is out of order.
    I use a Kingston Data Traveler (1GB). In my desperation I did a linux-debian USB/Network boot before an installed this one, so maybe this could lead to this error? I copied the i386 folder to the USB drive manually per copy&paste (I just copied the whole folder, not the content directly to the USB top-folder – could this be the error?
    USB-Booting is supported by my BIOS and the USB stick is visible in boot options.

    I hope someone can help me!?

  65. I’m using a Kingston DataTraveler 2GB with an IBM Thinkpad X40 and it’s not working for me either, same problem as Roman, though I’m not getting an error message, just a black screen with a flashing underscore. Perhaps these Kingston usb sticks simply don’t work with pe2usb?

  66. Your method works but for step 2 I used the HP flash format tool to format 512mb sandisk thumb drive and to copy win98 boot disk files. I also had to copy smartdrv.exe Then copied i386 folder, mine was 450 mb, to the thumbdrive. But this did not work at all when I used a 4gb thumbdrive. wierd.

  67. For those having to wait for downloading the Windows 2003 Server Service Pack 1, I highly suggest using PeToUSB. No need for a 330MB download.

    Other than that, everything worked flawlessly.

    Thanks!

  68. My usb drive is the I drive, but when I run C:\pebuilder\pe2usb -f [I:], it kept asking me to format my G drive. does anybody know why? Thanks.

  69. Muchas gracias, thanks a lot,
    After trying lots of methods, this was the only one that worked, my pc is a averatec 4100 with a bad cd-rom and the usb that I used is a 2GB flash voyager.

    Again thanks a lot.

    For all,,, If you have some trouble making bart-pe try again at least 3 times.

  70. mike, take the brackets off the drive letter:

    C:\pebuilder\pe2usb -f I:

    And Roderick, THANK YOU! Thanks to a small form-factor PC with no CD or DVD drive, nor space to put one, this was the only option I had when the hard drive needed XP put on it.

  71. Thanks, Patrick, it worked, now i got another error, when I reboot from usb, it’s kept saying media test failure, check cable. do you know why?

  72. For those having this problem:
    When I enter D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource
    I always get the error message: Setup could not locate help file winnt32.hlp. Help is not available.

    However, I found winnt32.hlp in the i386 folder. Does anybody know, how to fix this problem?

    I struggled with it also, but found a simple resolution: Reboot your computer after formatting your hard drive and try again.

    When I tried it from the first boot, my hard drive was identified as drive D: and the USB stick was drive C:. Upon rebooting after the format process was complete, the hard drive was listed as drive C instead of D. My installation then ran great.

    Hope this helps someone.

  73. Does anyone here get a reply from the author when you have problems? Just curious why he would have a reply box and not post his answers from a few folks here who are having trouble.

    Or maybe it is only what he stated…for “comments” and not questions.

  74. @fish: here’s the author :-) I am reading all of your comments diligently and really appreciate them. It’s been two years since I used this thing myself however, so other commenters are much better equipped to answer your questions than I.

  75. i have an acer laptop with a spoiled dvd drive nice coincidence…

    so i have 2 partitions on a comp and 1 is a 137 gb partition with a lot of important data and 1 10 gb partition…
    how do i install on the 10 gb without losing data??

  76. Two problems initially.

    First, PEBart would not boot from the USB device; turned out that that USB drive was not good for booting…tried another and it worked fine.

    Second, PEBart could not install the network. I had to get the network driver for the computer in question and place the driver files (as a subfolder) in the PEBart directory drivers\net.

    Once those were fixed and PEBart booted with network, I mapped a drive to a shared DVD with XP SP2 on it and installed from there.

    Thanks.

    Amil

  77. Hi Roderick,

    I have tried your solution on my Acer Aspire 3000 and it works like a charm.

    It is probably a problem of BartPE, but the DISKPART tool does not work. So, I have included the “Swiss Army Knife” to manage my partitions. Formatting from A43 did not work either, but this was circumvented with the FORMAT command line tool.

  78. Another tip, can be useful.

    Create a file, named installxp.cmd in the root of your USB stick.

    Add the lines
    format c: /fs:ntfs /q /v:label
    :\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource

  79. The “Diskpart” command now needs to be typed in the Run… area. It is no longer in the menu. It still comes up as a command windows and the commands as shown above are the same.

  80. Works like a charm, for usb sticks larger than 2gb follow instructions on this link:

    http://www.ubcd4win.com/forum/lofiversion/index.php/t9668.html

    once you boot with bartpe, go to command promp and type the first line of member ArVie’s code to format hard drive. Then locate the i386 folder with the windows files and enter the second line of his code. Making a file like he says ended up not working, so just do what I did and enter commands manually in command prompt.

    Bty, if you use something like isobuster to extract installation files from iso, make sure you only select extract and NOT “extract raw” or anything else for that matter otherwise you will get an error in bartpe and will be like wtf.

  81. One last thing, you must use windows sp2 for bartpe, sp3 will not work, but this is only for bartpe. You can install sp3 but you need to use the bartpe sp2. Installation is no different.

  82. Correction 2 posts above: in isobuster select “extract to and current to user data”….”extract to” and “extract raw” both lead to errors in bartpe…sry for the mistake

  83. This is an EXCELENT GUIDE, THANKS A LOT RODERICK, THANKS for the comments guys, now I can install Windows XP in unattended mode and don’t have to burn a new cd every time I make a change in my answer file. By this method the installation process completes quite quicker than usual, because the copy procedure is completed in Windows not in DOS. It works also booting from cd by BartPE CD or UBCD and starting the installation from USB flash drive.
    GREAT. I was looking for such a solution for a long time.

  84. Roderick,

    Thank you for this great guide! I was able to install Windows XP with SP2 network installation on an IBM ThinkPad X60s, which has no CD-ROM drive, using a 2gb Sandisk Titanium Cruzer flash drive. I did not run into any problems at all.

    Thanks again!

  85. Step 2, point 11, could you be more specific on how to copy these files over, do I just copy the i386 folder over? do I go into the i386 file an copy the folder contents from there? Or is it just the i386 folder? Do I still need to copy the other folders of the xp disk?
    When I finish doing everything I get a ‘missing iastor.sys’ error when trying to boot from my usb stick. Anyone got any advice? I might be doing it wrong.

  86. Thank you for this guide, worked like a charm.

    J***:
    just copy the i386 folder (with everything inside it) to the your pendrive. So you will have 5-6 files and the i386 folder in the root folder of your pendrive, and ~500G stuff in the i386 folder.
    No other folders are required from the install CD.

    The iastor.sys is required for installing onto an intel RAID or AHCI device. Disable the RAID and AHCI functions in the motherboard’s BIOS, rebuild your BartPE without adding any 3-rd party drivers and try again to install onto a pure ATA/SATA disk

    BR

  87. Every time I try to boot my laptop using BartPE the message c:\system32\ntoskrnl.exe file missing or corrupt please reinstall this copy.
    I’ve tried anything but until now the message still the same.
    Anybody,Pls help me……

  88. I had some trouble with booting from USB stick – it worked fine for me at first, but after I accidentely formated my stick and not my hard disk I had a hard time to make my tablet PC booting from the stick again (of course AFTER installing BartPE on my stick again :-)
    Anyway, after some more research I found a forum

    http://www.911cd.net/forums//index.php?showtopic=13784

    that helped me create a bootable stick again…finally :-)

  89. For the “Remove disks or other media. Press any key to restart” problem:

    In the BIOS, set the “USB Mass Storage Emulation Type” (or similar) to “All Fixed Disc” (or similar)

  90. Hi everyone,

    Did anyone get an error message saying, i need at least 500mb to install windows and i cant continue?
    I suspect, it has something to do ntfs or sata.

    Please answer.

  91. Bart, THANK YOU SO MUCH!!!! I have an Asus eee PC with no optical drive, and two separate internal drives (no idea why) – one is 4gb, the other is 8gb. By default XP Home is installed on the 4GB drive, and as you could imagine, after installing service pack 3 and other XP updates, it was completely full and choking! Thanks to your awesome guide here I was able to format both drives and put XP on the 8GB drive and live happily ever after! :-)

  92. On step 2, Item #5: I followed the instruction:
    Copy C:\server2003sp1\i386\setupldr.bin to C:\pebuilder\srsp1.

    However, there was no setupldr.bin in the i386 folder from the server2003sp1. There was a setupldr.ex_ file instead.

    What do I do? Please help me.

  93. I guess it’s not working with my flash drive. Can someone let me know what flash drives work for them? I don’t want to keep buying flash drives as a hit and miss.

    Thanks,

  94. Great guide! Majorly handy when trying to install XP from USB onto an asus eee pc.
    Note: More information/instruction is needed on how to format a drive from a usb dongle if for some reason a user cannot get diskpart to work in bartpe (Which apparently is standard) using an HP usb disk drive utility and fdisk I was able to format a partition big enough to get XP onto the machine and format everything else.
    Thanks though!

  95. MORE INFO!!!

    Regarding HD prep. diskpart will NOT function in bartpe, this is normal.
    You need to download something like ultimate boot disk and use the cute partition manager to clear your drive (especially for an asus eee pc!)
    Ultimate boot cd

  96. I get the error “MBR Error 1. Press any key to boot from floppy…”

    Can anyone tell me what’s wrong? I’m completely lost, I did everything correctly.

  97. Great guide. If you have problems, it is a good chance you skipped a step. Thanks for the guide! Diskpart does work.

  98. —– for DUAL BOOT USERS —-
    i’m installing Windows XP in a MSI Wind (subnotebook without cdrom drive) and i wanted to have a dual-boot setup

    this is what i did : i created a 10G partition for my windows xp install and did this tutorial …at the end it didn’t wanted to boot windows xp install (the bootloader wasn’t written, and i was still seeing GRUB)…so BOOT into your linux and add an entry for windows xp MANUALLY to boot the install…after the first text-mode install it’ll rewrite your bootloader (no grub) and you’ll be able to go on with your install as normal…

    in the end you’ll have to boot some mini linux distro from usb or something to restore your grub boot (with both entries in it)….

    :)

  99. thanks for shareing your knowledge, there where many give up hope there I found your webside . unable to use CD-rom to reinstall my computer on Fujitsu Siemens Amilo L7320.

  100. Excellent tutorial, good work! I succesfully installed XP on my Asus EEE laptop from a USB memory stick. It was a 4GB stick, but still worked perfectly.

  101. Hello.
    Thx for this tutorial works fine with english XP.
    Tried first with danish version, but got error when building the files.
    Aniway to be able to build a danish version?

    Thx

  102. Thanks – I have just successfully replaced a buggy SUSE Linux distro on my HP 2133 with Windows XP. I had to use the PeToUSB utility to make the USB bootable – and everything worked fine. It was a coin toss between XP and Ubuntu – but these instructions worked a charm.
    Thank you!

  103. I am confused about the windows server2003 files.

    Unpack Windows 2003 SP1 by running WindowsServer2003-KB889101-SP1-x86-ENU.exe -x (that’s assuming that you downloaded the English version). Note the -x parameter that will allow you to specify a location to unpack to. We’ll be assuming C:\server2003sp1.
    Create a folder named C:\pebuilder\srsp1.
    Copy C:\server2003sp1\i386\setupldr.bin to C:\pebuilder\srsp1.

    But then they are never referenced again. Do they need to be manually added to the flash drive? If so where do they go?

  104. Or the Asus EEE doesn’t like my USB stick? It is a Kingston DTI/2GB, any experiences with it? I flawlessly installed desktop PCs from it…

  105. Pingback: formatting c drive
  106. Hi,
    Thanks for the procedure. It all worked great. I just have one problem now. i just put in a new hard drive into my laptop and i dont have the dvd drive for it….When i open bartpe and i go to the A4 explorer….but my hard drive doesnt show……even though the computer does she it as detected, but in A4 it doesnt show up….all the others do like the usb drives….can anyone help with that please

  107. Thanks Roderick!

    I used your writeup to install Windows from USB on an Asus EEE PC 904, they dont even have a CD/DVD-unit. Worked beautifully!

    James

  108. Hello guys,
    I still have one problem.
    After all the copying in BathPE is done, and after the restart windows starts the copy of installation files it needs to be restarted again so the install to continue. But my installaton starts all over again.
    How do I get it to bypass the blue sceen and continue with the windows installation.

  109. Having the same problem as the guy below, but I did a(n) update to my original from SP2 to SP3:

    kalyan, on January 21st, 2008 at 8:49 am wrote:
    “NTLDR is missing
    Press Ctrl+Alt+Del to restart”.

    Flash drive is 1GB capacity

  110. Thanks Roderick. I had a lot of trust in this guide after trying 3 other ones previously without any success. Unfortunately, the result is the same here: at first reboot after posting the setup files on the drive, Windows cannot find them and keeps rebooting for ever. Before it reboots I get an error message saying: (isass.exe) ‘a write operation was attempted to a volume after it was dismounted’. I have asked for help in several forums without getting any response. Can you help?..

  111. Thanks for the informations, but it keeps showing this error:
    INF files txtsetup.sif is corrupt or missing, status 18. Setup cannot continue. Press any key to exit.

  112. everything ok until step 6. Not a file is copied from usb to hdd when i execute the i386\winnt32.exe……………. command so when i restart withou usb the hdd is not bootable it;s logical because nothing happens and nothing is copied to disk. it;s a complete failure.the overall proccess with the win 2003 sp 1 can be skiped there are already bartpe images with installers which work without having to build you own.except if the folder i386 need to be copied to hdd because i don’t see somewhere to say it needs to be copied.

  113. Roderick,

    Can you create an iso of the entire file setup that should be on the USB for boot?

    I think this would be an easier solution to complement the instructions for those who are having difficulties creating it themself.

  114. Well done my friend! After several other failed techniques, I tried yours, and it worked wonderfully!

    Thank you ever so much!!!

  115. Many thanks for this detailed guide! It was a lengthy process, but I finally managed to install Windows XP on my new MSI Wind netbook, which doesn’t have a optical drive built in, and I was reluctant to spend money on an external drive!

    With your permission, I am going to create a forum post, with a link to this guide, as I’m sure it will help many others!

    Thanks again!

    Stu
    MSI HQ Global forum moderator

  116. thanx a bunch… had the most irritating problem first. the ol “no valid partition” thingy… but i was quick formatting! After 45 mins formatting my 250gb raptor…all is well in happy town!! :-)

  117. After i do everything right and restart
    it tells me am missing
    txtsetup.sif
    but its clearly there

    any help
    and i tried copyinthe sys32 folder nd didnt work

  118. I had bought a hp 2133 mini notebook a while back that had vista on it by default, and no optical drive. Per your instructions, I got windows XP on it in under 3 hours. Great information.

    I tried first with an older 1 gig imation thumbdrive and it stopped reading from the device a few seconds into the boot sequence, but it worked without a hitch with my 2 gigabyte earthdrive.

    Thanks,
    Jesse

  119. Thanks worked like a charm , just a few small things different with the newer BartPE but overall it was very easy to do …. big thanks !

  120. It worked nicely after making my usb bootable with the “HP Drive key boot utility” from HP !

    Many tanks

  121. I am also wondering about the Server 2003 files.

    Do I have to add the srsp1 folder into the “custom” directory when building? This includes them on the usb

    But it boots straight to windows setup instead of BartPE! When does the ramdisk come into it?

  122. Thanks so much for your article. I installed Win XP Pro SP3 from an OEM disk onto my Asus EEE PC using a USB drive. Whew, took me all day, but using your method, it looks like it is now working.

    Yay for BartPE!

  123. @ Kuld33p

    Yes this still works great. i just finished mine today. works with XP SP3 too.

    i am upset that it wont work with my integrated XP install, but hey, what is another 20 minutes…

  124. I have to say thanks for this guide. I’ve set up several systems for unattended installations at work, so am familiar with the technologies. But I wanted something easy and simple for my machines at home.

    I’ve read through countless guides and this is the absolute most simple and easy to follow set of instructions I’ve ever seen. Brilliant.

    THX!

  125. Roderick,

    You’ve done great, but your not done! We need a floppy that will enable us to boot from usb if BIOS doesn’t support it. I know Linux can do this. Windows should too.

  126. Roderick, I’m on step 6 but for some reason my winnt32.exe is not in the I386 directory on my Thumb drive… it’s in the XP Source on my PC… why would it have disappeared?

    Thanks!

  127. This is so frustrating, why cannot anyone actually spend some time making/writing things simple, I am having a USB stick, I just want to Install XP from that, NOT reading an Essay on the subject, and I do not like those answering on questions never asked, internet is too big for being off topic.
    1. IS there an easy graphical point and click program to configure my usb?
    2. I max want to spend 10 seconds with this prog
    3 where is it?
    4. the winsetupfromusb program is kind of the idea, but still is too complicated.

  128. This guide is awesome. As a field tech it will save me enormous amounts of time and trouble.

    Thank you for your efforts

  129. hi guys!

    The tutorial is really great, I must admit. But I got a problem…

    Everything goes fine until I have to reboot first time after some files were copied to the hard drive. I press enter, then I plug out pendrive and wait.

    Normally the disk should read temporary files (I mean here folders $WIN_NT$.~LS and $WIN_NT$.~BT) which were copied earlier and start the installation process, but in my case after reboot there is only a black screen with “_” flickering in the left upper corner. What is going on? Does someone know?

    The disk is brand new, fresh from the store.

  130. Darvin, on October 31st, 2008 at 3:30 am wrote:

    This is so frustrating, why cannot anyone actually spend some time making/writing things simple, I am having a USB stick, I just want to Install XP from that, NOT reading an Essay on the subject, and I do not like those answering on questions never asked, internet is too big for being off topic.
    1. IS there an easy graphical point and click program to configure my usb?
    2. I max want to spend 10 seconds with this prog
    3 where is it?
    4. the winsetupfromusb program is kind of the idea, but still is too complicated.

    =====================

    Pressing 2(3) buttons is complicated for you?

    1. Format USB disk if it’s not already formatted
    2. Browse where Windows Setup files are
    3. Press GO

    Well, if this is complicated, you should pay or ask someone to come to your house and do it for you.

    Or if you have a better idea, or what could be improved, you might post in the program support forum and contribute anyhow, even with a feedback.

  131. I’ve yet to finish setting it up, but if you’re getting a strange “ramdisk.sys was unexpected at this time” error when running the pe2usb script, make sure you install BartPE into a path WITHOUT spaces. So something like “C:\Program Files\pebuilder3110a” won’t work. Just my five cents.

  132. Hi, I’ve follwed the guide exactly and have no errors, however when I boot from the USB it hangs on Please Wait after it loads the RAMDISK image. It happens on two computers, and it is quite frustrating. :(

  133. It works!!! I’ve successfully installed XP from a Dell XP SP2 CD with SP3 streamlined in on a Dell Optiplex SX280 USFF PC. It took me 3 goes to find a USB stick that would boot. The one I ended up using was a Kingston 1GB DataTraveler. I also had the hard drive in my PC partitioned from its use in another PC, so I didn’t use DiskPart. :D

  134. Roderick, i’ve spent a couple of days researching on the subject over the net, and you’ve created the best tutorial on the subject so far.

    Unluckily for me, I have the same problem as J***. Everything seems to work fine until after booting with the USB pendrive I get a ‘missing iastor.sys’ error. I followed janosski’s advice, but I RAID options set up in my BIOS. Can anyone help?

    I’m trying to install on MSI PM8PM-V mobo with Phoenix/Award v6 BIOS, PentiumD CPU and an IDE Maxtor 80Gb drive.

    Thanks a ton to all af you!

  135. Hey i tried, all the steps and everything is perfect…
    but after USB boots system gets stuck on “Please wait” screen…. any ideas what next……….

  136. I am not very computer savy, but I am attempting to reinstall WIN XP on a laptop with no DVD drive. Everything seems to be going ok except I get warnings when I run the PE builder. I have several files that PE builder cannot find. I am able to locate the files in the i386 floder on the windowd CD. the files not found are: iastor.sys a320raid.sys aac.sys and aarich.sys. any guidence on how to solve this problem would be greatly appreciated.

  137. Thanks but you need to update your guide, it doesn’t tell you to put the SRSP1 in PEBUILDER at all! So whats the point of even copying the setupldr.bin and expanding ramdisk… confusing and probably why loads of ppl had the same problem…

  138. Perfect guide, thanks a billion. Worked perfectly for the Acer mini laptop! I tried a thousand other guides, but each of them missed some bits of your steps, causing it to fail. Thanks man!!!!

  139. Thank you for sharing, I will try using Bard PE.
    Maybe you can also try using Symantec Ghost 11.5 which is free to use. Boot the computer using Ghost bootable (such as Hiren), and ghost the partition to image. Than you can open the ghosted file with Ghost Reader to find important files. Btw, Symantec Ghost also good to backup the ready use computer, so if next time something happen with our computer (and need new installation), just restore the ghost file, and everything will be back like new again.

  140. I’m having the same (or similar) problem that many others have had. I got all the way to step 6, the part where the installation suddenly stops and you have to reboot from BartPE and remove your flash drive. Once I do this, the computer goes back into setup, though this time the non-GUI one. After selecting the partition to install Windows to, setup attempts to copy files. At 0%, it says it can’t copy such and such a file. So I opt to skip that file, and it says it can’t copy some other file. This process continues. In other words, it can’t copy ANY file, which I interpret to mean it can’t find the files. This makes sense because I removed the flash drive, where the files are. So I manually copied all files from the flash drive, including the i386 folder, to the C: drive using BartPE. This didn’t work. In another attempt I noticed that when I clicked “Advanced Options” in the GUI setup, it said setup would copy files from D:\i386. So I changed that to C:\i386. Still didn’t work.
    Can anyone help me? I’m getting desperate here…

  141. Hello.

    I just wanted to share what if found to be the easiest way to install my Windows 2008 Server from USB stick.

    I’ve searched google and found lotz of advise and different ways to make a USB stick bootable. Some worked for me, and some did not.

    My way, as i will write about below, works for Windows Server 2008 and Windows Vista installations. It does NOT work for Windows Server 2003 and Windows XP.

    Okay, so here it goes.

    I had a HP Proliant DL120 G5 server with no cd-rom drive and floppy. I wanted to install Windows Server 2008 onto it.

    For this i used a ‘Kinston DataTraveler’ USB Stick with 8GB of space. The only this you have to make sure of, is that it has enough space for the Windows 2008 Server DVD content and maybe some SATA drivers if you need them.

    You also need a computer running Windows Vista og Windows Server 2008 already. Windows XP and Windows 2003 will not do the job…

    Let’s asume you have a Windows Vista computer running. Put the USB Stick into here. Please make sure to backup all content of the USB stick before proceeding.

    Now open a command frompt. You will need to be an administrator on the computer to make this work.

    I will surround all commands with “” in this guide.
    In the command prompt type: “DISKPART”.

    Now type “DISK LIST”. You should now see the USB stick in the list of drives. Let asume the USB stick is listed as DISK 2. Then type: “SELECT DISK 2″.

    Now type: “CLEAN”. (THIS WILL DELETE ALL CONTENT ON THE USB STICK).

    Now Type “CREATE PARTITION PRIMARY”.

    Now Type: “SELECT PARTITION 1″.

    Now Type: “ACTIVE”.
    Now Type: “FORMAT FS=FAT32 QUICK”.
    Now Type: “ASSIGN”.

    And at last type “EXIT”. Okay, so now you can close the Command prompt again.

    Put in your bootable Windows 2008 server DVD and simply copy all content from the DVD using Windows Explorer, to the USB STICK.

    This will properly take some time to complete.

    So, thats it! You don’t have to copy any bootloader or do other stuff to your USB Stick to make it boot. If the target system off course supports USB booting, then this should work fine.

    I read that some had problems when formatting to FAT32, but then tried formatting to NFTS instead and then it worked. However, this worked like a charme for me… Hope this helps somebody.

    If you have any questions regarding this, you can contact me on my email witch is: [email protected].

    /Lasse, Freelance Software Developer
    Denmark

  142. why publish a guide if you cannot answer readers questions? i am having the txtsetup.inf corrupt or missing error. you offer no solution for those with this problem. you have your head up your ass.

  143. Very nice and precise guide, easy to follow.
    But i have a problem =/

    I’m trying to install XP Pro SP3 from a USB, and have followed the how to’s every step.

    But when I boot from the USB, it just freezes after confirming that it’s bootable.
    Something along the lines of “Searching for Boot Record from USB RMD-FDD..OK”, and after that it just hangs.

    I’ve tried to build, with both the “RpcSS needs to launch DComLaunch Service First – SP2 only” enabled and disabled, and 3 different USB’s with no luck.

    Am I missing something?
    The computer itself have run XP before, and doesn’t show any indications of defect, so it should be fine.

    I’ve also tried to have PE Builder make and ISO, and use that to make a bootable USB with UltraISO, but with the same result.

    Any suggestions would be appreciated. =)

  144. I’m also trying to install XP Pro SP3 from a USB, and have followed the how to’s every step.

    When I get to the running of winnt32.exe from the command prompt after rebooting, I can’t find winnt32.exe anywhere?!! And it is in the i386 folder of the original source cd. Any ideas why winnt32.exe was not copied over??

    Thanks

  145. Roderick,

    Just wanted to say thank you VERY MUCH. I have been searching for this all over the web, and while I have found other step-by-steps, your was by FAR the best, most detailed, comprehensive one. Thank you!

  146. THANK YOU DUDE !!!! I’ve do that, with a litlle patience, but’s everything is right.
    I think u cant load a ramdrive cause u don’t pay attention on step two.

    Roderick, you rock !!!!

  147. Excelent guide mate :) Stayed up very late wraping my head around how to make the install prog to install to c: and not my usb drive :) gonna do it properly when i get home today.

    Two thumbs up for ur guide!

  148. Okay the I’m stuck at step any1 lknows how to fix that yet I’m really desperate. Btw ppl with remove disk error, u did not. Format correctly using command, wheb it asks u type yes to format. Type yes holding down shift,

  149. Roderick,

    This is one of the most useful and informative guides I have come across. Couldn’t have been easy to put together from scratch. Really appreciate your hard work.

    I encountered the same error as a few: Restart leads endlessly to TEXTSETUP mode…

    Shortening the command:

    X:\i386\winnt32.exe /syspart:C:

    from its original sorted mine out. Got it sorted on second attempt. Thanks again for the wealth of knowledge.

  150. Roderick …Seriously man ..you are a life savior … This helped me a lot … Awesome … I had given up hopes ..but then I landed on this page …awesome … keep up the good work !
    You rock ! \m/

  151. This method works like a charm. I used it on my Compaq V2620TS laptop, and it worked. And to think my laptop is 3 yrs old, Thanks a lot

  152. have bartpe3110A and XP pro SP3 (750MB) on HDD. Would like 2 make boot USB on 2+6GB flash drive.
    Also have 2 files from server2003 in srsp1.
    All efforts so far R in vain.
    Any thoughts??? ThanxAton.
    [it IS SP3 NOT sp2].

  153. Hi, when i go to install xp, after i choose “no” to the NTFS format, i get an error that says there is no system partition found?

    I’ve followed every step as you said.

    Can you help me?

  154. i just followed your tutorial trying to setup xp on an msi wind.

    everything worked fine, bartpe launches and i can open the command line and diskpart etc…

    but THE SECOND i touch anything on my keyboard, a bluescreen appears saying “win32k.sys – Address BF84AFDF base at BF800000, Datestamp 41107f7a”

  155. I followed this guide (thanks!), in the end it didn’t work because the laptop didn’t support boot from USB (some old Acer aspire), but I think you add the following information to step two
    “It requires a functional Windows system with administrator privileges.”
    When I get to ‘7. Start PE Builder from the Start Menu.’, launching the application gives the message ‘Sorry, this program requires administrator privileges’, even though it installed with no problems.

  156. Congratulations for the tutorial!!!! It works perfectly. I Installed Windows XP SP2 in a netbook Acer Aspire One,and it´s working fine so far! :D

  157. Great guide… the only one I found that worked (with what I had)!! Thank you!!

    One thing though, when it first booted the usb drive had taken drive C. So I removed the USB before assigning the drive letter in the diskpart section. Then restarted with drive C already assigned the first time.

    Thanks again.

  158. Hi!

    first of all thanks a lot for this excellent guide. I went thru d whole procedure step by step n finally configured my USB. But when I booted from USB on next restart, it said
    “Remove Disks
    Press any key to restart”

    & when I pressed a key to continue with USB hooked in , It booted windows normally from C: Partition.

    – any help will be appreciated.

    -Thanks & Regards,
    Harsh Joshi

  159. Thanks for the guide… I’ve followed loads of such tutorials, and had problems every time.

    I’m sure it’s just a basic mistake on my part here…

    I copied the C:/pebuilder/BartPE/i386 folder to the USB stick. Is this correct?

    Loads of the files aren’t in that directory, including winnt32.exe. So, I copied the whole directory from the XP CD, and didn’t overwrite the files already taken from the BartPE folder.

    BartPE loads fine… The USB stick is recognised as X: and has an i386 folder… But the extra files including winnt32.exe don’t show, so I can’t run anything.

    Help please!

  160. Third time lucky…

    I found the disk manager, so I now know:

    C: is the USB
    B: is temp. RAM drive
    X: is BartPE

    So where is my HDD? D: is size 0 so can’t be my 160Gb HDD?

  161. Great tutorial! This helped me installing Windows XP Pro SP3 on my car-PC that has no optical drive and floppy drive installed.
    I didn’t need to use the “DComLaunch” option in pebuilder to get it working.

    Many thanks!

  162. Works fine for me ! Awesome walktrough ! Realy thanks !

    I got it using a boot image of “windows xp sp3 updated dez2008″ and a pendisk with 2gb (kingston) without partition. The RpcSS option i turned on too.

    I have some missing files during the installation, but i simple ignored.

    Thanks dude ! My acer without cd-rom =P do not have problems to install windows now.

    [ ] ´s

  163. Hi,

    Thank you for offering such a wonderful guide.

    I manage to successfully prepare the bootable usb with the xp image. When I try to install the XP sp2 it does get install successfully.

    Thanks once again.

    Regards
    Santosh Mishra

  164. Ben, on January 10th, 2009 at 6:23 pm wrote:

    Great tutorial! This helped me installing Windows XP Pro SP3 on my car-PC that has no optical drive and floppy drive installed.
    I didn’t need to use the “DComLaunch” option in pebuilder to get it working.
    ~~~~~~~~~~~~~~~~~~~~~~~~
    will this really do the trick if I use SP3?

  165. Thanks Roderick,

    This is exactly what I needed for my laptop as it does not have a CD-ROM drive in it.

    Could you add the following (for us semi-luddites) to the tutorial:

    A sample of what the command line should look like for the C:\pebuilder\pe2usb -f [drive:] command – something like: For example – if your USB drive is G: then the command line will be:
    C:\pebuilder\pe2usb -f G:

    (I had used [g:] the first time I ran the command – then I figured it out and slapped my forehead).

    Please clarify (again for us luddites) the folder to be copied over to the USB drive after the USB drive has been processed by pebuilder.

    I (think) it is the following: Assuming you put your Windows XP CD files into C:\winxpcd then copy the entire winxpcd folder (its files and its sub-folders) to the USB drive. You should end up with the USB drive having the following Win XP folders in its root folder: DOCS, DOTNETFX, I386, SUPPORT, and VALUEADD.

    (the first time I tried this I was copying over the pebuilder folder – I know, I know!!)

    Thanks again for providing this to the world.

  166. I tried 3 different USB sticks – all would not boot even though the pebuilder ran with no errors. Then my son suggested I install Linux on one of the sticks to see if it would boot – thus proving the USB stick and the computer I was trying it on were both working for a USB Linux boot. I did that by running the utility at: http://unetbootin.sourceforge.net/ and sure enough – the USB stick and computer DID boot up into Linux. I then re-formatted the USB stick with pebuilder and VOILA!! It now came up under Bart PE. So give that a try if you have a problem with your USB stick not booting into BART.

  167. “DISK ERROR – please reboot and consider to go fuck yourself because you’ll never get anything booted on this fucking notebook. signed devil”

    Seriously, i spent nearly 2 days trying to get past this. This is about the 6th fucking guide i read on this topic. Someone fucking shoot me now. That fucking PE Builder is a bunch of utter, smelly piece of shit.

  168. Cheers for this, worked a treat.

    Just a note to say that on my mini note book (HP 2133) which had SUSE Linux installed out of the box. I was unable

    to continue after I had assigned the drive as it said the drive was 0 Kb in size.

    I found that the disk was RAW format and right clicking the drive to format it in A43 wouldn’t work.

    To get round this, I went to a command prompt and had to use the FORMAT option from in there specifiying the format to NTFS to enable me to format the drive so I typed:

    FORMAT D: /FS:NTFS

    (D: was the drive letter assigned in the previous step of the main guide.)

    Please note that firstly I formatted the drive as FAT32 but due to the size of the drive built into the note book

    (120Gb) it was too big so I retried using NTFS (as shown above) and added the /Q switch for a quick format and it was all good.

    I rebooted in to BART again and carried on the install from the install Windows XP step.

    Hope this helps someone.

    Cheers.

    Nevs

  169. Thank you very much, This worked like a charm. I tried other tutorials from other websites but this one is the only one that actually worked flawlessly.

    Gates has gotta give this a 5.9 for sure :-p

  170. I had some trouble at first. As others reported, I would get to the Please Wait after the RAMDISK had loaded and just before BartPE started (Step Four).

    I knew that I had used RAMDISK,SYS and SETUPLDR.BIN files from a W2k3-SP2 file set that I had on hand, and decided to rebuild BartPE using the SP! versions of those two files. Either the rebuild, or the SP1 files did the trick.

    In answer to someone else’s questions, when you put the two W2K3 files in the \pebuilder\srsp1 folder, as instructed, you can see them being automatically incorporated into the build when the PE2USB command is used to write the PE installation out to the USB drive. I have no idea how this works as I am new to BartPE builds.

    Great tutorial! I especially liked the encouragement to use this for Win 2003 Server installation as well as XP.

    Thanks.

  171. Hi Roderick,

    YOU’RE MY HERO! From Ubuntu (with Linux part.) to Win. XP Pro :-)

    MAN OF GENIUS!
    THANKS FROM AMSTERDAM!!!

    ** I only had problems with Pe2USB; instead I used PeToUSB!

  172. Tried with XP SP3, also different language OS, all worked. Found the following irrelavent during the process,

    Step Two:
    2. Unpack PE2USB to C:\pebuilder.

    Thanks.

  173. Hello, This is a very good self explanatory guide indeed.
    Though Im missing the step C:\pebuilder\pe2usb -f [drive:] to format the drive, I get an error and pe2usb doesnt do anything when I run the program.
    Any help Is appreciated.

    Kongsblood the naab xD

  174. Great tutorial!

    I must tell you that the only thing that worked not at first was the formating procedure: disk manager could not load

    So for all you out there download USB multiboot 10 and make a basic install on your usb with that (there are several tutorials for that here) after you have finished boot usb, press enter a few times to go on with the screen and then enter microsoft recovery console, now with commands diskpart /list enter to see where are your previously formated partitions (linux ext 3 probably) delete them, pres exit, then go back and enter format D: /fs:ntfs where D: is your harddrive letter, now you are ready to proceed with bartPE, now set up your usb again with bartPE, boot in bartPE end just enter the cmd prompt and type the last install instructions from this tutorial…. Run X: etc…

    Hope this helps this all of you that can’t format in bartPE…

    Would be usefull if you fill that info (only the format part) intoo your tutorial, I loosed five days unteel I finished well with formating and begin to setup…

    Thanks to all who partecipated to this project !!!

    Best wishes!

    sandi :)

  175. Thx alot for the guide and also thx to Neville, I had the same problem as you did and formatting the RAW hard drive in the command prompt before copying the installation files solved it. Now it all works perfectly :D

  176. i used this on a Acer with Linux and also had to use a program called Super Fdisk to get the drive reformated and ready. Once I had it ready with Super Fdisk I followed instructions and installed with no issues. Thanx 4 the guide and comments that helped a lot!

  177. Thanks a lot, especially for the hint that SP3 doesn’t work. I made several tries without success but with SP2 it works like a charm.

  178. Hi! Just did it fine with SP3, without any probz or questions whatsoever. Thank you a million for that great guide! And thanx to the author(s) of BartPE. Cheers from Germany!

  179. Guys I am struggling for 3 days to instal XP on my HP 2133 and I can’t make it work. At step 2, point 11 says # Copy the Windows XP setup files to the USB drive (or another USB device if you have insufficient space left). You’ll only need the i386 folder.

    Which I386 should I copy? From C:\pebuilder\BartPE or from Windows XP disc?

    Thanks a lot

  180. sorry for my dumb question from above. :) I finally managed to instal it, but I used HP USB utility and your method is really great.
    Cheers,
    Thanks a lot again!

  181. THANKS A LOT! In 4 days I think I tried all other methods available on the internet, but your method saved me. I first used a Kingston DataTraveler 8 GB and it didn’t work for me (HP 2133 netbook). I finally managed to install XP with Sandisk Cruzer 1 GB after making the USB bootable with HP Utility.

    You are the man Roderick!

  182. Thank you Roderick for the guide.
    I had a successful installation of WIN XP on a DELL INSPIRON 5160 (with a faulty CD-ROM obviously) using an ADATA USB 1GB capacity, however not without few glitches!
    It all works ok as per Roderick’s guide, the issue that I had (as many seem to have had here) was after the 2nd boot up, when Windows goes through the setup (Blue Screen), and the user is given the options of whether repairing or setting up Windows (obviously setting Windows in this case). The first time I ran it, windows wouldn’t find certain files (such as hraidsk1, etc…).
    A solution that I found worked fine was to:
    1] – Restart with the USB plugged in (that is to access BartPE again)
    2]- In A43 File Manager (similar to STEP FIVE: GO > Programs > A43 File Manager)
    3]- copy the files in the i386 folder from the USB [eg. D:] (that were copied from the XP CD as stated in STEP TWO point 11) into the i386 folder in the temp directory $WIN_NT$.~LS in the installation drive [eg. C:], when asked to replace the files already existing, just say no.
    When rebooting again, the Blue Screen will haunt you again, and the hraidsk1 will still not be found!! However all the other files are copied successfully (even though hraidsk1 is in the correct location, it still wasn’t picked up! Not sure what’s happening there).
    After that you will be able to go through the normal setup of windows.
    Hope this helps.

  183. Hello, i was trying to get this to work on my HP pavilion dv2000 but when BartPE is loaded and when i want to type somthing in CMD or Diskpart i’ve got a blue screen and i don’t know where it comes from. Any help would be appreciated =p

  184. Excellent Guide !! Worked flawlessly !!

    Just wanted to share following few things

    1. My issue was My CD drive wasn’t working neither bios was detecting external CD drive

    2. I wanted to install XP on External USB Drive. So prepared XP installation per http://www.ngine.de/article/id/8 guide.

    3. Prepared USB stick per guide here.

    4. Boom !!

    Now I am able to boot from external USB as independant OS when internal drive removed as well as while connected with internal HDD.

    Thanks a million for this excellent guide !!

  185. This is really great!!! It worked perfectly! The instructions were great and clear!

    Thank you so much! Saved me money!!!!

  186. I tried this on a viglen MPC-L. It tried to boot from the USB but then stopped and said ‘missing operating system’. Any advice welcome on how to solve this! Many thanks

  187. Than you. Worked great on my HP NC4200 notebook even if i encountered the missing plugins.ocx. Skip it and works great.

  188. This an excellent procedure for installing XP from usb, it worked from first time and I couldn’t believe accurate it is. Thanx, you mad emy day …

  189. I finally got this to work, some tips for anyone having trouble –

    In Step Two the instructions are not clear that you need to add the files extracted to the /srsp1 folder need to be copied to the XP /i386 folder of you install files before running the PE Build – at least that was what worked for me.

    after you complete 6., copy the two files you make in the /srsp1 directory into the /i386 XP install files – you’ll overwrite one of the files. Then continue to 7. and run the PE build

    My next problem was that I had the XP install loop described by several of the previous comments. I would run the first part of XP setup, it would copy all the install files over, then on reboot would just go right back into the blue XP setup screen and would want to copy the files again.

    To resolve this I had to go back to Step 5 and make two partitions on the hard drive – one for the XP install files, and the other to install XP to. To do this, boot back into BartPE. Run Diskpart again,
    select disk 0
    clean
    create partition primary size=(N)
    assign
    create partition primary
    assign

    the value (N) should be the total size available minus a gig or so, in megabytes. so in my case I had 149GB of space, I enetered size=148000. You just need to allow enough space for the install files. the second ‘create partition’ command will use all the remaining space. When I had done this I had a large c: partition and a very small e: on the hard disk
    Format both volumes with A43

    now, to make this work you must edit the arguments for the winnt command so that the install files go to the small partition and then actually installs windows to the large one. So with C as the large main and E as the 1gig install partition, the command was

    D:\i386\winnt32.exe /syspart:C: /tempdrive:E: /makelocalsource

    hope this helps some who got stuck. I’m off to install drivers now

  190. So, this didn’t work for me today, but i think it is because the laptop (Toshiba Portege M200) doesn’t support booting from USB. I have a working desktop system, any ideas on how I could prep the laptop harddrive to boot my external usb DVD (Pioneer) that has a bootable windows XP Tablet DVD so I can load onto the system? I have no floppy and without USB boot options, I figure I have to prep the harddrive some how.

  191. BACKUP ALL IMPORTANT DATA TO EXTERNAL STORAGE FIRST AND I AM NOT I AM NOT RESPONSIBLE IF YOU MESS UP/DELETE YOUR DATA. Ok, here is MY scenario: I have a working version of the preinstalled from factory Xp Home installed on my old Dell Inspiron b130 Laptop computer, with no working cd drive of course, and I NEEDED to test/install a Xp Pro to a different partition, because I only have one drive. I wanted to test out the ROYAL SLP Preactivation method on this Dell BEFORE DELETING MY CURRENT INSTALL. I have a PNY Attache 2 gig that is Black and Orange and my source for my Windows I386 files were from a “non branded” Windows Xp Pro SP1 Oem disk that I slipstreamed using the method described in this article. The type that does not have any “OEM” preinstalled crap on it. I started out by making my Partition from my working install using the FREE HOME VERSION OF easeus downlaoded from http://www.partition-tool.com/personal.htm. I did it this way, because why do it in dos if I can do it from my working installation. Once easeus Free edition was installed on my existing Xp Home install, I then made my partitions. My original “Factory Installed” Os is Oem Xp Home and is located on partition “c:”, so I “resized” my C partition so I can make room for my new partition which I called “T”, (you can use any available letter) but it showed up in BartPE as drive “E” and is NO BIG DEAL as long as you KNOW FOR SURE what is your CORRECT DRIVE that you want Windows installed to. I did ALMOST everything in this guide and it worked perfectly after my second try (my fault). After creating my BartPe usb flash drive and booting, I was trying to access my ntfs drives in Bart’s “dos mode”, but I was always locked/being redirected to the “X” drive (which IS The actual BartPe iso file THAT IS LOCATED ON THE PNY FLASH DRIVE). I could not figure out how to access my “drive letters”. I did not want to risk accidentally deleting/killing my working Xp Home install on drive “c:” while in BartPe until I did my test. I did not use ANY formatting or partitioning tool while in BartPe, because I already did that from my working installation of Xp Home with easus. Of course, if you have a “FRESH” drive, then you will HAVE TO format in BartPE. THESE/MY Instructions are for people that want to install Xp on another partition with an already existing Windows Xp OS on another partition, but the concept is the same anyway. Once you get booted into “BartPe” with your flash drive, click on the Orange “GO” icon and then click on “Programs” and then click and open up “A43 “File Management Utility”. Here is where I FINALLY SAW ALL MY DRIVES AND PARTITIONS. The following is what BartPE showed on MY Configuration. Yours may be the same or differ slightly. BartPE has its own naming scheme. Okay, for me, The “B” drive is the “RAMDisc [B]” which is what is loaded when you first boot up BartPe and the “C:” is the “Local Disk [C]” where my Original OEM Xp Home Os is installed and the “D:” drive is “Removable Disk [D]” which is the ACTUAL FLASH DRIVE WHERE I COPIED MY WINDOWS I386 FOLDER TO (but this is not your BartPe iso file, even though it is on the Usb Stick) BartPE [X:] is the X: drive. The “E:” drive is the “Cd Drive”- even though mine is broken and does not read or write any cds, lol and the “E:” drive is the “New Volume [E]” WHICH IS THE PARTITION THAT I MADE IN WINDOWS EARLIER which was labeled “T” inside windows, but it shows as “E” in BartPE. If you highlight a drive and look at the bottom, you will see the “free” and “total” size of the selected drive or Partition or you can also “right click” on the Drive or Partition and click “Properties” and it will show there (just like Windows does). This is how I was able to know FOR SURE that the [E:] drive was the CORRECT PARTITION THAT I WANTED TO INSTALL WINDOWS ON. Once I knew the CORRECT Partition that I wanted to install Windows on, then I did what the article says and clicked on the Orange “GO” and then “Run” and FOR MY SITUATION, I typed the following line (WITHOUT QUOTES) in the “Run” box

    “D:\i386\winnt32.exe /syspart:E: /tempdrive:E: /makelocalsource”

    D: is my Usb Flash drive where I copied my I386 files to (you can put whatever location/drive letter that you put YOUR Windows I386 folder and E: is that “T:” Partition that I made in Windows earlier AKA “syspart” and in my case also the “tempdrive” and “makelocalsource” also and WHERE WINDOWS WILL BE INSTALLED. Do just as the article says.

    2. Proceed with the installation. When asked to convert the installation volume to NTFS, answer No. The setup program incorrectly believes that your USB drive (which is formatted as FAT) needs conversion, BUT IT DOES NOT.

    The Windows setup/screen will then silently close AFTER FILES ARE COPIED TO WHEREVER YOU MADE THE “TEMP DRIVE” (in my case it was “E:” and you will be back in BartPE, which might make you think that something went wrong.

    TIP: You can see 2 copied Windows folders with WIERD characters that will be used to install Windows in the drive that you selected earlier when you put in that “Run” command. Use “File Management Utility” to browse folders in whatever drive.

    Don’t worry though. Reboot your system, remove the USB drive(s) and – if all went well – you can now finish setting up Windows XP.

    See, the command I put in the “Run” box in BartPE copied my files from my “D:” drive which is my PNY FLASH DRIVE onto my “E:” drive a.k.a. “T:” inside Windows. I suppose I could have relabeled the drive with the letter “T”, but I just wanted to test out the install first, before spending too much time configuring. After my Xp Pro was installed all I had to do was configure my dual boot, but that is not within the scope of this comment. If you do not want to bother with setting up a dual boot, then once in your New Windows install, you can just click “Start” then “right click” on “my computer” then click “Manage” then on the left side pane you will click on “Storage” and then click on “Disk Management” and select the partition or drive of your original OS that you want to boot up and on next reboot and “right click” on it and select “Mark Partition as Active”. On the next reboot, that Partition/Drive will be booted up. You will need to do this WHENEVER you want to reboot into a different partion/Operating system UNLESS YOU SET UP A DUAL BOOT SCENARIO.

    One small other thing, AFTER I installed Windows Pro on the other Partition and tried to use my PNY BartPE flash drive on another computer that I needed to install Windows on and I ended up getting a “corrupt winnt.sif error”. I fixed this by just copying over another BartPE “winnt.sif” that I had backed up into the root of my PNY usb flash drive. The file is only 1 kilobyte. I do not know if dual booting caused this or not, but it is not a big deal. Worst case scenario, just remake another BartPE usb disk thingy -__- . THIS DID NOT EFFECT MY XP PRO INSTALL OR MY EXISTING XP HOME INSTALL IN ANY WAY. It only happened AFTER my XP PRO install and it ONLY EFFECTED the BartPe on my usb flash drive. Most users will only need this BartPe once or so, but for those who run into computers with no cd drives all the time, then you will need to recopy this “winnt.sif” to your flash drive AFTER every install. Of course, if you are able to keep re-using the BartPE with no “winnt.sif” error, then disregard my “winnt.sif” solution. I have a PNY Attache 2 gig that I got in 2003 or so and it is Orange and Black. Oh yea, the install finished in like 10 or 15 minutes on this slow 1.4 ghz intel celeron 512 ram Dell and BEFORE I was even finished writing this, lol. Oh yea, my Windows “SLP Oem Pre-Activation” worked PERFECTLY. I now have a LEGIT Xp Pro with NO CRACKS and no ACTIVATION REQUIRED. Just like when you buy it from the store. You need to have an OEM machine like Dell, Hp, Acer, Toshibe, Sony, Asus that had Windows Xp Home or Pro “PREINSTALLED” AND the correct “OEMBIOS” files from your computer OEM INSTALL AND the correct SLP KEY that your Manufacturer used or use google to find ALL THESE THINGS if you no longer have your shipped OEM INSTALL running or for more instructions. I now can delete my old Dell Xp Home install and keep this FRESH XP PRO INSTALL without all the DELL CRAP. Or, I can just integrate ALL THE DRIVERS or sp3 and see if that works. If the sp3 install works, then I will report back tomorrow. THIS computer will NEVER need Xp Activation again. As long as I use my Windows copy that has the OEMBIOS files for Dell. Hey, I suppose I can use this on ALL my Dell computers. WOOOOOOOOO HOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hope this helps you guys

    Veronica from the SEED

  192. Hiii….
    I m really reatfull 2 you for writing such extensive tutorial.
    This thing really clicks, at least for me…. :))

  193. too much pain in the ass I dont understand, why cant It be as simple as installing from CD.

    I mean there are programs that can make boottable USB stick in just 1 double click

  194. Nice guide, showed me the right way to approach installation (was having issues with HP 2730p and USB CD/DVD-drive).

    So, the case was to install Windows XP Tablet Edition 2005 from USB-stick. Went allmost the same as the guide says, but few mods was needed:

    – If you are installing Tablet Edition, you need the i386 -folder (as said in the guide), but you allso need the CMPNENTS -folder copied to your usb-stick.

    – When you are starting to copy the installation files in BartPE, add “all” -parameter to /makelocalsource. Like this: D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource:all . This will copy the Tablet Edition needed installation files also.

    So only few mod’s needed and all went just fine :-)

  195. Thanks a lot nick. After a day of banging my head to make it work..your post was the biggest help..

    Thanks a ton..

  196. Thanks Roderick, you saved my day. After hours of mind-breaking actions, finally found your website and working solution for my problem.

    Keep up the good work!

  197. Excellent guide, if you follow it EXACTLY as it says, works PERFECTLY. Thanks for it!.

    Regards.

  198. All I get at this point is the BART PE splash screen. It will ask me if i want network support and then no matter what I say it eventually just sits at the splash sc reen. There is a “go” at the bottom of the screen That could be a button but I do not have mouse movement. alt f or enter do nothing. any help would be great.

  199. I find this guide a bit challenging since i usually keep my Windows folder on C:\, Program Files on D:\ and User Accounts on E:\, but i’ll give it a go.

  200. I give up, I’ve done all the steps and when compiling BartPE I’m getting this error:
    Error: file ‘iaStor.sys’ not found! …and the file is well and fine there!
    So, if I cannot use the modified Win XP SP3 (made with nLite) with Intel drivers included (chipset and SATA) I’ll not be able to install the system!
    I don’t expect you could help me, but I’ll really appreciate it.

  201. I just wanted to thank you for this wonderful information! Your method is the only one that has worked. I was fixing a small Dell laptop with no cd drive in it and needed to put windows on it. This worked better than any other how-to!

    Now time to put Linux on another partition…

  202. THANKS Roderick THIS REALLY WORKED BUT ONLT PROBLEM I FACED WHEN I TRIED DISK PART IT DIN’T WORK AND ALSO WHILE FORMATING IN THE APPLICATION A43 FILE MANAGER IT DINT WORK, LASTY USING COMMAND PROMPT IT COULD FORMAT IT.

    IF POSSIBLE PLEASE LET ME KNOW HOW TO INSTALL WIN 2K THROUGH PEN DRIVE.

    VIVEK SHETH, INDORE – INDIA

  203. Thank you dude, really good stuff here. I was just looking for a good tutorial for installing XP from USB and this a good one ;)

  204. Thank you! Just got two laptops w/o CD drives to work on, and this tutorial made it so much easier getting them running again. This can be useful for a plethora of things for PC repair situations.

  205. i have a problem to install windows xp in compaq presairo cq40-410tu.every time i want to install.the blue screen is appear .and do you know what is the sata raid for this model.and the manufacture is intel.

  206. Hi guys!

    To make it much more easier just use pebuilder.exe to create a BartPE and then use petousb to install BartPE (if u don’t know what is BartPE that is the result of using pebuilder.exe ) in your USB. The rest is just like the way Roderick said.

    If u don’t know where u can download PeToUSB just type it in google.com. Just select ur usb and click “enable format” and then click “enable LBA (FAT 16X)” and click the button that have three dots. There will be another window that will open. Navigate to where you ur create BartPE (the one u first make by using pebuilder.exe) and then select it and click “OK” the window will close. Click “enable file copy” and then click “start” and that’s it u can know copy ur I386 folder to ur USB to install Windows XP.

    Just make sure your BIOS is properly configured.

    For the summary this is what u need.

    1. Windows XP CD with SP2 OR SP3
    2. pebuilder
    3 PeToUSB

    U don’t need Windows Server Service Pack 1.

  207. after spending hours failing at doing this, I found this page and got the job done. thanks for the clear and well-written instructions!

  208. Thanks, Henri Aalto, on April 1st, 2009 at 4:34 pm wrote: – If you are installing Tablet Edition, you need the i386 -folder (as said in the guide), but you allso need the CMPNENTS -folder copied to your usb-stick.

    – When you are starting to copy the installation files in BartPE, add “all” -parameter to /makelocalsource. Like this: D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource:all . This will copy the Tablet Edition needed installation files also.

    You need to also do this when installing Media Center Edition. If not, then you will end up with Xp Pro, lol.

    Also, if you do not want to use the “all” switch, then you can just manually copy the CMPNENTS folder to the i386 folder after running command and before rebooting. Thanks. For those that are having problems formatting from Bartpe, you may need to do a diskcheck first and reboot or you can do as I did and download “gparted” live cd or “Ubcd” and use the free Home Edition of Easus Partition Manager. Great guide.

  209. Oh yea, I forgot to say that you can also use this method on a laptop or desktop that can not boot from usb and has no cd rom either. You simply unplug the hard drive and stick in another machine that can boot from usb and you do these steps. After you run the “D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource” command, all you need to do is shutdown computer and unplug drive and connect back to original computer and then start up that computer and the install will work PERFECTLY. This is much much better than installing xp from dos 7.1, because there is no dos conversion that needs to take place. I successfully did this method on a computer that did not boot from cd or usb stick. all you need is a laptop to ide hard drive adapter to plug up hard drive into a desktop computer. Great guide. Where is the “Donate link”? You deserve it.

  210. Hi im trying to install xp pro sp3 on my Dell Inspiron 700m laptop. Of course, my cd drive is broken and of course my recovery partition is damaged. So I thought I was out of luck until I found this guide. But i have a problem, I keep getting the error “MegaSR.sys not found” when I try to boot, I noticed that when I was building the image with BartPE, I would get two warnings at the end, one of which says that MegaSR.sys was not found, but the build was successful. Can anyone help me with this issue?

  211. Well it took me some time, but now XP is finally installing on my laptop with broken cd-rom. I tried a million other ways, but this one worked (after some trial and error) flawless.

    Thanks Roderick! Grtz Rob

  212. Hi. I followed this exactly but I get “Invalid or damaged bootable partition” WHat did I do wrong??

  213. Hello, everybody!

    First of all, I’d like to thank Roderick for this great guide.

    Secondly, I followed it step by step and it didn’t work for me.

    Scope: ACER ASPIRE ONE D150

    I had the same problem that Dietrich had, I mean, my laptop’s hard disk was not recognized by BartPE.

    Googleing thru the network I found this:

    http://www.911cd.net/forums//index.php?showtopic=21918

    So the reason of BartPE not recognizing my hard drive is just that it doesn’t have the propper drivers.

    I followed this guide:

    http://www.911cd.net/forums//index.php?showtopic=21918

    step by step to install Mass Storage DriverPacks inside BartPE and it works nice. It should also work in many other scopes/laptops, because Mass Storage DriverPacks contains lots of drivers for many SCSI adaptors.

    Just one addition to the 911cd.net guide that will help you all:

    -In order to achieve the figure 2 with the “DriverPack MassStorage text mode” checkbox checked you must copy

    DP_MassStorage_wnt5_x86-32_901.7z

    into your C:\DPsBase\DriverPacks directory, DON’T UNCOMPRESS IT.

    Both guides together worked perfectly for me.

    Best regards, people!!

  214. tried this but now getting a messages saying
    .sif file used by setup is corupted or missing
    value 0 on the line in section [source disks files]
    with key “binifix4.cmd”
    setup cant continue
    help please

  215. Hello,
    I have following issue: my bartpe bootdisk doesn’t find my local C: drive, it only has following drives:
    RAMDisk B:
    BartPe X:

    that’s it.
    Anybody any ideas on how to make BartPe recognize my C: partition? I can’t install windows now, I get the message that there is no system partition…

    Thanx in advance,
    C

  216. hi
    how do i make my transcend pendrive bootable in vista…. ?? actually i hav 2 laptops n i want to install xp in my 2nd laptop thru a bootable pendrive….. while am tryin to make my pendrive bootable thru vista setup in d 1st laptop…..
    plz help.., thnx in advance

  217. Hi,

    I got the same problem as Saleh98 et Catalin with ntoskrnl.exe, error 14 : ntoskrnl.exe could not be found. Please help !!!

  218. help please

    Chris, on June 15th, 2009 at 8:53 pm wrote:
    Hello,
    I have following issue: my bartpe bootdisk doesn’t find my local C: drive, it only has following drives:
    RAMDisk B:
    BartPe X:

    Have you tried to check up ur Bios after an option over AHCI or IDE? If you got AHCI enabled you might want to change to IDE. And see if you can read the files there.

  219. 1. Get Hiren 9.8 or 9.9
    2. Make Flash Bootable refer: http://www.hiren.info/pages/bootcd-on-usb-disk (works on brand pc or laptop 100%, others sometimes not – depends on board and bios).
    3. Copy into flash XP distributive folder, or iso. Remember Serial key.
    4. Boot from flash
    5. Select options Mini XP
    6. In XP:
    6.1. Find Local Harddisk’s C (maybe c, d, etc)
    6.2. Rename old system folders if you have that:
    6.2.1. “Documents and Settings”
    6.2.2. “Program Files”
    6.2.3. “WINDOWS”
    6.2.4. “Users”
    6.3. In harddisk’s C Make folder Install and copy here XP distributive or extract here an iso. then

    !!!!!!!!! REMOVE USB !!!!!!!!!!!

    In harddisk’s C \Install folder run setup
    type serial
    in Advanced options type folders:
    Source: C:\Install
    Destination: C:\Windows
    go ->
    after copying files reboot

    boot from HDD

  220. In response to:
    Chris, on June 15th, 2009 at 8:53 pm wrote:
    Hello,
    I have following issue: my bartpe bootdisk doesn’t find my local C: drive, it only has following drives:
    RAMDisk B:
    BartPe X:

    I had to use the DiskPart utility included with BartPE. I created the primary partition. When I rebooted, the local disk was assigned the C: drive letter and my USB drive had the E: letter. I could install after that.

  221. Great build, using it about a year:

    depositfiles.com/ru/files/kcnd005tt

    – Best Windows XP usb flash edition 2009.

  222. Works perfect so far.
    Used some random 2gig stick, a custom SP3 slipstreamed nlight copy of XP, and have had no trouble yet :D

  223. Billion thanks for ur work and self for making this guide. Made me new experients.

    Thank you very very much :)
    p

  224. Used this to install XP on a Tosh NB100 running Ubuntu. Most difficult part was making a 1gig partition on the USB key. I used Boot-It and SFDisk for that.

  225. works a treat! Very good walk through especially for netbook/ultra portable laptop users who generally do not have CD drives to install from.

    I used this guide and it worked excellently.

    Thank You for taking the time to share this info!

  226. Pingback: cdromdrive
  227. Great guide! Had no issues at all! I couldn’t get my Dell Mini to boot from an external CD-ROM so I came here. You solved all my problems, thanks!

  228. Thanks for the tutorial! Sounds interesting, and I’m going to give it a go. It’ll be good to use this method for a IRC Bouncer Computer I’m doing up to use on my IRC Network.

    Cheers!

  229. All I can say is that you are a huge help.. I’ve been to several other websites that used other methods on how to install windows via USB and, like many other people on those site, have had soo many problems that no one seemed to answer because the idiot who posted it just copied and pasted from another website.. so he didn’t know what he was doing.. You on the other hand have created such a detailed and wonderful guide.. I have already recommended you to my friends and haven’t even waited for xp to finish installing cause you’ve already got me further than the previous sites.. Kudos to you man.. You rock!! god bless you

  230. You are damn great! this is a great tutorial and works like a charm. This is what I’m talking about. Highly recommended!

  231. I just have one request. or maybe two. Haha, Can you make similar tutorial which applies for vista and windows 7. That will be highly appreciated, Thanks mate

  232. I have followed this tutorial twice. I had Ubuntu 9.04 on my HP dv6120us laptop. I completely erased everything on the HD before I plugged in my USB Stick, which is a SanDisk Cruzer 4GB. Everything works up until it starts in BartPE. I go to create the partitions on the drive and, lo and behold, I have no drives to select from.

    I’m fairly new to this whole thing, but my knowledge isn’t all that limited. I can’t figure this out to save my life. Someone please help…

  233. Ok, figured it out. Had to disable SATA Native Support in the BIOS on my laptop in order for it to work. Thanks Roderick!!!

  234. Here’s my setup:
    I was able to use this method to install XP to a 32bit pre-installed Vista Netbook. No probs and worked like a charm! So, it works…….

    I then tried to take the same usb drive over to my band new Asus CM5570 desktop (64bit machine, brand new), and when I select the USB drive to boot from, absolutely nothing happens. I know the thumb drive works!!! Proper boot orders are selected in the BIOS and everything.. IT SHOULD WORK!

    I know that BartPE is not “supported” in 64 bit.. but “supported” and “works” in 64bit are two totally different things…

    Has anybody gotten this process to work on a 64bit system already runing Vista?????

    Please help…

  235. Plugging a USB device in BartPE is possible! You just have to assign a drive letter with DiskPart! Pay attention because a wrong command can wipe out your usb drive!

    1.BartPE already started
    2.You hot-plug the usb device
    3.Start DiskPart
    4.Type list disk
    5.Type select disk # (# is the number of the USB disk, usually the one different from 0, but there may be more or different configurations)
    6.Type detail disk
    7.Type select volume # (# is the number of the volume you need, you can see the size in the detail list)
    8.Type assign
    9.Restart A43 Management Utilty and voilà

    It’s more difficult to explain than to do, but it saves you the time of a BartPE restart (very slow in my case) and you can transfer files on the go via USB

  236. oh God, thanks a lot , may problem was solved because i dont have cd rom and one night i descover and try n error to understanding this method, thanks a lot bro and all, may God bless u .

  237. Well tried that manual and it worked so far BUT i can’t install xp, because my Hardisk can’t be choosed.

    My drives are:

    RAMDISK B:
    BartPE X:

    i have a HP pavilion Notebook,

    Any hints for that problem ?
    thanks in advance

  238. ive followed instructions step by step and come up with error 14: ntoskrnl.exe could not be found. any ideas whats causing this? it runs through the ram image progress, but then gives me the error…im working with an HP netbook 110, sata drive 160gb. usb booting works because i tried a basic usb boot config to make sure it did..any help would be awesome since here i am stuck 2.5 hours later….

  239. Thanks for the instructions. I had problems with the Diskpart, but I downloaded the MMC from here and was able to make it work.

  240. Hey.. got a problem, when i want to boot from the stick it says ” The file ahcix86.sys could not be found ” even though its on it… why can that be?

  241. I am trying to reinstall Windows XP on a netbook that recently had Ubuntu installed on it. However, I do not have a bootable CD-Rom drive and therefore I needed a bootable USB in order to install Windows XP. I have tried the method from Tech Republic over a hundred times already but it is only close to this working one. The article failed to mention the fact that in Step 2, if using Windows XP SP2, in PE Builder, you need to enable a plugin “RpcSS needs to launch DComLaunch Service First SP2 only.” Only then will the USB be bootable. Then you must also copy the i386 folder from the Windows CD to your flash drive to install it. Although this article was not 100% step by step, it was very complete especially what to do with Bart PE and is very useful and helped solve my problems. May be a little more complicated for non-technical users. Thank you so much Roderick!

  242. Hi all,

    I’ve read this article atleast 5 time now and I am still wondering what to do with the folders made in these steps:
    # Unpack Windows 2003 SP1 by running WindowsServer2003-KB889101-SP1-x86-ENU.exe -x (that’s assuming that you downloaded the English version). Note the -x parameter that will allow you to specify a location to unpack to. We’ll be assuming C:\server2003sp1.
    # Create a folder named C:\pebuilder\srsp1.
    # Copy C:\server2003sp1\i386\setupldr.bin to C:\pebuilder\srsp1.
    # Expand and copy ramdisk.sys by running expand -r C:\server2003sp1\i386\ramdisk.sy_ C:\pebuilder\srsp1.

    As far as I can see, we create them, expand one, and that’s it, so why do we bother to make this?
    Can someone explain this to me or what to do with these folders please ?

    Greetz,
    Bart

  243. One more thing, I did everything people have suggested here and all the steps.
    BartPE starts just fine, but when I want to start the installation, it can not find winnt.exe.
    I just copied that file from my XP cd to the i386 folder on my usb stick, hope that’s enough.
    But nobody ever mentions this, so I’m wondering what I did wrong, since my winnt32 file was not in the folder.

  244. So far so good. Only thing is I did it on a 2gb flash drive…seemed to work ok for me. After I read the comment about it not being anymore then 1gb I was freaking out. I checked online how to partion a USB drive, because the comment about using Computer Management doesn’t work. It will only format and repartition the whole drive as one. So I was going crazy, since most of the programs I tried failed horribly. Now Im not saying your wrong, just maybe add it in as a adviser that someone used a 2gb and it worked fine:). Right now Im in the setup phase and it has yet to mess up so I’m hoping it all goes well. Thank You so very much for this. My application is a little different from this scenario though. I needed to reinstall winxp, because I bought a Kohjinsha e book while I was in Japan. I used it for a while in Japanese but it just got irritating using the japanese menus and not really knowing if Im clicking the right thing. Anyways, thanks again very helpful!

  245. Thanks for the great guide!
    I have used BartPE before and done unattended setups as well, but I didn’t realize the needed extra command switches for WINNT32 to redirect the local and temp files!

    I was able to use your procedure along with nLite to create an unattended XP Pro XP3 installation onto an ASUS EeePC 1005HA with the AHCI storage and other drivers slipstreamed into the installation!

    http://www.nliteos.com/

    @Bart on Oct 3, 2009 at 11:03PM
    The Server2003 SP1 files are needed for BartPE to be able to boot from a RAMDRIVE which what these files are for.

    These files get picked up during the C:\pebuilder\pe2usb -f [drive:] step.

    To quote Bart Lagerwiej, “The 2003 setupldr with ramdisk option prevent windows from crashing or a 0x7b stop error (inaccessible boot device).

    This happens when windows is loading the USB devices drivers and the USB driver “resets” the USB bus. When we are riding from the ramdisk loader, we are not dependant any USB vendor windows driver from resettings the USB bus. We can now boot successful from “most” usb capable of booting hardware.”

    Check out this page for more info: http://www.911cd.net/forums/index.php?showtopic=10806

    @Bart, on October 4th, 2009 at 1:01 AM
    I didn’t have to “copy” the WINNT file specifically, but I did copy the entire i386 setup directory and all files, perhaps the first time you performed this step you didn’t get all files copied over?

    11.) Copy the Windows XP setup files to the USB drive (or another USB device if you have insufficient space left). You’ll only need the i386 folder.

    @JJ In Hawaii, on October 9th, 2009 at 2:38 am
    2GB USB drives are fine, I believe the problem starts at 4GB and higher because you the FAT16 file system only supports 2GB max partition sizes, which is required for step 10 PE2USB.CMD.
    I tried editing the PE2USB.CMD file and added a FAT32 format option instead, but then I realized the RAMDRIVE feature being used only supports 2GB sizes, so you really must use a USB drive of 2GB or less, or find some clever way to partition your USB drive (which I found challenging and gave up on for the sake of time, it was faster to use a small USB drive.)

  246. @Galvan, on September 1st, 2009 at 12:57 pm

    I’m thinking maybe you ran into the same problem with your Netbook that I had with my ASUS EeePC 1005HA. In order to get BartPE to be able to access the internal hard drive you may have to provide BartPE with the proper Mass Storage Driver. In my case I needed to add the AHCI driver for BartPE.

    Help for adding drivers to BartPE is here:
    http://www.nu2.nu/pebuilder/help/english/drivers.htm

    With storage drivers you have to be careful, they are needed in Text mode when the PC is in installation infancy and also in GUI mode when WIndows has grown up during installation. Make sure you edit the TXTSETUP.OEM and comment out the drivers you do not need.

    In my example I needed the AHCI driver which I copied to my PEBuilder directory as shown here:

    Directory of C:\pebuilder3110a\drivers\SCSIAdapter\AHCI
    iaahci.cat
    iaAHCI.inf
    iastor.cat
    iaStor.inf
    iaStor.sys
    license.txt
    TXTSETUP.OEM

    The TXTSETUP.OEM file was edited to comment out with a # sign the drivers I do not need for my Netbook. I only needed the iaAHCI_ICH7MMDH driver.

    ;#############################################################################
    [scsi]

    ; iaAHCI.inf
    #iaAHCI_ESB2 = “Intel(R) ESB2 SATA AHCI Controller”
    #iaAHCI_ICH7RDH = “Intel(R) ICH7R/DH SATA AHCI Controller”
    iaAHCI_ICH7MMDH = “Intel(R) ICH7M/MDH SATA AHCI Controller”
    #iaAHCI_ICH8RDHDO = “Intel(R) ICH8R/DH/DO SATA AHCI Controller”
    #iaAHCI_ICH8MEM = “Intel(R) ICH8M-E/M SATA AHCI Controller”
    #iaAHCI_ICH9RDODH = “Intel(R) ICH9R/DO/DH SATA AHCI Controller”
    #iaAHCI_ICH9MEM = “Intel(R) ICH9M-E/M SATA AHCI Controller”
    #iaAHCI_ICH10DDO = “Intel(R) ICH10D/DO SATA AHCI Controller”
    #iaAHCI_ICH10R = “Intel(R) ICH10R SATA AHCI Controller”

    ; iaStor.inf
    #iaStor_ESB2 = “Intel(R) ESB2 SATA RAID Controller”
    #iaStor_ICH7RDH = “Intel(R) ICH7R/DH SATA RAID Controller”
    #iaStor_ICH7MDH = “Intel(R) ICH7MDH SATA RAID Controller”
    #iaStor_ICH8RICH9RICH10RDO = “Intel(R) ICH8R/ICH9R/ICH10R/DO SATA RAID Controller”
    #iaStor_ICH8MEICH9ME = “Intel(R) ICH8M-E/ICH9M-E SATA RAID Controller”
    ;#############################################################################

    Just make sure you use the proper storage driver for your Netbook! Then you can build your BartPE and it should now be able to access your hard drive in your Netbook.

  247. @Galvan, on September 1st, 2009 at 12:57 pm

    One additional tip… I also used nLite to slipstream the AHCI and other drivers into my XP installation folder before step 11 where you copy the files to use to install on your Netbook.

    http://www.nliteos.com/

    This is most likely necessary because if BartPE didn’t have the correct storage driver to use, it’s a good bet the WIndows XP install CD doesn’t have it either, so your install would need you to press F6 and provide the driver off an A: floppy drive (which I didn’t have on my Netbook) so slipstreaming the mass storage driver was the only way out of this problem.

  248. Thanks a lot, great guide! I found so much on google that was useless, but this worked great first time, just got 34minutes of the install left to go :)

  249. Hi Roderick,

    Thank you so much, your guide saved me lots of time!

    Works also fine with an unattended file. I used a nLite generated folder where i added additional drivers and information for an unattended setup.

    For those who try to make the same: you only have to add the parameter /unattend:d:\winnt.sif (or wherever else your winnt.sif is located) to the install command:

    d:\I386\winnt32.exe /unattend:d:\i386\winnt.sif /syspart:C: /tempdrive:c: /makelocalsource

    I have put it in a batch file for I have to regularly use this USB stick to instal Lenovo X-Series Notebooks.

    Greetings Stephan

  250. Used this method and worked first time for me.
    Many thanks for this page and keep it going please (as I’ve bookmarked it for the future!)

  251. Hi. That’s a very good guide, for real it is. I don’t know if you have heard or read about some windows that don’t come with setup.exe. How can they be installed? I’m referring to those UE windows that only install booting from the CD. Any suggestions or help are welcome.

  252. Greeting from Jakarta, Indonesia.
    Thank you so much. I finally successfully install WinXP Pro SP3 on my Acer Aspire One 531h using Kingston’s Flash Disk. It worked at first attempt.
    When I tried to do the same steps on my friend’s notebook using his old 1Gb HP flash disk, it wont’ boot up the BartPE. But formating the flash disk using PeToUSB.exe with the following checked marked:
    – USB Removable
    – Enable Disk Format
    – Quick Format
    – Enable LBA (FAT 16X)
    prior to no 10 on “Step Two: Prepping BartPE” solved the problem.

    Thank you

  253. Hello;

    Ive folowed this tutorial and evrything worked exept now I can’t instal Windows it says that “it cannot format the disk it may not have enough memory ” I nhave Acer Aspireone Intel atom 1.6 1 GB RAM and 120 GB of HDD

    HElppp???

  254. Builder has stopped because there are 4 build errors
    Building done…
    There where 4 errors and 11 warnings

    Error: closeHive() failed: RegUnLoadKey (key=”PEBuilder.exe-C:/pebuilder3110a/BartPE2/i386/system32/config/petmphive”) returned error 0: Access is denied.

    Cleanup temporarily files
    Error: DeleteFile() “C:\pebuilder3110a\BartPE2\i386\system32\config\petmphive” failed
    Error: DeleteFile() “C:\pebuilder3110a\BartPE2\i386\system32\config\petmphive.log” failed
    Error: DeleteFile() “C:\pebuilder3110a\BartPE2\i386\system32\setuphiv” failed
    Error: DeleteFile() “C:\pebuilder3110a\BartPE2\i386\system32\setuphiv.log” failed

  255. I got this working nicely WITHOUT requiring Windows 2003 Server Service Pack 1.

    I just used Bootable USB-Drive Utility (http://www.911cd.net/forums//index.php?showtopic=21702) in place of step 2. When running Bootable USB-Drive Utility I answered yes to all questions and when booting from USB I chose to boot BartPE using WinPE Kicker.

    The rest is pretty much standard as per this tutorial

  256. I followed your steps. But no matter what I do when I try and run the 1.Run D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource. I always get the pop stating “please go to the control panel to install and configure system components”. I must be missing something. Please advise

  257. Big, big thanks for this tutorials, i couldn’t have done it without it !.

    The notebook pc i was working on was acting stupid and not reading my boot DVD even though the same boot DVD worked in another notebook, same model number, exactly the same notebook pc. So i had no other choice to boot from USB, since it has no floppy drive and this notebook model supports booting from USB..

    Kind Regards from Canada Montreal.

  258. Good stuff, friend’s netbook started giving the old ‘load needed dlls for kernel’ errors and after much hassle trying to get the recovery console going and swapping out drivers i just said “to hell with it” and decided to reinstall the whole lot. fair play to ya!

  259. Excellent guide!

    I had the problem that my BOOTMGR file was compressed.. tried fixxing it by installing linux but it didn’t work. So I followed this guide and found that a43 file manager lets me work with properties of files! So I unchecked the filecompression box and rebooted and it worked! :D I wasn’t able to work with partitions by the way, somehow it was blocked?

    X

  260. Thank you so much for this guide. Although it took me a few tries for some reason, I finally got the laptop to boot the USB drive, only to discover I copied the i386 folder from the Windows Server Service Pack instead of my XP install. So a quick change back to my working computer and I got it sorted.

  261. I am getting “Missing Operating System” when I boot off of my usb stick just like: GXie, Elusha, splitsoul, and Neil Coburn have been getting. I have followed the guide and done everything properly. I moved my usb stick in the bios ahead of my hardrives. The only thing I can think of is that my 1GB stick may not be able to be used to boot off of and that this may have been the problem for the others too.

  262. I think I found the answer to the “Missing Operating System” problem. I believe it has to do with the boot.ini file on the usb stick when it is ready to be used. There is a line (or more than one line in the file) that says:

    multi(0)disk(0)rdisk(1)partition(1)

    My understanding is that the “partition(1)” means install on the first partition of the hard drive. I was trying to install xp on my third partition (because i am using drives c and d, i am going to install xp on drive e), so the 1 has to be a 3 like this:

    multi(0)disk(0)rdisk(1)partition(3)

    I have also done a lot of reading in the meantime to find out that this may make a huge difference.

    I dont know if this will work for this guide because I went on to find a different way of installing xp with a usb stick.

    Hope this helps

  263. Hi,
    I tried to install windows xp prof on my netbook Acer Aspire D150.
    It is a brand new netbook with windows XP home edition install on it

    I managed to get until the windows installation after running the command

    winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource /noreboot

    , insert the product key, refuse to convert to NTFS. But then, I got an error report:
    “No valid system partitions were found. Setup is unable to continue”

    – Unfortunately Diskpart doesn’t work
    – if i start the A43 Management utility program, I can see that under “My Computer” only following drives are available:
    – RAMDisk(B:)
    – BartPE(X:) –> the USB drive

    so my questions are:
    – what is this RamDisk(B:)
    – why can’t I see my C:\ drive?
    – I didn’t reformat my harddisk before because I check in Computer Management and it lists the following:
    –> ACER (C:) – Partition – Basic – NTFS – No error(Systempartition)
    –> PQSERVICE – Partition – Basic – NTFS – No error(EISA-Configuration)

    So I assumed it has only a primary partition which is NTFS-formatted, am I right?

    Would be very grateful for any help

  264. @he_man2003
    See my post above. I’ve sucessfully install WinXP Pro on brand new Acer Aspire One 531h.

    a. I don’t need their bloated SW, so I want to get rid of the hidden partition containing the recovery SW.
    b. I have a legit WinXP Pro with VLK licence
    c. What I need is the driver out from the hidden recovery partition.

    I got these on my hand:
    a. Acronis Disk Director, I create a bootable Flash Disk cotaining the Acronis Disk Director to make partition
    b. USB-External DVD Writer

    What I did was:
    1. IMPORTANT!! Create a Driver DVD from the recovery program (You need an external DVD Writer for this). You have to do this, unless you’re willing to DL the driver from Acer’s Website. Unfortunately on their website for some HW they list more than one driver, say for the Webcam it can either Sunyin, LiteOn or Chicony. Rather than guessing, creating a driver disk is a handy solution since it only contains the driver of the HW installed on your system.
    2. Once you created the driver’s DVD, boot from Acronis Disk Director’s USB Flash, Delete all partition, create new one (I create two partiton, one for all SW, the other just for all my data). Format from Acronis, since DiskPart is not working from BartPE.

    The rest just follow the steps on the above tutorial. It works.. :) Hopefully it helps.

  265. “You will also need an already functional Windows system to prep the USB disk from.”

    let’s say you only have a computer and you need to reinstall the OS, probably damaged partitions, you can’t store all the required files to “prep the USB” on the virtual space of PE.

    they would like you more if you gave ‘em a .rar file with all the files and tell them how to boot from it.

  266. hey folks!
    first of all, i read that some of you seem to be in need for a good partitioning tool. i used “ultimate boot cd 4 windows” (UBCD4Win), which is basically a BartPE builder with lots of plugins added. it also comes with good partitioning tools. only drawback: it takes longer to copy because it is larger.

    secondly, i want to present my problem:
    bartpe/ubcd4win worked like a charm such that i could wipe my hd and run
    winnt32.exe /syspart:c: /tempdrive:c: /makelocalsource /noreboot
    graphical setup ran without errors. i then removed the usb stick and booted into the newly created temp textual setup on my hdd. it created the folder c:\windows and put files into it.
    so i tried to boot the newly created windows installation. while booting, it said autochk.exe not found. after that it crashed with a blue screen with errors c000021a and c000003a which is something like “session manager couldn’t be started”.
    microsoft knowledge base sais this error could be an issue of roxio goback. but i’m sure, i never had roxio goback. also my partition is of type 7 (ntfs). roxio goback has an other partition type.
    last but not least, my device is an acer aspire 751 netbook with 160gb hdd.
    does anyone have a clue?

    greets, hank

  267. hey folks, it’s me again.

    i shouldn’t have integrated sp3 into my xp installation files.
    by creating a new xp installation folder from scratch and integrating only sp2, i got beyond the blue screen.
    setup is running just at the moment, already in graphical mode and it seems to be fine.

    conclusion: don’t integrate sp3 into setup i386 folder if you have an acer aspire 751. sp2 works.

    thanks for this helpful page, roderick!
    greets, hank

  268. I needed this for a Dell E1705 whose optical drive was not powering up. I had trouble using PE2USB and instead followed another’s suggestion here about using flashboot. In flashboot, I had to use emulation. Note, that selecting “emulation” isn’t an option, but there is a point when creating the bootable USB that you need to de-select “save data…”. This allowed the usb to boot up fine. I chose the USB-HDD option, and the rest is history. Installing as I type this.

  269. Great guide. As “Juice777″ recommended, I used “Bootable USB-Drive Utility (http://www.911cd.net/forums//index.php?showtopic=21702) “. It all worked great.. i installed windows MCE and it works fine.

    NOTE1: As someone stated.. Harddisk gets drive letter D if no drive has letter C, the usb occupies that. Create partion(s) and restart and that will sort it.

    NOTE 2: if you have a 1 meg mem drive and wanna install bigger stuff.. its ok to copy that to the tempdrive before starting the windows installation (from usb to harddrive using the BartPE file manager.

  270. when i run the D:\i386\winnt32 /syspart:E: /tempdrive:E: /makelocalsource it says You must be an administrator to run this application. what should i do? thanks

  271. Howdy, I’ve just started up a site and in the middle of creating rather diverse articles. Do you object if I blog something about this blog? Obviously I’ll provide you and this post due acknowledgment.

  272. YES! MY LAPTOP IS WORKING AGAIN! I LOVE YOU! Hahah ;]
    I had to use 2 flash drives, cuz I got lazy to do it over when I got my 2GB PNY flash drive, and the other one was a 512MB Cruzer. I installed BartPE in the 512MB, then put the i386 folder (546MB) into the 2GB and it works! Thanks you for this great guide ;D
    Now I have Windows XP Black Edition on my laptop.

  273. Roderick, I did everything you told us in your tips, and all worked like a charm. For all those who didn’t succeed with windows installation I used a KINGMAX USB2.0 Flashdisk memory stick with 1GB available memory.

    Thank you so much for your help !

  274. Took a while but worked great in the end. Thanks.

    Solved an issue with trying to setup a Dell PC which needed the AHCI drivers. Even though I slipstreamed the drivers onto a CD with nLite, still had issues not finding the drive.

    Used a 4GB USB stick (with 4GB partition) and Service pack 3 with no issues, once I had all the files.

    Only comment would be that it was not clear what i386 files needed to be copied. Initially I only copied over the BartPE\i386 but soon realised that there were a ton of files missing, so then copied over the full slipstreamed set of files.

    Next job will be to see if I can slipstream all the Windows Updates into the XP installation. But will leave that for another day.

  275. Try to install Windows XP on a Compac nc4200. Run into the same NTOS problem as described a few times above.
    Every time I try to boot my laptop using BartPE the message c:\system32\ntoskrnl.exe file missing. Error code 14. press any key ….

    Unfortunately the solution is missing.
    Any suggestions?
    Thanks, Maarten

  276. I’ve been able to do everything up until the restart after taking out the USB. I haven’t been able to find my problems in the comments posted so far, though. My computer says:

    Non-System disk or disk error
    replace and strike any key when ready

    after taking out the USB. I’ve partitioned and formated it as the guide tells me to do, but I’m not really sure how to get past this screen. I’ve already copied i386 onto the hard drive so that the installation could continue after I take out the USB that seemed to have solved the problem for some people who couldn’t get past the restart, but I’m not sure what to do next. Anybody have a solution?

  277. Nevermind. I was stupid and had an external HD plugged into the laptop while I was trying to install it. Thanks anyways!

  278. Thanks a lot!!!
    It works perfect in my Acer Aspire One AOA150 netbook. I could install WinXP SP2. Used 1Gb USB Stick.

  279. Nice bro! Tnx! Works perfectly in my PC’s! It lessens my effort in troubleshooting unlike in typical installation using CD/DVD Drive and CD/DVD installer!!!

  280. WAIT UP?! What if if the USB doesn’t work at the end and gets a DISK ERROR and will not start? Is something wrong with my USB Drive?

  281. I SOVED MY OWN PROBLEM!! This USB I just made works PERFECTLY in another computer NO COMMENT. BIOS ANYONE? Don’t forget to read… It’s all there

  282. WTF>>>>!!!!!

    everything works fine until the step of installing Windows XP, everytime i insert the product key, it says “Invalid product key” though i insert my GENUINE XP Product KEY.

    WTF isgoingon here???

    anyone can help???

  283. I followed the steps exactly and when I restart the following message appears:

    iaStor.sys is corrupted

    Any Ideas on the problem???

  284. Thanx a bunch for this great tutorial!!!

    However, I too have something of a challenge: a HP Omnibook XE1400 with faulty XP-install, defective cd-rom, working floppy-drive but NO usb-boot-support from the BIOS…

    So I thought to simulate the USB-drive by partioning the laptops-hdd into 1Gb and 19GB, creating the first one as a USB-bartPE’s drive. No luck, it won’t boot… :-(

    Any suggestions? Perhaps how to update the BIOS without the possibility of using floppy OR usb?

    Many thanx so far!
    Regards, Matthijs

  285. WOO HOO! After spending 2 days trying to use other methods for installing from USB, this procedure worked for me perfectly! I did initially have a problem in that I was attempting to use an OEM Windows XP CD. My first attempt at building BartPE gave me a warning about using an OEM disk, and even though it did build, it did not work. I just happened to have a genuine Windows XP CD (with no service packs), so used that and followed the instructions for incorporating SP2.

    Not sure if there is a solution out there that works using an OEM disk.

    I also did have an issue with my Product Key coming up as invalid. Realized that I was trying to use the OEM product key with a non OEM installation. Had to use the product key from the genuine Windows XP disk. At least I assume this is the explanation.

    Anyway, after struggling for 3 days, Windows is installed on my laptop with the dead CD drive and I’m now fine tuning it. WooT!

    Huge THANKS! BartPE rocks. I totally forgot that I had used it 5 years ago to revive a totally screwed up XP installation on a laptop.

  286. Wow, this really worked. Was able to install Windows XP SP2 though. Got errors with SP3. Anyways As such SP2 will update to SP3 via MS updates :)

  287. In STEP 4: PREPING BART PE BUILDER

    It say:
    Copy the Windows XP setup files to the USB drive (or another USB device if you have insufficient space left). You’ll only need the i386 folder.
    ————————–
    Do I copy the I386 folder from C:\pebuilder\bartpe ?
    or the original i386 from my setup disk?

  288. Dear all,

    i hope you all will be fine

    Dear Reader,

    i have Dell OptiPlex GX 280 Desktop PC,

    BIOS = A04 02/09/05

    Service Tag = 8FRRL1J

    Express Service Code = 18367887943

    RAM = 1GB

    HDD = 80GB SATA

    Processor = 3.0 Ghz Pinless HT

    My problem is , when i install ubuntu from my bootable pen drive all is going very well, but when i install Microsoft Windows XP Service Pack 3 From USB FLASH Drive

    Setup Continuous well

    Like ” 1. TXT Mode Setup …. “,,,” 2. GUI Mode Setup…. ”

    when i start setup from TXT Mode Setup or GUI Mode Setup, The Setup Goes and Windows XP Loading Files very well but when it come ” Setup is Starting Windows ” My system Hangs for a while and give me a Blue Screen of Death (BSOD)

    Some Errors Like ” May B your hard drive is crash or viruses are … ” and some coding errors Like ” 0x00000.. ”

    Note : Ubuntu Setup Goes Very Well , Pen Drive is Kingston 2GB,

    Hurry Please i am still waiting for your helpful replies…

    mail me at = [email protected]

    Thanks

  289. Hello,

    I have question regarding the following remark in this tutorial:
    “The drive shouldn’t be partitioned any larger than 1 GB. If it is, then repartition it using Computer Management in the Control Panel.”

    I am trying for past 3 hours with all kind of tools to get the partition of my USB-stick below 1Gb, but none of the tools allow me to alter the USB-stick partitions.

    Any help/suggestions are very, very welcome!

    Cheers, Bas

  290. WORKS FOR ME ON MY ACER ASPIRE ONE NOTEBOOK.

    Carefully follow instructions “Run D:\i386\winnt32.exe /syspart:C: /tempdrive:C: /makelocalsource”. That’s what made the difference for me.

    Before though, my 120gb hard drive was unstable (blue screen of death) I used unetbootin (Ubuntu’s linux on usb version) (http://www.howtogeek.com/howto/linux/create-a-bootable-ubuntu-usb-flash-drive-the-easy-way/)) to re-partition my drive to NTFS using the gparted tool in ubuntu.

    Worked like a charm…

  291. I just successfully installed XP/SP3 on my Acer. The CD drive still doesn’t work, but installing from USB while walking around was oddly satisfying.

  292. Just echoing what someone else said – you MUST use the Windows 2003 *SP1* files. I tried with SP2 first and it hung on the “Please wait” during startup. Redid it with the SP1 files and it just worked.

  293. Yeah i am formating my Eee PC900 But when i finally put the USB in i get an Error called

    Disk Error
    Press any key to restart
    _

  294. Very rubbish guide to be honest. So many things are weird. Why did I need to use the PE builder and make a BartPE folder if it was never touched. You said copy the i386 folder to the usb but it was hard to finally understand which of the 3 i386 folders u are talking about. Why did I need the windows 2003 server and stuff if it never was used on the usb stick? I just did those things and they never got touched.

  295. @Richard on March 3rd, 2010

    The Server2003 SP1 files are needed for BartPE to be able to boot from a RAMDRIVE which is what these files are for.

    These files get picked up during the C:\pebuilder\pe2usb -f [drive:] step.

    To quote Bart Lagerwiej, “The 2003 setupldr with ramdisk option prevents windows from crashing or a 0×7b stop error (inaccessible boot device).

    This happens when windows is loading the USB devices drivers and the USB driver “resets” the USB bus. When we are riding from the ramdisk loader, we are not dependant any USB vendor windows driver from resettings the USB bus. We can now boot successful from “most” usb capable of booting hardware.”

  296. Roderick, it works like a charm! Thank you very much!

    PS: Also an old laptop with a broken cd-player, crashed HDD(replaced it), broken mousepad and a battery that died many years ago. Think i’m still gonna use it for some oldscool gaming ^^.

    Thnx!

  297. Quite a job, but indeed works perfect!

    If DiskPart seems not to run (i.e. you don’t see a command window popping up), run it from a command prompt. You may see the following message: “The disk management services could not complete the operation”.
    In that case, run the following two commands from the command prompt:

    net start dmserver
    net start dmadmin

    Then run DiskPart

  298. saved me a ton of time thank you for this, for anyone trying to install xp from usb on a acer revo nettop make sure you turn off the acer quickboot and switch the drive compatability from sata in the bios otherwise it wont work

  299. Thank you for your work. I did have an issue where winnt32.exe did not get copied to the USB drive, but I was able to use a USB Dvd drive and just change the drive letter in step 6, which then copied the files directly from the actual CD. This was on a Dell Inspiron B130. Can’t say how much it has helped tonight!

  300. Awesome tutorial! Worked a charm.

    I had Thinkpad x301 with Ubuntu Karmic already installed and no inbuilt CD drive.

    Used Gparted to resize my existing Ubuntu disk and create a new primary ntfs disk.

    Had to put SATA into compatibility mode in the BIOS for BartPE to see my hard disk.

    Had same issue as Cadu above – after launching setup no NTLDR boot loader yet, so booted back into Ubuntu.

    Ran grub-update and it found the XP loader. Rebooted, used GRUB to continue installation and all went well.

    To get GRUB back afterwards, just used a Ubuntu startup disk (usb) to boot back into my system and reinstall GRUB. Instructions here: https://help.ubuntu.com/community/Grub2 – see section on reinstalling GRUB.

    Note: the usb startup disk failed to load the disk driver on boot. If this happens for you and you can’t see your hard disk, try reloading the driver:

    sudo modprobe sata_via

    This worked for me.

    Once GRUB was reinstalled, ran update-grup (note: not grub-update) and good to go.

    Thanks for the tutorial!

  301. For those experiencing “operating system not found” errors, try using diskpart to set the partion on the usb pen as active

  302. Thanks for the guide, it’s been really useful! The hardest part was partitioning a 2Gb usb stick down to 1Gb.

  303. I have no boot menu on my laptop.
    And installation Windows 7 DVD was scratched.
    What i did was:
    1) download windows 7 installation ISO;
    2) unpack it on flash drive;
    3) boot from any installation CD/DVD (just to get close
    to command promt);
    4) format c:;
    5) copy contents of flash drive to c:;
    (xcopy f:*.* c:);
    6) reboot.
    The PC will boot from c: as it was some DVD and will actually install Windows on itself.

  304. the design of the MSI Wind is similar to the basic netbooks you can find around. the price point of this netbook is cheaper than acer or dell netbooks *

  305. Must be very satisfying to be still getting feedback and interest in this article. I found it because my problem was identical to the scenario you describe at the top. Thank you for your efforts!

    It took a few tries to get it working, but once I got an error free compile from BartPE it worked beautifully.

    Question: have you tried replacing bartpe.iso with different boot images (acronis, Techie Toolkit, hell just about any bootable image)? I tried messing around with the tif file but it seems that BartPE uses Windows shell extensions to load its environment so when I replace bart with something else I get errors….

    Just kinda thinking out loud. Thanks again for your tutorial.

    Pete Franke

  306. Thanks Roderick!
    And thanks Serpeal for documenting a fix in the comments.

    A recap of Sepeal’s comments:
    If you successfully boot BartPE on your target computer but the when you type “select disk 0″ into diskpart it says there is no disk, do the following:

    1.) Try changing the SATA setting in your BIOS to “off” or “IDE”
    If this doesn’t work try step 2 below.

    2.) Follow this guide: http://users.telenet.be/jtdoom/basetute/BartPE/OverFlow/DPs_BartPE_HelpFile.htm
    Note:
    copy DP_MassStorage_wnt5_x86-32_901.7z into your C:\DPsBase\DriverPacks directory, DON’T UNCOMPRESS IT, to successfully get to figure 2 in the guide.

    Finally, redo Rodericks guide from step 2.7.
    Worked for my Acer Aspire One 532.

  307. This works great. I actually did it for the first time a good few months ago.

    Then I formatted the USB drive (but backed up the install/boot disk files) and decided to install Windows 7 from USB.

    Then I needed to install XP again. I was a bit worried that I might have to re-do all these steps since the drive had been formatted.

    All I had to do was copy the backed up files back onto the USB stick and it worked!

    I believe its because to install Windows 7 I had to create a boot sector on the drive which works for the XP install as well. Although the steps were different, the end result is the same.

    This is a great guide. Once you stick with it (took me an hour or two the first time), you can install XP whenever you want and on almost any machine.

  308. lol, you seem to have a growing love/hate relationship with your readers!

    Thanks for the reply, though I quickly discovered that I do not have a good grasp of how to configure/edit an application INF :-) I guess Ill be doing some additional research before I use BartPE to launch custom plugins. But the process is intellectually engaging, so thanks for the links!

    regards,

    pete

  309. Those who persevere will conquer…

    when kept accurately to every step in this walkthrough it work perfectly!!!

    Thank you very Much!
    DankJeWel!!!!!

  310. This was an awesome guide! I had a few snags, that with help from Google and my own years of technical support knowledge I was able to iron out. Otherwise this was the best guide I have found!

    Kudos to you!

  311. i want to make a bootable usb with recovery console inside!
    how to make it, i try a lot with different techniques and nothing happened….

  312. hi

    instep 2

    1.install BartPE. We’ll be assuming that you install to C:\pebuilder.
    2. Unpack PE2USB to C:\pebuilder.

    what meaninf of numbe step, unpack pe2usb?

  313. Hey Roderick. Great job. I’ll be keeping this little gem as long as I can. Does require a bit of electronic finesse, but anyway with some basic pc knowledge can do this.
    If I ever meet you I’m buying you beer.

  314. is not working for me either.. wat do u mean by “Expand and copy ramdisk.sys”? is not a rar file….

  315. this tutorial works great with windows xp professional sp3 (using the same instructions as sp2). Thank you so much! I needed this!

  316. Hi,
    Great post though…
    I hav got an error while trying to install win-xp from USB Drive.
    “Setup cannot finf the End User Licensing Agreement (EULA)”
    Please let meknow where i am doing mistake….
    Thanks in advance….
    REgards,
    Suyog…..

  317. I will also recommend flashboot . Tried BartPe multiple times but it never go to booting the system. Flashboot (trial) worked out of box. Process was simple click and go!

  318. After many many Internet searches, I finally found this post which solved my problem. Super thanks!
    Only few comments:
    1. It workes with SP3 as well. It is possible to integrate the original CD-ROM with the latest SP version only. So, it is not necessary to integrate either with SP1 or SP2.
    2. The “FILE \I386\SYSTEM32\NTOSKRNL.EXE failed to load. The error code is 14. Setup can not continue” error message has been shown only with SP1. With SP2 and SP3, it was allright!
    3. It was not necessary to have the USB drive repartitioned into peaces smaller than 1GB. It worked for me with an 4GB USB flash.
    See you!

  319. Hey great tutorial,

    Some things didn’t go as expected through this here was my solution.

    1. Build you bartPE directory as above
    2. Use PE2Usb (The GUI version) to set up the boot sector and copy over the files (seems the DOS version was having issue doing this correctly and producing the ‘Remove Media’ error message)
    3. Copy over the I386 directory of your windows installation and then continue with the remainder of the tutorial with installing windows.

    Just my 2 pence :)

    Thanks Again

  320. i have a problem on my laptop it is dell D600
    i have to run the setup from a pendrive as my cd rom does not work
    so would u plese tell me how i can do that

  321. Hello!

    A tip for a problem I ran into:

    In pebuilder.log I had this error: “Error: DeleteFile() “C:\pebuilder\BartPE\i386\system32\setuphiv” failed
    Error: DeleteFile() “C:\pebuilder\BartPE\i386\system32\setuphiv.log” failed”

    Also when running pe2usb, the process stopped with mkfsiso error, it couldnt access setuphiv file. I looked at setuphiv with Unlocker and it was used by two thread. I couldn’t unlock then with Unlocker tool.

    After restart, pe2usb worked without errors.

  322. Excellent guide. Only issue I ran into was the error: “expand: invalid option –r” when attempting to expand the ramdisk.sy_ file. I just opened it with WinRar instead and extracted it to the correct folder and everything ran smoothly. I have tried many guides to re-install WinXP on my netbook via USB and this is the only one that has worked.

  323. Yo!
    Thanx for a phantastic description and easy to use program. Installed XP SP2 with a 1Gb Flashdrive on a Dell D410 which doesn´t have any CD/DVD reader.
    Lots of respect from Sweden !
    /Rickard

  324. Installing now. Ruined my saturday and sunday though, needed some tries.

    Nevertheless, excellent guide and thnx for the help!

  325. Hi Roderick,

    This is great stuff and easy to follow! One issue from my side though…

    I’m able to boot from the USB but then it simply doesn’t detect my hard drive, therefore not letting me install Windows where I want it to (actually the USB drive is the c: drive).

    Do you have any idea why this is and what I can do? (I’ve tried many things already).

    Thanks, Tomás

  326. oh man seems ur not too experinced do u want us to do all of that just to install xp from external hard disk? its better to go buy new cd rom and rinstall it from there then hahahaha fool

  327. Awesome tip sheet, worked as advertised with zero trouble, 2gb stick, from xp original disk (upped to sp2 per your instructions).

    Very clear. Thank you!

  328. Hello,
    I have a Samsung n150 with Windows 7 installed and the hard drive is partitioned in two parts.
    i want to change that.
    I have prepared the usb, BartPe loads up but i can´t run Diskpart or format the drives.
    If i try to run Diskpart, it just opens a window for like half of a second and then closes and nothing happens.
    If i try to format the drives i right-click on the drive and choose format and again the drop-down menu disappears but nothing happens.
    So i just ran the windows xp setup and from there i could format the smaller drive but for the bigger one it said that “can´t format the drive because there are important files to finish the installation of xp”
    So i installed xp on the smaller part, but my question is, how can i repartition the drives?

  329. Re Step 11, I wasn’t clear if it should be the files from the winxp directory or the winxpsp2 directory.
    Which is it?

  330. You only need 2 tiny files… do NOT waste your time downloading the massive Server 2003 full edition.

  331. This worked for me after trying to use multiboot 10 to do the same thing and failing. For those confused about what it means when he says to unpack files, go into the windows command prompt, and type in what Bart says to type. I replaced -x with /x and removed the .exe, and sometimes I had to type chdir followed by the directory that the file was held. For instance, the windows service pack 2 exe file was on my desktop, and so I typed in chdir C:\Desktop, enter, and then typed the name of the exe file (without the .exe) and /x, and then I was prompted to type in the directory for the files to be unpacked.

Leave a Reply

Smart living

%d bloggers like this: