How to create a bootable Windows 8 USB using Diskpart

Windows 8 logo

I definately prefer to create a bootable USB for my Windows 8 media instead of using a CD-ROM, due to a number of reasons. First of all, some of my devices don’t have a CD-ROM player. Second, the installation will be much faster if run from a USB compared to a CD. A 56x CD-ROM player has a theoretical maximum speed of 8.6 MB/s, compared to 625 MB/s on a USB3 connector. On my home server I installed Windows 8 from a USB on to a 550 MB/s SSD. The speed is mind blowing compared to using a CD-ROM with a standard hard drive. If you don’t have a license for Windows 8, refer to my previous blog post on where to download an evaluation copy.

I will be using Diskpart, but you can also use Windows 7 USB/DVD Download Tool for this, but I won’t go in to that right now. I prefer to use Diskpart as it is part of Windows and for me, it’s faster than using a GUI.

Here’s how you do it:

1. Press the Windows button and type CMD

How to create a bootable Windows 8 USB using Diskpart 1

2. Right-click on Command Prompt and at the bottom of the screen select Run as Administrator . If you don’t do this, you will get an Access Denied error when trying to run Diskpart.

How to create a bootable Windows 8 USB using Diskpart

3. You will receive a question from the Windows UAC if you want to allow Command Prompt to run. Press Yes

4. Type Diskpart and press ENTER

5. Type list disk and press ENTER  . This will list all the disks that is plugged in to your system.

6. Now you have to select the disk that you want to use as a bootable USB. It’s VERY IMPORTANT that you select the USB that you want to use and not for example the system disk. In my case, I want to select Disk 1, but definately not Disk 0 as it’s my system disk!

When you are sure what drive is your USB, type select disk <number> and press ENTER

7. The next step is to remove the partitions on the drive. As I mentioned before, make sure you have selected the correct disk!
Type clean and press ENTER

8. Now you need to create the primary partition by typing create partition primary and press ENTER

9. Select the partition you just created by typing select partition 1 and press ENTER

10. Type format fs=ntfs quick and press ENTER, to format the drive using NTFS and do a quick format.

10. Make the partition active. If you don’t do this, the USB won’t boot.
Type active and press ENTER,

11. Type assign and press ENTER,  to assign the drive the first available drive letter. The drive should now be available in  Windows Explorer.

12. Now go to your Windows 8 media, select all files and copy them over to your USB drive.

Copy Windows 8 media to bootable USB

Copy the Windows 8 media to your bootable Windows 8 USB

13. Plug in your new bootable Windows 8 USB to the system you want to install it on. Don’t forget to change the startup order in BIOS, so the USB drive is first in the order.

Now you’re done and you should be able to install Windows 8 from a USB!

Here are all the commands that you needed to type in earlier:

Diskpart

 

 

Tagged with: , , , ,
Posted in Blog, Guides, Windows 8, Windows 8
5 comments on “How to create a bootable Windows 8 USB using Diskpart
  1. Essam says:

    For those who have the ISO and don’t want to go through the command prompt “hussle”, just use Windows 7 USB DVD Download Tool… yes, it works with Windows 8 ISO’s.

  2. Good comment, I added it to the blog post. I have also used that tool with success, but personally, I prefer Diskpart :) Thanks for the comment!

  3. Fer says:

    thank you very much, from spain.

    Good blog

  4. Dujin Ayitoro says:

    I am just now trying to install Windows 8 using a USB stick under UEFI. I don’t know if this info is a little outdated but from the information I got http://www.servethehome.com/uefi-bootable-usb-drive-windows-8-windows-server-2012/ is that the USB should be formatted as FAT32 instead of NTFS. But I did try to install on a partition which may have made the difference.

  5. PARITOSH AGRAWAL says:

    in step 6 by mistake instead of disk 1 unfortunately i have selected disk 0 and i have fired clean command too…
    that clean command was not properly performed is was interrupted.
    result is that except c drive no other drive is visible into my computer..
    plz help me to recover my data..

Leave a Reply

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

*

* Copy This Password *

* Type Or Paste Password Here *

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>

Daniel Classon

Categories