Create Windows Server 2016/Window 10 installation USB from ISO image
Reference: Original post by ITProGuru.com
Below is the simplified steps:
- Mount the ISO image by double click the .ISO or .IMG files. Assume it is mounted as K: .
- Insert the USB drive. Check what driver letter it is assigned. Assume it is D: for this example.
- Reformat the USB drive as NTFS
- Command line version
- Open a command prompt (cmd.exe) with Administrator rights.
- run below commands:
- diskpart
- list disk (check the disk number USB drive is assigned.)
- select disk ?
- 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 - clean
- create partition primary
- select partition 1
- active
- format fs=ntfs quick label=”WinSvr2016”
- exit
- GUI version
- Run Disk Management (diskmgmt.msc)
- Find the USB drive
- Right click the partition, select "Mark Partition As Active" (it is okay if this selection is dimmed.)
- Right click the partition, select "Format..."
- Change the File System to "NTFS".
- Check "Perform a quick format".
- Click "OK" to start.
- Create boot sector
- Open a command prompt (cmd.exe) with Administrator rights. Run below commands:
- K:
- cd \boot
- bootsect /nt60 d:
- Copy all the required files:
- Open a command prompt (cmd.exe) with Administrator rights. Run below commands:
- xcopy K:\*.* D:\ /E /H /F
Comments