How to create Windows Server bootable USB media

Here are two easy ways to create a bootable USB to install Windows Server 2022 (2019 or 2016).

Windows Server create bootable USB

If you plan to perform a clean install of Windows Server 2022 (or an older version), you will need to create a USB bootable drive that you can use to start the server and continue with the setup. You can complete this task in at least two ways, and in this guide, you will learn how.

Unlike Windows 11 and 10, Microsoft doesn’t offer a Media Creation tool to download the ISO or create a USB flash drive to install the server version of the operating system. However, it’s possible to create a Windows Server bootable USB drive using commands or through third-party apps like Rufus.

This guide will teach you the steps to create a Windows Server USB flash. 

Create Windows Server 2022 bootable USB media with Rufus

To create a Windows Server 2022 bootable USB with Rufus, use these steps:

  1. Open Windows Server 2022 download page.

  2. Click the “Download the ISO” link.

    Windows Server 2022 ISO download

  3. Register with the form and download the ISO file.

  4. Click the Download now button.

    ISO download option

  5. Click the “ISO downloads 64-bit edition” option to download the file.

    ISO 64-bit edition download

  6. Open Rufus website.

  7. Under the “Download” section, click the link to download the latest version.

  8. Double-click the rufus.3.xx.exe file to launch the tool.

  9. Under the “Device” section, select the USB flash drive to create the bootable media.

  10. Under the “Boot selection” section, select the “Disk or ISO image” option.

  11. Click the Select button.

    Rufus create Windows Server 2022 USB

  12. Select the “Windows Server 2022 ISO” file.

  13. Click the Open button.

  14. Under the “Image option” setting, select the “Standard Windows Installation” option.

  15. Under the “Partition scheme” section, select the GPT option.

  16. Under the “Target system” section, select the UEFI (non-CSM) option.

  17. Under the “Volume label” section, confirm a name for the USB flash drive. For example, “Server 2022 USB.”

  18. Use the default settings for the File system and Cluster size options.

  19. Check the Quick format option.

  20. Check the “Create extended label and icon files” option.

  21. Click the Start button.

  22. Clear the “Customize Windows installation” settings.

  23. Click the OK button.

  24. Click the OK button again.

Once you complete the steps, you can proceed to install the server version of Windows on the device.

Create Windows Server 2022 bootable USB copying files to USB

To create a Windows Server 2022 bootable USB through Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as Administrator option.

  3. Type the following command to open DiskPart and press Enter:

    diskpart
  4. Type the following command to find out the USB flash drive and press Enter:

    list disk
  5. Type the following command to select the drive and press Enter:

    select disk 2

    In the command, replace “2” with the number of the USB removable drive.

  6. Type the following commands to erase the flash drive and press Enter:

    clean

    Windows Server clean USB with DiskPart

  7. Type the following command to create a primary partition on the drive and press Enter:

    create partition primary
  8. Type the following command to select the new partition and press Enter:

    select partition 1
  9. Type the following command to activate the partition and press Enter:

    active
  10. Type the following command to make the Windows Server 2022 USB flash drive bootable and press Enter:

    format FS=FAT32 quick
  11. Type the following command to set a drive letter and press Enter:

    assign letter=S

    In the command, change “S” for any available letter to use.

    DiskPart prepare USB for Windows Server files

  12. Type the following command to exit the DiskPart tool without closing Command Prompt and press Enter:

    exit
  13. Type the following command to mount the Windows Server 2022 ISO file and press Enter:

    PowerShell Mount-DiskImage -ImagePath "E:\SERVER_EVAL_x64FRE_en-us.iso"

    PowerShell mount Window Server ISO

    In the command, change the path with the location of the ISO file.

  14. (Optional) Type the following command to start DiskPart and press Enter:

    diskpart
  15. (Optional) Type the following command to find the drive letter for the mounted ISO file and press Enter:

    list volume

    DiskPart check mounted ISO letter

  16. Type the following command to quit the DiskPart tool and press Enter:

    exit
  17. Type the following command to access the Windows Server 2022 ISO file and press Enter:

    I:

    In the command, change “I” for the drive letter of the mounted ISO file.

  18. Type the following command to enter the “boot” folder in the ISO file and press Enter

    cd boot
  19. Type the following command to update the volume boot code on the flash drive and press Enter:

    bootsect /nt60 S:
  20. Type the following command to copy all the Windows Server 2022 files from the ISO to the USB flash drive and press Enter:

    xcopy G:\*.* S:\ /E /F /H

     

    In the command, change the “G” and “S” drive letters with the correct drive letters for the Windows Server 2022 ISO image and the USB drive respectively.

After you complete the steps, you can use the USB flash drive to perform an in-place upgrade or clean installation of Windows Server 2022.

These introductions should also work to create a USB bootable drive for previous versions of Windows Server, including 2019 and 2016.