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 replaced Taskmgr.exe
.
In case of obscure file names appearing as the debugger, it could be a
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.