Create Windows Server 2016/Window 10 installation USB from ISO image

Reference: Original post by ITProGuru.com

Below is the simplified steps:
  1. Mount the ISO image by double click the .ISO or .IMG files.  Assume it is mounted as K: .
  2. Insert the USB drive.  Check what driver letter it is assigned.  Assume it is D: for this example.
  3. Reformat the USB drive as NTFS
    1. Command line version
      1. Open a command prompt (cmd.exe) with Administrator rights.
      2. run below commands: 
        1. diskpart
        2. list disk  (check the disk number USB drive is assigned.)
        3. select disk ?
        4. list disk
          — Note: after you run list disk again, the drive should be prefaced with an asterisks “*”
          — CAUTION: the next line is the one that wipes the drive
        5. clean
        6. create partition primary
        7. select partition 1
        8. active
        9. format fs=ntfs quick label=”WinSvr2016”
        10. exit
    2. GUI version
      1. Run Disk Management (diskmgmt.msc)
      2. Find the USB drive
      3. Right click the partition, select "Mark Partition As Active" (it is okay if this selection is dimmed.)
      4. Right click the partition, select "Format..."
      5. Change the File System to "NTFS".
      6. Check "Perform a quick format".
      7. Click "OK" to start.
  4. Create boot sector
    1. Open a command prompt (cmd.exe) with Administrator rights.  Run below commands:
      1. K:
      2. cd \boot
      3. bootsect /nt60 d:
  5. Copy all the required files:
    1. Open a command prompt (cmd.exe) with Administrator rights.  Run below commands:
      1. xcopy K:\*.* D:\ /E /H /F

Comments