How to create a bootable Windows 10 USB flash drive Method 2

Maybe you don’t like having a tool automate the process for you, or maybe you just love using the command prompt. Regardless of your reasons for creating a bootable Windows 10 USB drive manually, here are the steps on how to do it.

Before you start, you’ll need the .ISO file for Windows 10 — you can get this from various unofficial sources, but there are many official ones as well (the aforementioned Windows 10 Media Creation Tool can make one for you). If your Windows 10 installation image is in a different DVD image format, convert it to an .ISO file.
Open the command prompt as the administrator (search for cmd, right-click, and choose “Run as administrator”), type “diskpart” without the quotes, and hit enter. Alternatively, open up the Start Menu, type “diskpart” without the quotes, and click Yes if prompted by UAC to give the program permission.
windows_10_usb_8
Plug in your USB drive. Type “list disk” without the quotes and hit enter. Take a look at the Size column and figure out which disk number your USB drive is.
windows_10_usb_9
Ours is number 1, so we’re going to type “select disk 1” without the quotes and hit enter. Adjust your disk number accordingly.
windows_10_usb_10
If you haven’t done a backup of the contents on your USB drive, now is your last chance. Now wipe the drive by typing in “clean” without the quotes and hitting enter.
windows_10_usb_11
Now we want to prepare the USB drive for the Windows 10 files and ensure it is bootable. Type “create partition primary” without the quotes and hit enter.
windows_10_usb_12
Then type “select partition 1” without the quotes and hit enter.
windows_10_usb_13
Next type “active” without the quotes and hit enter.
windows_10_usb_14
Finally, type “format fs=fat32” without quotes and hit enter. This will format your USB drive in the Fat32 format using the Quick routine. (If you choose to use NTFS instead, you’ll later have to run a different command to put boot manager compatible files onto your USB drive to make it a bootable device.) This process will take some time, depending on the size and speed of your USB drive.
windows_10_usb_15
When that’s done, type “assign” without the quotes and hit enter (this will assign a new drive letter to the USB flash drive, making it accessible). Your USB drive will likely automatically open (if it doesn’t, find it in My Computer or This PC). Remember the drive letter (in our case it is H).
windows_10_usb_16
You now have two options. You can extract the contents of the .ISO image file (open them in Windows Explorer or using your favorite extraction tool, and copy them directly to the USB drive) or you can mount the .ISO (use your favorite mounting tool) and let command prompt do the work.
windows_10_usb_17
We’ve been using the command prompt up to this point, so we’ll do this last step using it as well. Close diskpart and open up cmd again. Type “xcopy g:*.* /s/e/f h:” without the quotes, where “g:” is the drive letter for your mounted .iso file and “h:” is the drive letter for your USB flash drive. Don’t worry if install.wim takes a while to copy: It’s easily the biggest file on the disc.
windows_10_usb_18
Type “exit” without the quotes and hit enter. You’re done. You can now install Windows 10 from your USB drive, either by booting from it or from within an existing installation of Windows.

No comments:

Post a Comment