Create a bootable USB stick

Diskpart - Manually make USB stick bootable/prepare UEFI USB stick

Preparing the UEFI USB stick

Use Diskpart to create a new primary partition on the USB stick, format it with the FAT32 file system and assign a drive letter.
To do this, execute the following commands:

list disk
select disk #
create partition primary
select partition 1
format quick fs=fat32

Copying Windows installation files to the USB stick

The next step is to copy the Windows installation files to the USB stick.

You can do this simply by using Copy - Paste.
It does not matter whether you have mounted an ISO image in Windows, unpacked it or inserted an installation DVD.

If the install.wim file of the Windows image is larger than 4GB, an error will occur during the copying process.
At the end of the copying process, the message appears that the file is too large.

This message appears because the FAT32 file system has reached its limits and cannot process >4GB files.

To still be able to complete the UEFI USB stick, you have to use a little trick:
Using DISM, the file must be split into two or more <4GB files.
Please note that this process is only supported by Microsoft up to Windows 7 or Windows Server 2008.
Simply enter the following command:

Dism /Split-Image /ImageFile:E:\sources\install.wim /SWMFile:C:\Users\Administrator\Desktop\install.swm /FileSize:3000
  • /ImageFile: Path of the source file install.wim in the sources folder of the Windows ISO.
  • /SWMFile: Path of the splitted target files
  • /FileSize: maximum size of the splitted target files in MB

Now the splitted install.wim, install2.wim, install3.wim etc... can be copied to the USB stick in the directory "sources".

Fix error message status 0xc000000d

If you get the error message \EFI\Microsoft\BOOT\\BCD Status 0xc000000d when booting the USB stick, please check the following things:

  1. If it is a system with Secure Boot, disable Secure Boot.
  2. Select the USB stick (not Windows Boot Manager) in the boot menu.

Booting should then work.

Was this article helpful?
2 out of 5 found this helpful



Please sign in to leave a comment.