Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

0x0000009F error when you use Sysprep.exe and the /generalize switch to restart the computer


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a computer that's running Windows 8.1 or Windows Server 2012 R2.
  • The computer has the xHCI (USB3) controller, but there's no any device connected to the USB port.
  • You run the Sysprep.exe process together with the /generalize switch to generalize the system.
However, when the Sysprep.exe process completes its operation and the computer restarts, you may receive a Stop error message that resembles the following:

STOP: 0x0000009F ( parameter1 , parameter2 , parameter3 , parameter4 )

↑ Back to the top


Cause

When you run the Sysprep.exe process together with the /generalize switch, this deletes the hardware configuration information from the system registry as part of the generalization process. However, if no devices are connected to the USB port while the xHCI controller supports Runtime D3, Windows may set the host controller into the D3 state after a short idle period.

Additionally, if the device is in D3 when the system restarts, the xHCI driver will try to bring it back to a D0 state. This operation must access the hardware configuration information from the registry. However, because the hardware configuration information has already been deleted by the Sysprep.exe process, Windows doesn’t handle this particular scenario correctly. Therefore, the “0x0000009F" Stop error occurs during the shutdown process.

↑ Back to the top


More Information

To work around this issue, connect a USB device (such as a mouse or a flash disk) to the USB port. 

If the xHCI controller is disabled in either the BIOS or Windows, this issue does not occur. The issue also does not occur if the /generalize switch is not used.

↑ Back to the top


Keywords: kbexpertiseadvanced, kbsurveynew, kbtshoot, kb

↑ Back to the top

Article Info
Article ID : 2997369
Revision : 1
Created on : 1/7/2017
Published on : 9/6/2014
Exists online : False
Views : 245