When attempting to open the Task Manager in your Windows computer, you may receive the following error:
This error occurs no matter which method you use in order to launch Task Manager. Running taskmgr.exe
with the full path via Run dialog will also not work.
(Go directly to solution)
Corrupt Taskmgr.exe file? Most likely not!
Obviously, the first thing anyone would do is run the System File Checker (sfc /scannow
command) to see if the file Taskmgr.exe
has become corrupt. Then you’ll find that the file integrity checks (signature/file size) using sfc /verifyfile
and sfc /scanfile
would come out just fine. Yet the issue occurs.
So what’s causing the Taskmgr.exe error? The “debugger” registry setting is!
The error occurs due to a “debugger” registry value set for Taskmgr.exe
executable. This is either done by malware. Or it could be a legitimate app, a third-party process manager which you may have installed and then removed.
For example, the Process Explorer utility from Microsoft Sysinternals sets the debugger registry value when you enable the setting Replace Task Manager via the Options menu in Process Explorer.
As Process Explorer is a portable application, you can move the executable anywhere. If you had deleted or moved the file to a different folder, the “debugger” registry value would still be pointing to the old folder location. Hence the Taskmgr.exe error.
Tip: Other legitimate uses of the debugger registry value
Here is a couple of legitimate and clever uses of the Image File Execution Options → Debugger registry value.
Malware connection? Could be!
If you’re not using a third-party process manager and yet the error occurs, this could be a handiwork of some malware. Some anti-malware scanners alert you about the presence of the debugger registry value, sensing it as a possible hijack attempt.
Security.HiJack[imageFileExecutionOptions] HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\TASKMGR.EXE HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\TASKMGR.EXE#Debugger
While the Image File Execution Options
→ Debugger
registry value is to give developers the option to debug their software, malware writers make good (bad) use of this key to hijack programs. See Malwarebytes Labs article An Introduction to Image File Execution Options | Malwarebytes Labs for more information.
How to Fix the “Windows cannot find Taskmgr.exe” Error?
To fix the error ‘Windows cannot find ‘C:\Windows\system32\Taskmgr.exe’, all you need to do is remove the ‘debugger’, follow these steps:
- Right-click Start, click Run (WinKey + R)
- Type
Regedit.exe
and press ENTER - Go to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe
Look what the registry value named
Debugger
is pointing to. This tells you which program has hijacked or replacedTaskmgr.exe
. In case of obscure file names appearing as the debugger, it could be malware. Delete the value and run a thorough scan using Malwarebytes Antimalware or any other reputed malware and virus scanner. - Right-click the
taskmgr.exe
key, and choose Delete.
- Exit the Registry Editor.
You should be able to launch Task Manager (Ctrl + Shift + Esc) now.
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
Thanks a lot. This solved my problem.
haha wow that worked thanks 😀
hey i couldn’t solve it please help
i played the command but there was that long address i can’t find
When I followed it taskmgr.exe is gone, yet the problem still remains
It Worked, thank you so much!
@Bruno: Glad to hear! And thanks for posting.
Thanks, Bruno. It was just what you said it was. Deleted that registry key and task manager works again.
Thanks. This worked for me.
Thanks, this helped.
after many attempts from watching on you tube, but, finally my task manger works in miracle.
thanks for this valuable post.
Thanks a lot! I’m used to problems taking hours to solve, not just finding an article about my exact problem online.
It helps me a lot
finally! after like 2 hours its over! the problem is solved! THANK YOU!!!!!
Thank you very much , my problem is solved !
It worked, thanks
I realized that my application was renamed to “Taskmgr.exe” rather than the default; “taskmgr.exe”. Thank you so much!
Wow many thanks this worked!
works 😀 . i have a question , any ideea to make task manager open always in background ?
Thanks it worked for me
sir,
but in image viewer section their is no taskmgr.exe file so i am unable to find debugger .
so any way you can help please respond.
Awesome!
OMG it got fixed the problem was i replaced task manager with process explorer and then i deleted it the i followed this article found the debugger and deleted that regestiry key and done!
Didnt work for me when I did the command thing with windows r it say its not a command please try again ive been trying evertything for months and its not working I guess I have to carry it to repair
Thank You So Much
Thank you soooo much!!!
very good
i got the same problem but inside the registory editor i cant find the taskmgr.exe file to delete and its still showing the same pop up when i press task manager . i have another problem now all the word files ppt files and all others changed into a efdc file i cant open anything what should i do ?
This did the trick. Thanks for your post.
Thank you @Ramesh Srinivasan. This solved the issue with task manager!!
Thank you! This solved it. Noticed it after I upgraded to Windows 11.
Thanks, Problem Resolved
Thank you so much!
Cheers Bruno
All fine now!