1. Boot into Windows Recovery Environment (WinRE)
- Interrupt boot 3 times to enter WinRE.
- Go to Troubleshoot β Advanced Options β Command Prompt.
2. Run System File Checker and DISM
- Repair corrupted kernel modules and handle-related files by running:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
DISM /Image:C:\ /Cleanup-Image /RestoreHealth
- Restart after scan completion.
3. Run CHKDSK to Fix File System Errors
- In Command Prompt, type:
chkdsk C: /f /r /x
- Restart the system after scanning to correct any file system or registry handle errors.
4. Boot into Safe Mode and Isolate Drivers
- Start Windows in Safe Mode.
- Open Device Manager β View β Show hidden devices.
- Identify recently installed or updated drivers.
- Right-click β Uninstall device or Roll Back driver.
- If a third-party driver caused the issue, uninstall the associated software completely.
5. Remove or Disable Third-Party Filter Drivers
- Filter drivers used by antivirus, backup, or encryption tools can cause handle corruption.
- Temporarily disable or uninstall these tools in Safe Mode.
- Restart and verify if BSOD persists.
6. Repair Registry and Handle Mappings
- Use Command Prompt (Admin) to repair and reset handle mappings:
sfc /verifyonly
regedit
- Inspect HKLM\SYSTEM\CurrentControlSet\Services for invalid driver entries.
- Remove obsolete driver subkeys cautiously (only if verified).
7. Check and Test Memory Stability
- Run Windows Memory Diagnostic or MemTest86 to identify RAM corruption.
- If memory errors occur, replace the faulty RAM module.
8. Update BIOS and Chipset Drivers
- An outdated chipset or BIOS firmware may mismanage hardware handle allocation.
- Update to the latest BIOS version and install updated chipset drivers from your motherboard manufacturer.
9. Perform a Clean Boot
Perform a Clean Boot to disable all third-party services and startup programs:
- Open System Configuration (msconfig).
- Disable all non-Microsoft services.
- Restart and check if BSOD reappears.
- Gradually re-enable services to identify the problematic driver or application.
10. Perform System Restore or Reinstallation
If all else fails:
- Use System Restore in WinRE to revert to a point before the BSOD began.
- If corruption persists, back up important files and perform a Clean Windows Installation for a complete system reset.
The 0x00000087 (INVALID_HANDLE) BSOD signifies kernel-level handle corruption or mismanagement caused by faulty drivers or system file inconsistencies.
To fix the issue:
- Repair system and file integrity with SFC/DISM and CHKDSK.
- Roll back or uninstall defective drivers.
- Check RAM stability and update BIOS or chipset drivers.
- Remove conflicting filter drivers and perform a clean boot.
If unresolved:
- Reinstall Windows to rebuild a clean handle mapping environment.
- Replace faulty RAM or storage devices if hardware instability persists.
Timely diagnosis and driver correction help prevent recurring INVALID_HANDLE errors and restore long-term Windows stability.