0X00000077

Fix ERROR_BAD_DRIVER_LEVEL 0x00000077 on a Failing Drive

ERROR_BAD_DRIVER_LEVEL 0x00000077 means Windows asked your storage driver for something it can't do — usually a dying drive or bad cable. Here's how to pin it down.

Quick answer: ERROR_BAD_DRIVER_LEVEL (0x00000077) is a STOP code that fires when the storage stack asks the disk driver or controller to do something it doesn't support — nine times out of ten the real cause is a dying drive, a flaky SATA cable, or a controller in the wrong AHCI/RAID mode.

This one isn't a software bug you patch away. The kernel is telling you the driver returned a status the I/O manager can't accept. Windows hands a request down to the disk miniport (storport.sys, iaStorA.sys, nvme.sys, or whichever driver owns your controller), the drive or the link between them chokes on it, and the system bugchecks. You'll usually see it as a 0x77 blue screen with a dump written to %SystemRoot%\Minidump, or as an event in the System log from source Disk or storahci. Common real-world triggers: a 2TB Seagate Barracuda that's been clicking for a week, a SATA cable that got pinched when someone shoved a case panel back on, or an NVMe drive that dropped off the bus because the motherboard's M.2 slot is sharing lanes with a PCIe card. I've also seen it on cheap USB-SATA bridges that lie about supporting UDMA modes — Windows sends a command the bridge firmware doesn't implement, and boom.

Fix 1: Check the drive's SMART data first

Don't skip this. You need to know whether the disk is actually dying before you waste time on software.

  1. Boot into Windows (safe mode is fine if the normal boot keeps crashing).
  2. Open an elevated Command Prompt — right-click Start, pick Terminal (Admin) or Command Prompt (Admin).
  3. Run the built-in SMART check:
wmic diskdrive get model,status,SerialNumber
wmic /namespace:\\root\wmi path MSStorageDriver_FailurePredictStatus get InstanceName,PredictFailure,Reason

After you press Enter on the second command you should see PredictFailure FALSE for each healthy disk. If it says TRUE, stop right here — back up your data and replace the drive. No amount of driver fiddling fixes a disk that's predicted to fail.

For a real read of reallocated sectors and pending errors, grab CrystalDiskInfo 9.x or smartctl from smartmontools. Look at Reallocated_Sector_Ct and Current_Pending_Sector. Anything above zero on the pending count is a red flag. Above 100 and you're on borrowed time.

Fix 2: Reseat and swap the SATA or power cable

This is the most common physical cause and it takes five minutes.

  1. Power the machine off and pull the plug. Hold the power button for ten seconds to drain the PSU.
  2. Open the case. Find the SATA data cable going from the drive to the motherboard.
  3. Unplug both ends. Look at the connector — if the little gold pins look dull or the plastic tab is cracked, the cable is done.
  4. Plug it back in firmly. You should feel a positive click on the board side.
  5. Do the same with the SATA power connector from the PSU.
  6. If you have a spare SATA cable, swap it. Cables are $4 and they fail more often than people think.
  7. Boot and watch for the 0x77. If it's gone, you found it. If it's back, run chkdsk C: /f /r from an elevated prompt to look at the filesystem side.
Cables routed under a graphics card or pinched behind a drive cage can work fine for a year and then start throwing 0x77 after a case move. If you just rebuilt the PC, suspect the cable first.

Fix 3: Verify the controller mode in BIOS/UEFI

Windows installed the storage driver for one mode. If the BIOS flips modes — say a CMOS battery died and the setting reset — the driver gets commands the controller can't service. That's textbook 0x77.

  1. Reboot and tap Del or F2 at POST to enter UEFI. On HP business machines it's F10, on Dells it's F2.
  2. Look under Storage Configuration, SATA Mode, or Onboard Devices.
  3. Note the current setting: AHCI, RAID, Intel RST, or IDE/Legacy.
  4. If it doesn't match what Windows was installed with, either switch it back or change Windows to match (see below).

If you need to switch from RAID to AHCI on an existing install, don't just flip the BIOS and reboot — Windows will 0x77 on you. Boot Windows first in the old mode, then:

bcdedit /set {current} safeboot minimal
:: reboot into BIOS, change to AHCI, boot back into Windows, then:
bcdedit /deletevalue {current} safeboot

That trick forces the AHCI driver to load before the change takes effect.

Fix 4: Update or roll back the storage driver

Sometimes the driver itself got corrupted or an update broke it. Intel RST is a repeat offender — I've seen 18.x versions throw 0x77 on older 6-series chipsets that were perfectly happy on 17.x.

  1. Right-click Start, open Device Manager.
  2. Expand IDE ATA/ATAPI controllers or Storage controllers.
  3. Find your SATA/NVMe controller. Right-click and pick Properties → Driver.
  4. Note the driver version and date.
  5. Click Update driver, then Browse my computer, then Let me pick from a list.
  6. Pick the Microsoft Standard AHCI 1.0 Serial ATA Controller to fall back to the inbox driver and test. If 0x77 stops, the OEM driver was the problem.
  7. Grab the correct driver from your motherboard maker's support page — not from Intel's generic download, which often doesn't include the right INF for older boards.

Fix 5: Rule out a USB bridge or external enclosure

If the crash only happens with an external drive plugged in, the bridge chip is the culprit. ASMedia ASM1153 and JMicron JMS578 chips in cheap enclosures sometimes advertise UAS (USB Attached SCSI) support they don't fully implement. Disable UAS for that device:

:: Find the device instance path in Device Manager, then add a registry value:
reg add "HKLM\SYSTEM\CurrentControlSet\Enum\USB\VID_XXXX&PID_XXXX\\Device Parameters" /v DisableUAS /t REG_DWORD /d 1 /f

Swap the VID_XXXX&PID_XXXX portion for the actual hardware IDs from Device Manager → Details → Hardware Ids. Reboot. If the crash goes away, the bridge was mishandling commands.

If none of that works

  • Test the drive on another machine. If it 0x77s there too, the drive or its onboard controller is dead.
  • Run manufacturer diagnostics. SeaTools for Seagate, Data Lifeguard for WD, Samsung Magician for their SSDs. These get deeper than SMART.
  • Check the power supply. A failing PSU that dips below 11.4V on the 12V rail will brown out the drive controller and cause odd storage errors. A $30 PSU tester pays for itself.
  • Last resort: clean-install Windows on a known-good drive. If 0x77 follows you to the new disk, the motherboard's SATA controller is bad.

Prevention

Back up anything you can't live without, today. If you're seeing 0x77 at all, your disk or its connection is compromised and it's not a matter of if you lose data, it's when. Set up Windows File History or Macrium Reflect Free to run nightly, keep a spare SATA cable in your parts bin, and don't buy the $8 USB enclosures — the bridge chip inside is exactly what generates this error. Replace spinning drives at the five-year mark whether they're showing SMART warnings or not.

Related Errors in Hardware – Hard Drives
0X00000265 Fix ERROR_REGISTRY_QUOTA_LIMIT 0X00000265 on Windows Disk Hot-Swap Detection Failed Disk Hot-Swap Detection Failed on Dell PowerEdge R740 – Fixed Hard Drive Error: Invalid class name – 3 Fixes 0x807800C5 Storage Pool Capacity Threshold Exceeded – Real Fix

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.