Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error error-bad-threadid-addr in Windows 11
ERROR_BAD_THREADID_ADDR = 159
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | error-bad-threadid-addr |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 45 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 Start by updating the application that triggers the error. Check the vendor's website for updates or patches. Many threading bugs are fixed in newer versions. If it's a game, update it via the game client.
- 2 If the error is system-wide, run the System File Checker. Press Windows key + R, type 'cmd', press Ctrl+Shift+Enter to open Command Prompt as admin. Type 'sfc /scannow' and press Enter. This repairs corrupted system files that might be causing thread management issues.
- 3 Run DISM to repair the system image. In the same Command Prompt, type 'DISM /Online /Cleanup-Image /RestoreHealth' and press Enter. This ensures the Windows core is healthy.
- 4 Check for memory issues. Press Windows key + R, type 'mdsched.exe', and press Enter. Choose 'Restart now and check for problems'. This tests your RAM for errors. Faulty RAM can cause memory corruption, leading to invalid thread addresses.
- 5 Update your device drivers, especially the CPU and chipset drivers. Press Windows key + X, select 'Device Manager', expand 'Processors' and 'System devices', right-click and select 'Update driver'. Outdated drivers can cause thread management problems.
- 6 If the error persists, try a clean boot to isolate software conflicts. Press Windows key + R, type 'msconfig', press Enter. In 'Services', check 'Hide all Microsoft services', click 'Disable all'. In 'Startup', click 'Open Task Manager' and disable all startup items. Restart. If the error disappears, re-enable items one by one to find the culprit.
🔍 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