0x0000009F Stop error in Windows 7 during sleep operation

Applies to: Windows 7 EnterpriseWindows 7 Home PremiumWindows 7 Professional


Consider the following scenario:
  • AWindows 7 machine is hosting an ad-hoc wireless network
  • A client connects to the ad-hoc network
  • The Windows 7 ad-hoc wireless network host enters sleep (S3)
  • The client disconnects from the ad-hoc wireless network while the host is sleeping
  • The Windows 7 ad-hoc wireless network host resumes from sleep and then attempts to sleep again
In this scenario, the Windows 7 machine will not enter the sleep (S3) state. After 10 minutes, the computer crashes and a stop error similar to the following is displayed.

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


The Windows 7 client machine is unable to complete the power down of the wireless network device due to an outstanding reference count(s) on the transfer packet remove lock.


You can workaround this issue by disconnecting from the ad-hoc wireless network before the host enters sleeps. Additionally, powering down the ad-hoc wireless host machine instead of sleeping will prevent the issue.