Search by Tags

USB Boot for Windows Embedded Standard

Applicable for

Compare with Revision

Subscribe for this article updates

To boot Windows Embedded Standard from USB Stick, you have to prepare the USB Stick as follow:

  1. Make the USB Stick an active Drive

  2. Format the drive

  3. Fix up the MBR to be compatible with NTLDR

For all operations, we assume that you have connected a USB Stick to your Host-PC and this Stick is recognized as the drive X:

Be careful to not format or change settings on the wrong drive. Always double check if your command does use the right drive letter.

Make the USB Stick an active Drive

Depending on the Operating System you have, you can use one of the following procedures:

Windows XP

Download the HP Drive Key Boot Utility from here:

Install and start the Utility, select your drive. Choose "Hard Disk" as the role and "Create new Filesystem" to format the drive and mark the disk as active. If you reach the "Configuration Page", you can abort the Wizard

Windows Vista

Not tested. We recommend to use the same procedure as with Windows 7

Windows 7

Open an administrator console and start the diskpart-utility by entering "diskpart.exe". With the command "List Disk", you can view all recognized disks connected to the system. Search the USB-disk by comparing the different sizes of the listed disks with the size of the USB-Stick and write down the number of your disk. Use "Select Disk #" (# = number of your disk) and "Select Part 0" to select the first partition on the disk. Enter the command "Active" to make the disk as an active drive.

Format the drive

Format the drive as FAT32 or NTFS (depends on your requirements you have for your run-time image regarding performance and security).

Note, if you are not able to format as NTFS, open the Disk Management Console (found inside the Computer Management Console, right Click on Computer / Manage). Open the properties of your USB-Disk (not the partition property!), select the Policies Tab and choose the "Optimize for performance" setting. Select ok. Maybe you have to disconnect and reconnect the USB-Stick to make the changes valid. Now, the format dialog should also offer NTFS as a filesystem for the USB-Stick.

Fixup the MBR to be compatible with NTLDR

To fixup the MBR, we need a tool called bootsect.exe. The MBR coming with Vista and Windows 7 is looking for a file called "bootmgr" and not for "ntldr". Please note, you need the bootsect.exe coming with the Vista- / Windows 7 version of the Automated installation Kit (AIK). The Windows 7 AIK, you will find here:

Open an ADMIN console and enter the following command (assuming you are in the same path as the bootsect.exe tool):

  bootsect.exe /nt52 X: /force /mbr

This will write the Windows XP bootloader to the Master Boot Record.

Copy the files

Copy the files of the Windows Embedded Standard Image to the disk. At the end, you need a file called NTLDR in the root path of the USB-Stick.