Save your work before testing sleep or shutdown. Photograph the blue screen, especially any "What failed" file name. If Windows cannot start, see the startup guide.
Work through these checks
0 of 7 complete01Note when the crash happens and which driver is named
This stop code is tied to power changes, so the moment it happens narrows down the device.
- Write down whether it happens when going to sleep, waking up, closing the lid, shutting down or unplugging a dock.
- Check the blue screen photo for "What failed: name.sys" and search that name to find its device.
- In Event Viewer (Win + R, eventvwr.msc) > Windows Logs > System, look at the BugCheck event and the warnings just before it.
You know the situation and, ideally, the driver.
If it does not helpCommon file names: nvlddmkm.sys or amdkmdag.sys (graphics), Netwtw*.sys or rtwlan*.sys (Wi-Fi), USBXHCI.sys (USB). Continue with step 2.
02Update the drivers involved
Most cases are fixed by a newer driver that handles power changes correctly.
- Install current drivers for graphics, Wi-Fi, network, Bluetooth, chipset and USB from your PC or laptop maker's support page, or from NVIDIA, AMD and Intel for graphics.
- If the crash began right after a driver update, roll it back in Device Manager > device Properties > Driver > Roll Back Driver.
Sleep, wake and shutdown work without crashing.
If it does not helpIf the laptop maker's driver is very old, try the chip maker's newer driver, but go back if anything else stops working.
03Disconnect docks and USB devices before sleep
Docks, USB hubs and external drives have their own drivers that often fail to resume.
- Unplug the dock and USB devices, then test sleep and wake several times.
- If the crash stops, update the dock's firmware and driver from its maker, and reconnect devices one at a time.
You find whether an external device is responsible.
If it does not helpFor a Thunderbolt or USB-C dock, also update the Thunderbolt/USB4 driver and the BIOS.
04Stop Windows from turning devices off
When Windows powers down a network adapter or USB hub to save energy, some drivers never wake it properly.
- Open Device Manager (Win + R, devmgmt.msc).
- For the network and Wi-Fi adapter (Network adapters) and each USB Root Hub (Universal Serial Bus controllers), open Properties > Power Management.
- Clear "Allow the computer to turn off this device to save power" and click OK.
On laptops this slightly increases battery use.
The crash no longer occurs when waking up.
If it does not helpIf the Power Management tab is missing for a device, that device is not the one to change.
05Turn off Fast Startup
Fast Startup puts drivers into a hibernated state at shutdown. Older drivers can fail when they are resumed this way.
- Open Control Panel > Power Options > Choose what the power buttons do.
- Click Change settings that are currently unavailable.
- Clear Turn on fast startup and click Save changes.
Shutdown and the next startup no longer crash.
If it does not helpStartup may take a few seconds longer; that is normal.
06Reset power plans and update the BIOS
Customised power plans and old firmware can put devices into states their drivers do not support.
- Open Terminal (Admin) and run powercfg -restoredefaultschemes to restore the default power plans.
- Install the latest BIOS/UEFI from your PC maker for your exact model.
Restoring default schemes removes custom power plans you created. Do not switch off the PC during a BIOS update.
Power settings and firmware are at their supported defaults.
If it does not helpTest sleep and shutdown again over a few days.
07Identify the driver from the crash dump
When no driver is named, the memory dump records which device was stuck.
- Collect the files in C:\Windows\Minidump.
- Give them to the PC maker's support or a technician who can open them in WinDbg; the analysis shows the blocked device.
You know which device driver to update or replace.
If it does not helpUntil it is fixed, use Shut down instead of Sleep if only sleep crashes.
Possible causes
- Outdated or faulty graphics, network, Wi-Fi or USB driver
- A device that is allowed to power off and then fails to wake
- Docks, USB hubs or external drives connected during sleep
- Fast Startup or hybrid sleep combined with an old driver
- Outdated BIOS/UEFI
Useful Windows tools
These commands open Windows tools. Review changes before applying them.
devmgmt.msceventvwr.msccontrolWas this helpful?
Your progress is saved on this device.