0x0000009F - DRIVER_POWER_STATE_FAILURE: a driver would not wake or sleep
0x0000009F Microsoft name: ERROR_BAD_THREADID_ADDR
What it means
A driver was in a power state that does not match what Windows asked, often when going to sleep or waking.
This number is listed more than once in Microsoft's tables (see the source box). Use the entry that matches where you saw it.
Where you see it
A blue screen (Windows 11 shows a black or blue screen with a sad face and a stop code name) followed by a restart.
Likely causes
- A driver that does not handle sleep properly.
- A USB or Bluetooth device.
- Fast Startup or power settings.
Three safe steps, in order
Try them one at a time and test after each. No registry edits, no repair tools to buy, and no switching off your security. If a step needs a driver, firmware or Windows installation media, get it only from Microsoft or your device maker.
- Disconnect USB and Bluetooth devices and try sleep again.Related Microsoft page: Resolving blue screen errors in Windows
- Install Windows updates and driver updates from the PC maker.Related Microsoft page: Troubleshoot problems updating Windows
- Do a clean start to find software that interferes.Related Microsoft page: How to perform a clean boot in Windows
Stop and get help when…
it only occurs on a laptop after a BIOS update. Ask the maker.
Source and date
- Official Microsoft reference
- System Error Codes (WinError.h)
- More Microsoft help
- Resolving blue screen errors in Windows
- Date checked
- 24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.
Windows system error (Win32) 159
Microsoft describes it as: “The address for the thread ID is not correct.”
Source: System Error Codes (WinError.h) (Microsoft Learn content, CC BY 4.0)
Blue screen stop code (bug check)
Source: Bug check code reference (Microsoft Learn content, CC BY 4.0)
The wording above is ours. Where a box quotes Microsoft's description, it comes from Microsoft Learn documentation published under CC BY 4.0 and is credited to the page linked.
Related codes
- 0x000000A5ACPI_BIOS_ERROR: the BIOS does not follow the rules Windows...
- 0x000000BEATTEMPTED_WRITE_TO_READONLY_MEMORY: a driver wrote to...
- 0x000000C5DRIVER_CORRUPTED_EXPOOL: a driver damaged system memory
- 0x000000D1DRIVER_IRQL_NOT_LESS_OR_EQUAL: a driver used paged memory...
- 0x000000EATHREAD_STUCK_IN_DEVICE_DRIVER: a driver is stuck in a loop
- 0x000000EDUNMOUNTABLE_BOOT_VOLUME: Windows could not open its drive