Critical
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error 0x00000036 in Windows 11
Bug Check 0x00000036: DEVICE_REFERENCE_COUNT_NOT_ZERO — Device reference count not zero on unload.
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | 0x00000036 |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Critical |
| Estimated Time | 45 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 Boot into Safe Mode to see if the error occurs. If it doesn't, a third-party driver is likely the cause. Use the same method as before: restart and press F8 or hold Shift and click Restart.
- 2 In Safe Mode, open Device Manager and look for devices with a yellow exclamation mark. Right-click and uninstall any problematic drivers, especially for devices you recently used or unplugged. Restart your PC and let Windows reinstall them.
- 3 If you recently installed new hardware or drivers, use System Restore to revert. Type 'rstrui' in the Run dialog (Win+R) and follow the prompts. This can undo recent changes that introduced the bug.
- 4 Update your drivers to the latest versions from official manufacturer websites. Outdated drivers may have bugs that cause improper unload behavior.
- 5 If you use a docking station or frequently connect/disconnect devices, make sure you use the 'Safely Remove Hardware' feature before unplugging. This ensures drivers are properly unloaded. Right-click the device in the system tray and select 'Eject'.
- 6 If the error persists, perform a Windows 11 repair installation using the installation media. This will reinstall the OS while keeping your files and apps, and can fix driver-related issues.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Still having issues?
Describe your exact problem to Error Buddy and get a personalized fix in seconds.
🛠️ Try Error Buddy — It's Free