Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error error-too-many-threads in Windows 11
ERROR_TOO_MANY_THREADS = 565
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | error-too-many-threads |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 45 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 Press Ctrl+Shift+Esc to open Task Manager. Go to the 'Performance' tab and check your CPU and memory usage. If they are consistently high, close unnecessary programs. This frees up resources and reduces the number of threads.
- 2 Identify the problematic program. In Task Manager, go to the 'Processes' tab and look for programs with high CPU or memory usage. Right-click and select 'End task' to close them. This can immediately resolve the error if a specific program is causing it.
- 3 Update the problematic software. Check the software's website or use its built-in update feature. Developers often release fixes for thread-related bugs.
- 4 Run a full system scan for malware. Press Windows key + I to open Settings, go to Privacy & Security → Windows Security → Virus & threat protection → Scan options, and select 'Full scan'. Malware can cause abnormal thread creation.
- 5 Increase the system's thread limit. Press Windows key + R, type 'regedit', and press Enter. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems. Find the 'Windows' value, double-click it, and increase the 'SharedSection' parameter. For example, change 'SharedSection=1024,20480,768' to 'SharedSection=1024,20480,2048'. This increases the number of threads the system can handle. Be careful: this is a registry edit, so create a restore point first.
- 6 If the error persists, consider increasing the system's virtual memory. Press Windows key + X, select System, then Advanced system settings. Under Performance, click Settings, go to the Advanced tab, and under Virtual memory, click Change. Uncheck 'Automatically manage paging file size for all drives', select your system drive, choose 'Custom size', and set Initial size and Maximum size to a higher value (e.g., 1.5 times your RAM). Click Set and OK. This gives the system more memory to manage threads.
🔍 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