Creating a USB bootable XP recovery console

Tue, Jul 14, 2009

Windows

First off all you will need to download the following zip and extract it UsbRecoverySata.zip

  1. Run hpusbfw.exe, Select your device, pick FAT32 for the file system and the enter any volume label press start and it will begin to format your drive

    format

  2. Open a CMD window start -> Search -> CMD, Drag bootsect.exe over onto the cmd window and it should print the path to bootsect.exe append it with the switch /nt52 and the letter of your flash drive e.g
    bootsect.exe /nt52 H:
  3. Copy all the files from the folder "Copy the files inside me too your flash drive" to your flash drive
  4. Using Tiny Hexer

  1. First of all open it by double clicking on TinyHexer.exe
  2. Go to file > disk > open drive and select your flash drive
  3. Once its opened go to edit > find/replace check the "find text" and "ignore case" boxes type NTLDR into the text box then press find. Press the replace button check "is text" box and enter CMLDR into the text box then press replace all

    findreplace

  4. Now go to file > save as and save it too your flash drive under the file name USBLDR
  • If you reboot your computer tab f12 and select boot from usb storage it should load up the windows xp recovery console
  • , , , , ,

    This post was written by:

    - who has written 47 posts on Tuts4Tech.

    I am the owner of this website, please feel free to ask me any questions you have

    Contact the author

    75 Responses to “Creating a USB bootable XP recovery console”

    1. STGyro Says:

      It is not working - I have not managed to save the USBLDR properly. Save As option is not working. I have selected all and saved it as a selection but it is not working as well.

      Reply

    2. OBALAYE Says:

      GREAT A++++ it's work fine for me , i have a emachines laptops , w serial , the DVD RON is not working good , so i try this and is amazing, thank you

      Reply

    3. MIKE Says:

      Sweet , work perfect for me

      Reply

    4. Han Says:

      work perfectly. thanks

      Reply

    5. Al S. Says:

      The save as also did not work for me. Received access denied Error Code 5. Or something close to that. Please help.

      Reply

    6. Duffy Says:

      Hi Al S.
      That access denied error if i remember right is used to a bug with the hex editor on vista and windows 7.

      Reply

    7. s Says:

      work on my xp. thanks.

      @ STGyro, u choosed to open correct drive letter (flash)?

      Reply

    8. This is BS Says:

      Didn't work.

      Boots to the following: Remove disks or other media. Press any key to restart

      Reply

    9. DW Says:

      Hmm...works great, until it comes to entering the admin password....my computer admin password doesn't work! Am I being dumb?

      Reply

    10. Bruno Says:

      Simply Perfect !

      Reply

    11. Chrish Says:

      To all of you unable to save, its just a corrupted download, delete it and redownload the .zip file. Any more than that I cannot offer

      Reply

    12. Brian Says:

      Why is the hex reader asking me to individually replace every one of the NTLDR entries as opposed to actually finding and replacing all of them... at this rate it's going to take me 10+ hours, and I'm not spending that time babysitting a program searching 3 million sectors.

      Reply

    13. Aaron Says:

      Have created the Bootable USB and successfully opened the recovery console. My question is that I am only able to access files on the flash drive using recovery console. How do I tell the system that I want to edit files on the computer hard drive. The flash drive is C:> and any commands that I type in only bring up information relating to data on the flash drive. Any help would be much appreciated.....thanks

      Reply

    14. Martin Says:

      Same question as Aaron above. I can't seem to (or don't know how to) access the computers hard drive.

      Thanks in advance for any help/suggestions.

      Reply

    15. Duffy Says:

      Hi Aaron and Martin,
      I do believe this may be an issue relating to SATA drivers. You'll need to load the SATA drivers during boot up off the recovery console. However the only way windows setup supports this is via a floppy drive. I'll see about slipstreaming SATA drivers to the attached recovery console files and will get back to you guys.

      Reply

    16. adam Says:

      I am getting NTLDR Fatal Error 1 reading BOOT.INI.

      Any thoughts?

      Reply

    17. dont work Says:

      didn't work on my xp. cant select save as, nothing happens.

      Reply

    18. Duffy Says:

      Hi Martin and Aaron, as promised I have made a version with all SATA controller drivers slipstreamed if you want it http://tuts4tech.net/files/UsbRecoverySata.zip

      Reply

    19. Davicho Says:

      hi there...well, it seems that it work for most people...but i've a sata disk, and it shows the dreadred blue screen of death with the 0x0000007b error (it talks about the ahci/sata driver problem)...

      so how can i bypass this problem, since i don't have a floppy drive.
      thanks

      Reply

    20. Duffy Says:

      Hey Davicho,
      Please make sure your using the zip from http://tuts4tech.net/files/UsbRecoverySata.zip the one in the tutorial doesn't include the sata drivers

      Reply

    21. Matt Says:

      hi, I used the original but had the same issues as martin and aaron. I have also tried the sata zip download but after it shows the recovery console starting up I just end up with a black screen. Thanks

      Reply

    22. Duffy Says:

      Hi Matt, that should be happening have you given it much time on the black screen to check that it still isn't loading? only thing I could advice is refollowing the steps again and seeing it works.

      Reply

    23. Matt Says:

      Hi Duffy, left it for quite a while but no joy. Have download the zip file again and tried a few times but it doesn't load up. Thanks.

      Reply

    24. Wim Says:

      Hi duffy, what's "bootsect" thing for in you last zip-file?

      Reply

    25. Duffy Says:

      Hi Wim, bootsect isn't covered under this tutorial however it might come in useful for some people. I had to use it myself, I was on windows 7 and using an 8gb flash drive so FAT wouldn't work and I had to use FAT32 however when formated I was getting a weird bootsector on the drive. Using bootsect.exe /nt52 it replaced it with the standard bootsector

      Reply

    26. Duffy Says:

      Tutorial updated with a video tutorial.

      Reply

    27. Wim Says:

      Makes sense, thx for the quick reply, and keep up the good work. I think you're realy helping a lot of people here (including me; it worked like a charm!)

      Reply

    28. seba Says:

      sweeet! thanks mate..

      Reply

    29. Duffy Says:

      Glad it helped seba!

      Reply

    30. VILLE Says:

      I'm getting "NTLDR is missing" press any key...???

      Reply

    31. Duffy Says:

      Hi Ville, that error usually suggests that something became corrupt when making the drive. Repeat the tutorial/process and it should fix it.

      Reply

    32. VILLE Says:

      tested on my other laptop, work's fine but on the other I'm still getting "NTLDR is missing...." Any thought's??

      Reply

    33. NpC Says:

      I am also having the NTLDR is missing and have repeated the process twice with the same results, i also noticed that i do see the proper files on the flash drive. Thank you,

      Reply

    34. Duffy Says:

      Shouldn't be the case, Just out of interest what size if the flash drive?

      Reply

    35. NpC Says:

      A 4 gig,

      Reply

    36. Duffy Says:

      Hi NpC, Unsure as to why that is happening you unless the drive has some weird kind of partitions done by the manufacture... try the following

      1) Open a CMD window
      2) Type diskpart
      3) do list disk and note down the disk number that relates to your drive
      4) do select disk
      5) run the following commands:
      clean
      create partition primary
      select partition 1
      active
      format fs=fat32 quick
      assign
      exit

      Once thats done refollow the tutorial from step 2 to see if it makes any differences.

      Reply

    37. FREES Says:

      thx, this really help

      Reply

    38. Swadaddy Says:

      Brilliant Duffy! I followed your video and it worked on my first attempt.

      Reply

    39. JaySin420 Says:

      Wow! Thank you very much.

      I tried about 5 different ways of doing this but none of them worked til I came across this page and saw your video.

      Reply

    40. Galo Says:

      WORKED LIKE A CHARM...at first the bootsect.exe thing wasn't working for my command prompt but i realized i was typing in the wrong thing OVER N OVER N OVER AGAIN lol! But I got my desktop back to life! Thank you!

      Reply

    41. yoshi Says:

      it worked very well thanks dude, you save my ass xD
      i was having troubles with an acer aspire one

      cheers from mexico

      Reply

    42. Dan Says:

      Hey Duff, when I Drag the BOOTSECT to the comand prompt and enter /nt52 F: it says "C:\Documents is not recognized as an internal or external command, operable program or batch file"... i've checked the path countless times I can't get passed this point. any ideas? thanks

      Reply

    43. Dan Says:

      Got it.. Thanks.. Wrong path, Duh. Thanks alot.

      Reply

    44. Mariusz Says:

      Many Thanks, Duffy!

      I followed your instructions on Windows Vista Home Premium. My USB flash drive was a 2GB Verbatim Stop'n'Go.

      On my first attempt, I wasn't able to perform 'Save as...' -- clicking on this option in the 'File' menu of 'TinyHexer' had simply no effect. Possibly, the reason was that after performing 'Find+Replace All' operation -- as you described it, I executed 'Find' again, this time to find all instances of the string CMLDR, while the whole purpose of the step is to save only the *first* sector where 'TinyHexer' finds the 'NTLDR' string.

      At this point I aborted the installation and repeated again all the steps in your instruction, *except* that I changed the order of the steps:

      1. , 2., 4., and then 3.

      In other words, I first opened TinyHexer and performed the 'Find+ReplaceAll+Save as...' operation and, *after* closing TinyHexer, I copied to the flash drive the contents of the "Copy the files inside me to your flash drive" folder.

      The step involving 'bootsect.exe /nt52' writes to Sector 0 of the flash drive, and the step involving 'TinyHexer' saves precisely sector 0 to the file named USBLDR, and simultaneously replaces 2 instances of the string 'NTLDR' by the string 'CMLDR'.

      If you suggest to your readers performing these four steps in the order described above, perhaps there will be fewer problems reported.

      Reply

    45. Stephen VanDyke Says:

      Your tutorial performed flawlessly on a Sony Vaio VGN-NR310E (your inclusion of SATA drivers were a much needed blessing).

      Thank you so much for your dedication to making these instructions simple enough for anyone to be able to follow! :)

      Reply

    46. Fer Says:

      Hi Duffy, i followed all the instruccion and appears an error message that says WINDOWS ROOT)SYSTEM32HA.DLL. is missing or dont work???

      What i need to doy???
      Thnks

      Reply

      • Rv Says:

        same as above? not sure but i recon i have done the step correctly? any help would be great thanks Rv

        Reply

        • Rv Says:

          well got it to boot the recovery console, well sort of it is now saying " The file adpu320.sys is corrupted. press any key to continue" not sure now ???????????????

          But FER i had the same issue and it was because i never saved the USBLDR file to the usb drive? make sure it there?

          Reply

    47. Goldengirl Says:

      Hi Duffy

      Each time that I input the /nt52 part I get a message

      "target volumes will be updated with NTLDR compatible bootcode.
      Could not map drive partitions to the associated volume device objects. Access is denied."

      I have been able to go through all the steps after this including replacing NTLDR with CMLDR (it only finds 1 replacement)but I am unable to save as. My computer system is operating Window 7 but this is for my Acer netbook which is XP.

      I have re-done the steps very carefully about 5 times now (in case I had mis-typed anything) but it is the same result.

      ANY help would be greatly appreciated as my netbook is just hanging.

      Thank you.

      Reply

    48. Vincent K Says:

      OMG finally I found something on the internet that works! I want to kiss your feet!!!

      Reply

    49. Grant Stevenson Says:

      when i press "usb drive"It says press f1 to continue, f2 to enter system setup, I press f1 and it freezes so? :/

      Reply

    50. A.S Says:

      I cant find the NTLDR on the TinyHexer.

      Reply


    Trackbacks/Pingbacks

    1. [...] consoles work on 2GB or less pendrives, I found a modern one: Problem solved, follow this guide: http://tuts4tech.net/2009/07/14/crea...overy-console/ With one modification, when you open a CMD to run BootSect.exe, open the CMD as administrator, [...]

    Leave a Reply