- Insert a USB flash drive into a running computer.
- Open a Command Prompt window as an administrator.
- Type
diskpart. - Type
list disk Typewhere # is the drive number or drive letter of the USB flash driveselect disk # ,- Type
clean Type list partitionTypecreate partition primaryTypeselect part 1Typeformat fs=ntfs quickTypeactiveTypeexit- When you finish preparing your custom image, save it to the root of the USB flash drive