Creating a bootable USB device is a common task for both home users and IT Pros.
Although the need for creating a bootable USB has been reduced in previous years, with the possibility to use the option Reset this PC in Windows 10, we still need to do this.
It is possible to use a tool such as Rufus, but I will also go through some other alternatives.
In this blog post, I cover how to create a bootable USB drive using Diskpart. It does not mean you have to have Windows 10 installed. The below advice works for all versions of Windows, including Windows Server.
How to create a bootable USB using Diskpart
I will be using Diskpart for the creation of the bootable USB.
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
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.
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 drives that are plugged into your system.
6. Now you have to select the disk that you want to use as a bootable USB. You must select the USB you wish to use and not, for example, the system disk. In my case, I want to select Disk 1, but 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 10 media, select all files and copy them over to your USB drive.
13. Insert your new bootable Windows 10 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 10 from a USB!
Here are all the commands that you needed to type in earlier:
Understanding how to create a bootable USB is good knowledge to have. Apart from following this guide on diskpart, you can also use the excellent Rufus tool.
I hope this blog post was informative for you!