Compartilhar via


WindowsToGo Device Boot Test

This test validates that the USB storage can be provisioned with a Windows image and the following requirements are met:

  • Boot into Windows from the device.

  • Operates at SuperSpeed when plugged into a USB 3.0 port.

  • Enter and resume from S3 sleep.

  • Enter and resume from S4 hibernate.

Test details

Associated requirements

Device.Storage.Hd.WindowsToGoCapableUSBDrive.WindowsToGoCapableUSBDrive

See the device hardware requirements.

Platforms

Windows 8 (x64) Windows 8 (x86) Windows 8.1 x64 Windows 8.1 x86

Expected run time

~45 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Removable Storage Testing Prerequisites.

The hardware requirements are as follows:

  • The device under test must be plugged into a USB 3.0 port to run this test.

  • The computer running the test should have no other USB storage devices attached.

  • The computer running the test should be certified for Windows 8 or later.

The software requirements are as follows:

  • User must copy a valid Windows Image (WIM) file to the test computer.t must include any drivers needed to use the system’s hardware.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Storage Testing.

If you cannot boot from the Windows To Go device, use the following to troubleshoot this issue:

  • Ensure that the Windows image does not include any 3rd party USB drivers.

  • Ensure that the system you are using to run this test has the latest firmware.

  • If boot was interrupted by an INACESSIBLE_BOOT_DEVICE stop error, the UFD likely became unresponsive after receiving a certain sequence of commands. Take a USB trace to determine what caused the UFD to become unresponsive.

  • If the system did not attempt to boot the Windows To Go drive, the UFD likely did not enumerate quickly enough for the system's firmware. Take a USB trace to determine what caused the system to abort its attempt to boot the UFD.

  • If you have taken these debugging steps and believe your device is behaving correctly, run the test again with a certified device and compare the results.

If the device cannot enter S3 sleep, your WIM file may not have the correct graphics drivers installed. Use the following steps to see what is blocking S3 sleep:

  • Provision a Windows To Go device with the same image you use and then boot from it.

  • Open a command prompt, and the run the following command: powercfg a

  • Note which device is blocking S3 sleep, add the appropriate driver to the WIM file, and run the test again.

If the computer lost state when resuming from S3 sleep or S4 hibernate, this could mean that the device lost power before all of the data in its cache could be written. Ensure that your device completely writes its cache to non-volatile storage before powering down.

If the computer resumes to the host operating system instead of the Windows To Go operating system from hibernation, the computer had a problem booting the Windows To Go device and the host computer was booted instead. Take a USB trace to determine what caused the computer to revert back to the host operating system.

If you receive Surprise Removal events during the test that were not caused from the Windows To Go device being unplugged and then plugged back in, the Windows To Go device may not be properly maintaining its link to the host operating system per the USB 3.0 specification or the Windows To Go device may not be properly saving all data to non-volatile memory when the system enters a sleep state. Take a USB trace to determine what caused the Surprise Removal events.

More information

Parameters

Parameter Description

WimPath

To run this test the user must provide a full Windows Image (WIM) file. This parameter specifies the location the test should look for the WIM file. A WIM can be obtained from within Windows installation media or from an ISO file – in either case look inside the “Sources” folder for “install.wim”. The provided WIM must meet the following requirements:

  • Must contain a full Windows v6.3 image (not WinPE).

  • Must match the processor architecture of the computer running the test.

  • Must include any device drivers the system needs to boot and enter S3 sleep and S4 hibernate.

Default value: C:\install.wim

WimIndex

WIM files can contain multiple images. If using a WIM file with multiple images, use this parameter to select the appropriate one for your test computer. Most WIM files contain only a single image so it is usually not necessary to modify this parameter.

Default value: 1

 

File list

File Location

boottest.dll

<testbinroot>\pw_device_logo\

bootcapable.dll

<testbinroot>\pw_device_logo\

Unattend.xml

<testbinroot>\pw_device_logo\

Powertst.exe

<osbinroot>\pwrtest\

 

 

 

Send comments about this topic to Microsoft