Storage · Windows 11
Fix an NVMe SSD that disappears after sleep or under load
An NVMe drive that vanishes after the PC sleeps, or drops out under load, is usually a power-state, firmware, or driver problem rather than a dead drive. Change the power behavior first, update the drive and chipset next, and only then treat it as failing hardware.
What you need
- A backup of anything only on that drive. A drive that disappears can fail for good; copy what matters before you change settings.
- The drive maker's support page for your exact model. Firmware updates are model-specific — never flash another model's file.
- Admin access. Power settings, Device Manager, and driver installs all need it.
Read the problem before you touch it
- Know the two different symptoms. Disappearing after sleep points at power states: the drive or its controller enters a low-power state and does not wake cleanly. Disappearing under load points at heat, firmware, or a marginal connection. Note which one you have, because the first fix differs.
- Check whether the data is safe when it returns. When the drive comes back, open a few files and check Event Viewer under Windows Logs > System for disk or stornvme errors around the time it vanished. Repeated errors at the same moment as sleep or heavy writes are the clue to keep.
- Rule out a loose fit on a desktop. If the drive was recently installed, its retaining screw and slot seating matter. Do this check with the PC off and unplugged, after the software steps, not before them.
The simple fixes, in order
- Turn off PCI Express link power saving. Go to Settings > System > Power and set the power mode to Best performance for a first test. Then open Control Panel > Power Options > Change plan settings > Change advanced power settings, expand PCI Express > Link State Power Management, and set it to Off. Restart and let the PC sleep. If the drive now wakes reliably, the power state was the cause.
- Stop Windows turning the drive off to save power. In the same advanced power settings, expand Hard disk > Turn off hard disk after and set it to Never (0 minutes) while you test. This separates a simple timeout from a deeper sleep-state fault.
- Update the chipset and storage drivers from the PC or motherboard maker. Use the support page for your exact PC or board, not a driver-updater app. Install the chipset package first, restart, then any storage or NVMe driver the maker offers. Windows' own storage driver guidance is covered in the Microsoft Learn Storage drivers overview.
- Check the drive maker's tool for firmware and health. Install the maker's SSD utility, read the reported health and temperature, and apply a firmware update only if one is listed for your exact model and capacity. Back up first — a firmware update interrupted by power loss can finish the drive.
The advanced route
- Test with sleep states narrowed down. If the drive still vanishes, open Windows Terminal as administrator and run
powercfg /ato list the sleep states this PC supports. Then test one change at a time: disable Fast Startup under Control Panel > Power Options > Choose what the power buttons do, restart, and sleep-test again. Fast Startup restores a saved kernel session, and a drive that mishandles that restore shows up exactly this way. - Repair system files if the storage stack itself is damaged. Open Windows Terminal as administrator, run
DISM /Online /Cleanup-Image /RestoreHealth, then runsfc /scannow. Microsoft documents both tools in Using System File Checker in Windows. Restart and repeat the sleep test. - Reseat or move the drive on a desktop. Power off, unplug, and reseat the NVMe drive firmly in its slot with its screw snug. If the board has a second M.2 slot, try the drive there: a drive that works in one slot and not the other points at the slot or board, not the drive.
- Read the pattern in Event Viewer. Filter the System log for the minutes around a disappearance. A burst of stornvme or disk errors at wake points back to driver or firmware; errors under sustained writes, with high temperatures in the maker's tool, point at heat — check the drive has airflow and, if fitted, that its heatsink pad makes contact.
End state
- The drive is present after every sleep and wake cycle for a full day of normal use.
- The drive stays visible during a long file copy or game session that used to drop it.
- Event Viewer shows no new disk or stornvme errors at wake.
When it goes wrong
- It disappears in the BIOS or setup screens too. That takes Windows out of the picture. Reseat the drive, try another slot, and contact the drive maker — this is hardware or firmware below the operating system.
- Health in the maker's tool is low or falling. Stop troubleshooting settings. Copy everything off the drive now and replace it; a disappearing drive with poor health is giving fair warning.
- It only vanishes on battery power. Compare the advanced power settings for On battery against Plugged in — the battery profile often keeps the aggressive link power setting you turned off for mains power.
- A firmware update is offered but you have no backup. Wait. Get the backup first; the update is not urgent enough to risk the only copy of your files.
Related fixes
-
Fix a Wi-Fi adapter that disappears after sleep and returns after a restart
A Wi-Fi adapter that vanishes from Settings and Device Manager after sleep, then returns after a restart, is usually being powered down to save energy and not waking back up. Stop Windows from turning the adapter off first, update or roll back its driver next, and treat a full restart as the workaround, not the fix.
-
Fix a drive that disappears from File Explorer after the PC sleeps
A drive that vanishes from File Explorer after sleep, then comes back after a restart, is usually being powered down and not woken cleanly, or Windows has marked it as removed. Check Disk Management first to see whether Windows still sees the drive at all, then fix the power and hot-swap settings that let it drop.
-
Fix an NVMe SSD that runs hot and slows down under long copies
An NVMe drive that starts a big copy at full speed and crawls after a few minutes is usually protecting itself from heat: the controller slows down on purpose. Confirm the temperature pattern first, then fix the cooling — airflow and a heatsink do more than any setting.
-
Fix a device that shows Code 39 in Device Manager after an update
Code 39 in Device Manager means Windows could not load the driver for that device — after an update, the driver entry is usually damaged or mismatched rather than the hardware being broken. Remove the broken entry cleanly, reinstall a known driver, and repair system files only if the error spreads.
Sources
- Microsoft Learn, Storage drivers — how Windows storage drivers, including NVMe, are structured and loaded.
- Microsoft Support, Using System File Checker in Windows — running SFC and DISM to repair missing or corrupted system files.