Blue screen · Windows 11
Fix a blue screen with stop code DRIVER_POWER_STATE_FAILURE
This stop code means a driver failed to handle a power change — going to sleep, waking up, or shutting down — and Windows stopped rather than carry on with a device in an unknown state. The fix is finding and updating, rolling back, or removing the one driver that mishandles power.
What you need
- Fifteen to thirty minutes. Most of it is updating or rolling back one driver and then putting the PC through a few sleep and wake cycles.
- The pattern of when it crashes. Sleep, wake, shutdown, or plugging something in — the timing is the main clue to which device is involved.
- Administrator access. Driver changes in Device Manager need it.
Read the problem before you touch it
- Understand what the stop code names. DRIVER_POWER_STATE_FAILURE is bug check 0x9F. The Microsoft Learn reference, Bug Check 0x9F DRIVER_POWER_STATE_FAILURE, describes it as a driver in an inconsistent or invalid power state — typically a device that blocked a power request for too long during a transition. In plain terms: Windows asked every device to change power state, one driver did not answer properly, and after waiting, Windows stopped the PC instead of guessing.
- Tie the crash to a power event. This code almost never appears in the middle of steady work. It appears as the PC goes to sleep, wakes, hibernates, shuts down, restarts, or sometimes when a USB device is connected or removed. Note which transition your crashes cluster around, and what is attached at the time — a dock, an external drive, a USB adapter. A crash on wake with a dock attached and no crash without it has effectively named its suspect.
The simple fixes, in order
- Install every available Windows update, then restart. Open Settings > Windows Update, choose Check for updates, install what is offered, and restart — a real restart, not a shutdown and start, so drivers reload cleanly. Then open Advanced options > Optional updates on the same page and install any driver updates listed there. A corrected driver delivered this way ends the crashes without you ever needing to know exactly which device it was.
- Update the drivers for the devices in the pattern. In Device Manager, start with the category your pattern points at: display adapters for wake crashes, network adapters for sleep crashes on laptops that lose their connection, and the USB controllers and any dock devices for crashes when hardware is attached. Right-click the device, choose Update driver, and let Windows search. Where Windows finds nothing and the crashes continue, the PC or device maker's own support page is the next source for that exact model — driver versions there are often newer than the ones Windows offers.
- Roll back the driver that changed just before the crashes began. If the timing points at one recent driver, open that device in Device Manager, go to its Properties > Driver tab, and choose Roll Back Driver if the button is available. Answer its prompt, restart, and put the PC through the sleep or wake cycle that used to crash it. A rollback that ends the crashes confirms the diagnosis; you can try the newer driver again after the maker publishes a further update.
- Disconnect USB devices and docks to isolate the culprit. Shut the PC down, disconnect everything USB except keyboard and mouse — docks first — and use the PC through several sleep and wake cycles. If the crashes stop, reconnect devices one at a time, with a sleep and wake cycle between each, until the crash returns with a particular device attached. That device's driver is your target for updating, rolling back, or, if it still crashes on its newest driver, replacing or retiring the device.
The advanced route
- Disable the device's power management as a test. For a suspect device such as a network adapter or USB hub, open its Properties in Device Manager and, on the Power Management tab if it has one, clear Allow the computer to turn off this device to save power. Restart and test the same sleep cycle. If the crashes stop, you have confirmed the device mishandles being powered down — leave the setting cleared as a workaround, and treat a future driver update as the real fix to try restoring it with.
- Start in Safe Mode to separate drivers from hardware. If the PC crashes too often to work in normal Windows, start it in Safe Mode through Settings > System > Recovery > Advanced startup, then Troubleshoot > Advanced options > Startup Settings > Restart and choose Safe Mode. Safe Mode loads a minimal driver set; a PC that sleeps and wakes cleanly there is telling you a third-party driver, not the hardware, is at fault, and you can uninstall the suspect device's driver from Device Manager while you are there. The recovery routes around this are described in Recovery options in Windows.
- Repair system files if several drivers misbehave at once. When crashes involve different devices on different days, suspect damaged Windows files underneath them all. Open an administrator Command Prompt and run
DISM /Online /Cleanup-Image /RestoreHealth, thensfc /scannow, in that order, as Microsoft documents in Using System File Checker in Windows. Restart afterward and test the sleep cycle again before changing any more drivers, so you know whether the repair was the fix.
End state
- The PC goes to sleep, wakes, and shuts down repeatedly without a blue screen.
- The driver behind the crash has been updated, rolled back, or its device removed — and the change is the only one you needed.
- Event Viewer's System log shows clean power transitions, with no new errors at sleep or wake times.
When it goes wrong
- It crashes only when the dock is connected. Docks concentrate several drivers — display, network, USB — in one connection, and any one of them can be the culprit. Update the dock's own firmware and drivers from its maker as a set, and test the laptop sleeping and waking undocked to confirm the dock is the trigger.
- Roll Back Driver is grayed out. Windows keeps no earlier driver to return to. Uninstall the device in Device Manager, choosing the option to delete its driver software if offered, then restart — Windows installs a clean driver, and you can install the maker's current version yourself.
- No single device stands out and updates change nothing. Move to the system file repair in the advanced steps, and if the crashes persist after it, use System Restore from the recovery options to return the PC to a point before the crashes began — drivers and settings roll back together, and your files stay in place.
Related fixes
-
Fix a blue screen with stop code KERNEL_SECURITY_CHECK_FAILURE
Your PC blue-screens with stop code KERNEL_SECURITY_CHECK_FAILURE. A data structure the kernel relies on to check its own security was found corrupted, so Windows stopped rather than continue running on data it could not trust. The usual culprit is a faulty driver writing where it should not, failing memory, or damaged system files. Undoing the most recent change, checking drivers, and repairing system files — in that order — clears it in most cases.
-
Fix a blue screen with stop code VIDEO_TDR_FAILURE
VIDEO_TDR_FAILURE means the graphics driver stopped responding and Windows could not restart it in time. A clean install of the graphics driver fixes most cases; overheating and a driver that only fails under load are the other two branches.
-
Fix a blue screen with stop code DPC_WATCHDOG_VIOLATION
DPC_WATCHDOG_VIOLATION means a deferred procedure call ran far too long and Windows stopped the system rather than wait forever. In practice the culprit is usually a storage or chipset driver, or an SSD struggling with a power state. Update those drivers first, then check the drive and its settings.
-
Fix a blue screen with stop code DRIVER_IRQL_NOT_LESS_OR_EQUAL
A DRIVER_IRQL_NOT_LESS_OR_EQUAL blue screen names its own culprit class: a driver touched memory at the wrong moment. Isolate the third-party driver that changed last, and leave Driver Verifier alone until everything simpler is done.
Sources
- Microsoft Learn, Bug Check 0x9F DRIVER_POWER_STATE_FAILURE — what this bug check means: a driver in an inconsistent or invalid power state, blocking a power transition.
- Microsoft Support, Using System File Checker in Windows — running DISM and SFC to repair missing or corrupted system files.
- Microsoft Support, Recovery options in Windows — reaching Safe Mode, System Restore, and the other recovery routes on a PC that crashes repeatedly.