Create Bootable Windows USB flash drive under Windows

I assume that you have basic understanding of: unzipping a file, mounting an ISO file, opening the Command prompt in Administrator mode and booting your PC from an USB flash drive.

  1. Either unpack or extract or mount your ISO file, let's say in %USERPROFILE%\win_files
  2. Insert your USB drive.
  3. Open CMD in Administrator mode and type diskpart
  4. Microsoft DiskPart version 10.0.10041
    
    Copyright (C) 1999-2013 Microsoft Corporation.
    On computer: XXXXXXXXX
    
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          238 GB      0 B        * # my HDD drive
      Disk 1    Online           14 GB      0 B          # my USB drive
    
    DISKPART> select disk 1
    
    Disk 1 is now the selected disk.
    
    DISKPART> clean
    
    DiskPart succeeded in cleaning the disk.
    
    DISKPART> create partition primary
    
    DiskPart succeeded in creating the specified partition.
    
    DISKPART> active
    
    DiskPart marked the current partition as active.
    
    DISKPART> format fs=ntfs quick label="win installer"
    
      100 percent completed
    
    DiskPart successfully formatted the volume.
    
    DISKPART> assign
    
    DiskPart successfully assigned the drive letter or mount point.
    
    DISKPART> exit
    
    Leaving DiskPart...
  5. A new Removable Disk should be showing up, named as 'win installer' with, let's say, letter E:\
  6. Go into the boot\  subfolder of where the installation files have been extracted at Step 1, in my case: cd %USERPROFILE%\win_files\boot
  7. We want to make the USB flash bootable with E:  the USB drive letter from Step 5.
    C:\Users\ticapix\win_files\boot> bootsect.exe /nt60 E:
    Target volumes will be updated with BOOTMGR compatible bootcode.
    
    E: (\\?\Volume{a91720d2-a87d-11e4-ab33-3c970e90bd43})
    
        Successfully updated NTFS filesystem bootcode.
    
    Bootcode was successfully updated on all targeted volumes.
    
  8. Copy the content of the folder from Step 1 onto the USB flash drive with xcopy  xcopy %USERPROFILE%\win_files\*.* E:\ /E /F /HThe syntax is xcopy <source> <destination>  with the following options:
    /E Copies directories and subdirectories, including empty ones.
    /F Displays full source and destination file names while copying.
    /H Copies hidden and system files also.
  9. Once the copy is done, safely unplug the USB drive and boot your PC from it.

 

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.