1. Restart Your PC
Simple but effective—this can clean up any lingering invalid handle references caused by previous sessions.
2. Update All Device Drivers
- Open Device Manager.
- Right-click each important device (especially display, network, and chipset drivers) → Update Driver.
- Consider uninstalling and reinstalling drivers from the manufacturer’s website for better stability.
3. Run System File Checker and DISM
These tools scan and repair corrupted system files and the Windows image:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
4. Boot Into Safe Mode
If the issue persists in normal mode, try booting into Safe Mode.
- Type msconfig → Boot tab → Enable Safe boot → Restart.
- This helps isolate third-party interference.
5. Clean Up Registry
Use a trusted tool (like CCleaner) or a manual registry backup and fix approach:
- Press Win + R, type regedit.
- Backup the registry (File → Export), then search for invalid entries related to faulty apps or devices.
6. Perform a Clean Boot
- Type msconfig → Services tab → Hide Microsoft Services → Disable All.
- Restart and test if the error disappears.
- Helps identify problematic third-party software.
7. Run a Full Malware Scan
- Use Windows Defender or third-party tools like Malwarebytes.
- Malware may create fake handles or corrupt the system’s ability to manage them.