Replacing Task Manager with Process Explorer in Windows 7 (64-Bit)

*** Updated June 14, 2010 ***

It turns out that the Procexp64.exe exists ONLY while Process explorer is running. Don’t ask me why. So my registry entry instead now shows:

C:\Bin\Procexp.exe.

Otherwise you still get the “cannot find” message.

*** End June 14, 2010 Update ***

I recently was introduced to Windows’ Process Explorer and liked it enough to want to replace Window’s native task manager with it.

It *should* be as simple as clicking “Options > Replace Task Manager” in the Process Explorer window but then, when you try to invoke the Task Manager (now supposedly Process Explorer) you get a message indicating that

“Windows cannot find ‘C:\Window\System32\taskmgr.exe’. Make sure you typed the name correctly, and then try again.”

For me, going back in Process Explorer to uncheck the above option shows that it’s not checked, and clicking it again doesn’t do anything at all.

Not sure exactly why but what’s happened is that a registry key for task manager has now been created with a debugger key that has a garbage value. Mine showed something like ” ^ $ ^”.

Check it out under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe

To go back the way things were you just need to remove the “Debugger” key. Or, if you want to go forward and actually replace the task manager, then set the value of the debug key with the location of your process explorer executable. In my case it looks like “C:\bin\Procexp64.exe” “C:\bin\Procexp.exe”.

Funny, I deleted the debug key and then went back to process explorer and try “Options > Replace Task Manager” again and it works just fine now. Must be an initialization issue.

Related Posts:

Posted under Tech Stuff

This post was written by Marc
on June 12, 2010 at 2:10 pm

13,060 views

15 Comments so far

  1. Mike August 8, 2010 8:05 am

    Excellent write-up. Thanks!

  2. Jack October 19, 2010 5:56 am

    Thanks! That was really vexing me.

  3. Ale October 25, 2010 1:34 pm

    Thanks! this works to me! :D

  4. Bojan November 13, 2010 6:11 am

    Still don’t work.

  5. joetron2030 November 18, 2010 7:58 pm

    A new version was published on Nov. 16th. I was having this problem off and on, too. I was about to follow the advice here but, by luck, happened to go to the Process Explorer page.

    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

    I’ve installed the latest version and have not had the problem yet. Hoping for the best…

  6. Bojan November 21, 2010 7:03 am

    I’ve installed the latest version, and I HAVE same problem. Well… Same message – same solution … Regedit and etc.

  7. Russell November 23, 2010 2:16 pm

    Have the same problem with v14.0
    A simple workaround is, with Process Explorer running, flag Procexp64.exe as ReadOnly.
    Just remember, if you update to a newer version, delete the …64.exe file and repeat the above process.

  8. Jason January 26, 2011 11:25 am

    BTW….I used “…\Procexp64.exe” in my registry entry and it works just fine. I’m using the same entry in my Start Up menu, with the addition of the /t switch to start Process Explorer minimized. I’m using version 14.01 on Windows 7 x64. The replace task manager option didn’t work for me, but this registry change did the trick. Thanks.

  9. Zaour February 18, 2011 4:52 am

    Thanks! :)

  10. Torben March 4, 2011 1:32 pm

    I had the same problem.
    But when I startet the Process Explorer “as admin” and then replaced the Taskmanager in the options, it worked nicely.
    I guess its a problem of admin privs when changing the keys in the registry.

  11. Sean April 22, 2011 5:37 pm

    As far as procexp64 – you can start the 32-bit procexp, then copy the generated procexp64 into another folder while the 32-bit version is still running. Problem solved :)

    I’d recommend that one would put the procexp64 into a folder not containing the 32-bit procexp, or it’ll probably just disappear, again, next time around.

  12. chad May 3, 2011 11:16 am

    this process worked for me:

    step 1: run procexp.exe
    step 2: copy the generated procexp64.exe to another folder.
    step 3: delete original procexp.exe
    step 4: rename procexp64.exe to procexp.exe
    step 5: run the new procexp.exe, and tell it to replace task manager.

    thanks to original poster for pointing me in the right direction for the fix.

  13. DUDE January 12, 2012 1:38 pm

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe
    string value debugger = “C:\PROCEXP64.EXE”
    Here you can manually adjust your taskmgr settings.
    This way you can get only 64 bit version to lunch with out procexp.exe

  14. geo January 24, 2012 8:33 pm

    The way to get the 64-bit version of Process Explorer to persist without running the 32-bit version is quite simple.

    Just copy all of the 32-bit versions to wherever you want, e.g.:

    C:\Program Files (x86)\Sysinternals

    Run each of the following programs:

    Disk2VHD.exe
    DiskView.exe
    ProcExp.exe
    ProcMon.exe
    RAMMap.exe
    VMMap.exe
    ZoomIt.exe

    and, while each of these programs are STILL RUNNING, copy the 64-bit versions to:

    C:\Program Files\Sysinternals

    Rename each of them back to whatever the 32-bit version is named. Since they in a different directory tree, it’s not a problem. (The same as MS does with System32 and SysWOW64.)

    Once that’s done, I create the following registry tree:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe]
    “Debugger”=”C:\Program Files\Sysinternals\ProcExp.exe”

  15. geo January 24, 2012 8:35 pm

    @geo – P.S. There’s really no reason to keep the 32-bit versions around after this. All they would do is create a new version on the 64-bit programs, which you’ve already done!

Leave a Comment

Name (required)

Email (required)

Website

Comments

More Blog Posts