Pages Menu
Categories Menu

Posted by | 68 comments

Bootable usb pendrive using cmd

Creating a usb pendrive using command prompt is not hard, it is one of the most common ways to create a bootable usb.

      This method does not work if your operating sistem is windows xp or windows 8 , you cannot select the primary partition in comand prompt.

       You just need to follow these simple steps:

  1. First step is to obtain the windows files from somewhere and save them to a folder in your pc. You can rip a windows dvd , or if you have the iso image file you can open it with magic disc or daemon tools or even winrar , and you need to copy the whole content to a folder anywhere in your pc , you just need to make sure you know where it is located.
  2. Make sure your usb stick is inserted, go to start search cmd , right click the  file and select run as administrator. The command prompt will appear, now you need to write the following comands:
  3. diskpart→list disk→select disk 1(chose  the usb device, you will recognize it by its size)→clean(this will erase the usb)→create partition primary→select partition 1→active→format fs=ntfs(this will format the usb drive and will take 10-15 minutes)→Untitled 5
  4. After the format is done you have to continue writting  in command promt :  →assign(now you will notice that the usb drive changed its letter to (H): or (G))→exit(this command will exit the disk part function)
  5. Now you have to write the path to the executable file in your windows saved folder , make sure that in your windows folder you have the boot folder with the bootsect executable file.Untitled 8
  6. In my case the command goes like this:   E:→cd win 7 sp1→

           →cd boot→bootsect.exe/nt60 h:(h is the letter of the usb drive ,this comand will update the boot core)→exit (this will exit command prompt).
Untitled 6

  1. Now you have to copy all the files in the windows folder to your usb drive. Untitled 7
  2. ALL DONE. You can now restart your pc and boot from the usb hard drive.

68 Comments

  1. E:\boot>bootsect.exe/nt60 f:
    This version of E:\boot\bootsect.exe is not compatible with the version of Windo
    ws you’re running. Check your computer’s system information to see whether you n
    eed a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the
    software publisher.

  2. How do I write the path to the executable file if my saved windows is windows xp. Besides it doesn’t even have the boot folder among it files.Or maybe I am not finding it. Any help will be much appreciated.

  3. Btw the instructions to create the bootable usb are correct but once created ignore the bootsec instructions you dont need to do this. Create the bootable drive and then just place all the windows files (from your install disc) onto the pen drive. That is all you need to do to use the usb to install windows. IGNORE the bootsec commands.

  4. very usefull article

  5. Got in 1st attempt thanks a lot :)

  6. So useful. Thanks

  7. I do it………….. thanks a lot thank u :)

  8. Thank you for sharing..this information is very helpful.

  9. IS it alright if I just copy the .iso file on 6.1 step?

  10. i can’t format my pen drive it come i/o error.help me

  11. Thanx a lot, t really works well

  12. E:\boot>bootsect.exe/nt60 f:
    This version of E:\boot\bootsect.exe is not compatible with the version of Windo
    ws you’re running. Check your computer’s system information to see whether you n
    eed a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the
    software publisher.

  13. My cd drive of laptop is not working so i’m in searching of this. Thanks to share.

Post a Reply

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

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