Errors

Blue screen 0x0000009F? A driver did not finish changing power state

Short answerStop code 0x0000009F is DRIVER_POWER_STATE_FAILURE. A driver — the software that lets Windows talk to a piece of hardware — did not finish changing power state in time. The PC was sleeping, waking, or shutting down, so Windows stopped it. What was changing decides the fix:
  • It happens at sleep, wake, or shutdown — the driver for a device that sleeps with the PC. Update or roll back that device's driver.
  • The blue screen names a file — the .sys file after What failed: belongs to one maker. That maker's driver is the test.
  • It started after a driver update — roll that driver back in Device Manager and watch whether the stops end.
Write the stop code and the named file down before you change anything. The screen clears on restart, and that name is the diagnosis.

The PC stops on a blue screen: Your PC ran into a problem and needs to restart, with stop code DRIVER_POWER_STATE_FAILURE. It tends to arrive at a power change — closing the lid, waking the PC, or shutting down.

Windows asks each driver to change its device's power when the PC sleeps or wakes. This code means one driver held that change up past the limit Windows allows. It points at a device and its driver, not at Windows as a whole.

Do it by hand below, or let Noah read this PC's event logs and installed software first (more at the end).

What 0x0000009F means

Microsoft's bug check 0x0000009F is DRIVER_POWER_STATE_FAILURE: a driver is in an inconsistent or invalid power state. A bug check is Windows' own stop: it halts the PC rather than let a driver keep the hardware in a state Windows cannot trust.

The code names the class of failure. The screen sometimes adds a file name after What failed: — a .sys file, which is a driver file. That name, when it appears, is the specific driver to test.

First, find the stop again after restart

The blue screen clears when the PC restarts, so read the record Windows kept. This changes nothing.

zsh — Terminal
% Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-WER-SystemErrorReporting'; Id=1001; StartTime=(Get-Date).AddDays(-7)} | Format-List TimeCreated, Message

Run in PowerShell; no administrator rights needed. Each entry is one blue-screen stop and repeats its bug check code. No entries does not prove there was no stop; check how far back the System log reaches.

Beside each stop, write what the PC was doing: sleeping, waking, closing the lid, shutting down, or sitting in use. A stop that always lands on one power change names the class of device. A stop at random moments points wider, to the last sections.

NoahNoah searches the System log for bug check entries and reads the Windows version and build. It cannot read a memory dump file, so it cannot name a driver the screen and the log did not name.

It happens at sleep, wake, or shutdown

The PC stops when it goes to sleep, wakes, the lid closes, or it shuts down. In ordinary use it runs normally.

That timing is the clue. The devices whose drivers change power with the PC are the graphics, network, storage, and USB devices, and anything plugged into it. A driver update for one of them, or a new USB device, is the change to compare against the first stop.

Fixunplug USB devices you do not need, then test sleep and wake. If the stops end, reconnect one device at a time, testing sleep between each. The device whose return brings the stop back owns the driver to fix.

NoahNoah lists the programs set to start with Windows and the software installed on the PC, with versions. That list shows what changed by date only where the maker records it; note driver changes from Device Manager instead.

Fix the named or recently changed driver

The screen or the log names a .sys file, or the stops began right after a driver update.

Search the file name to find its maker: the name usually belongs to one device maker or one software maker. Then act on that maker's driver only. Changing every driver at once hides which one mattered.

Fixif the stops began after an update, roll it back. Search for Device Manager, right-click the device, and choose Properties. On the Driver tab, choose Roll Back Driver if it is offered, then restart and test sleep and wake. If nothing was recently updated, install the latest driver for that device from the device maker's site instead, and test again.

Get drivers from the maker of the device or of the PC. Driver updater programs bundle drivers of unknown origin and add a second suspect to every later failure.

NoahNoah has no built-in way to update or roll back a device driver. It can list installed software and startup programs, and read the bug check entries, so the stops before and after a driver change can be compared.

No driver is named, and timing does not narrow it

Stops carry no file name and land at varied moments, not only at power changes.

Repair Windows' own files first. DISM supplies good copies of system files, and SFC (System File Checker) uses them to replace damaged ones. Microsoft says to run DISM before SFC.

Fixtype cmd in the Search box, right-click Command Prompt, and choose Run as administrator. Then run these one at a time:

zsh — Terminal
% DISM.exe /Online /Cleanup-image /Restorehealth

Run in the administrator Command Prompt. Microsoft notes it can take several minutes. Wait until it reports the operation completed successfully.

zsh — Terminal
% sfc /scannow

Run after DISM finishes. Don't close the window until verification reaches 100%. Then restart and use the PC, watching for the next stop.

If stops continue after that, save your work and note the next screen in full. A recurring stop that no test narrows is hands-on work: get help with the PC in front of you rather than replacing parts on a guess.

NoahNoah can search the System log for one stop at a time and compare their codes and named files. Noah has no built-in DISM or SFC repair.

What to avoid

  • Driver updater programs. They install drivers from their own library, so a later failure has two suspects. Get the one named driver from its maker.
  • Updating every driver at once. Change the one the evidence names. If the stops end, you know why; if they do not, you have lost the comparison.
  • Turning off sleep to hide the stop. That avoids the power change instead of fixing the driver, and the same driver still loads at shutdown.
  • Replacing hardware on this code alone. The code blames a driver state, not a part. Test drivers and Windows files first.
Try Noah free

Sleep and wake that work.

Just tell Noah what's wrong:

My PC blue-screens with DRIVER_POWER_STATE_FAILURE.
Find the stuck driverFirst conversation freeNew customers: 7-day free trialOnly with your OK

Already have Noah? Open it on this problem →

Frequently asked questions

What does stop code DRIVER_POWER_STATE_FAILURE mean?

It is bug check 0x0000009F. While the PC was sleeping, waking, or shutting down, a driver did not finish changing its device's power state in time, so Windows stopped the PC. Note any file named after What failed: — that .sys file is the driver to test.

Why does 0x0000009F happen when my PC sleeps or wakes?

Sleep and wake are when drivers must change device power. Unplug unneeded USB devices and test sleep; reconnect one at a time. Then update that device's driver from its maker, or roll it back in Device Manager if the stops began after an update.

Where do I find the stop code after the PC restarts?

In Event Viewer, or with the PowerShell command on this page: System log entries from Microsoft-Windows-WER-SystemErrorReporting, event 1001, repeat the bug check code for each stop.

Should I run SFC for 0x0000009F?

Run DISM and then SFC when no driver is named and the stops do not follow a power change. When a file is named or the stops track sleep and wake, fix that one driver first — SFC checks Windows' own files, not a maker's driver.

Commands in this guide are standard, read-only macOS diagnostics unless noted; anything that changes your system is called out. When in doubt, back up first with Time Machine.