Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error error-max-thrds-reached in Windows 11
ERROR_MAX_THRDS_REACHED = 164
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | error-max-thrds-reached |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 25 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 First, check if the error is from a specific application. Open Task Manager (Ctrl+Shift+Esc) and go to the 'Details' tab. Look for the process that is using a high number of threads (you can add the 'Threads' column by right-clicking the column headers). If you see a process with thousands of threads, it's likely the culprit.
- 2 If the application is misbehaving, end it and restart it. Right-click the process and select 'End task'. This frees up the threads. If the error persists, the application may have a bug — check for updates or reinstall it.
- 3 Increase the system's thread limit. Press Win+R, type 'regedit', and press Enter. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems. Find the 'Windows' value, which contains a string like '%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,768 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16'. Increase the 'MaxRequestThreads' value to a higher number, like 32 or 64. Be careful — this is a system-critical setting.
- 4 Alternatively, you can reduce the number of threads an application uses. Many applications have settings to limit thread usage. For example, in video editing software, look for 'Thread count' or 'Multithreading' options and reduce them.
- 5 Run a memory diagnostic to check for RAM issues, as memory leaks can cause thread exhaustion. Press Win+R, type 'mdsched.exe', and press Enter. Choose to restart now and check for problems.
🔍 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