Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I try to start Process Monitor from SysInternals on some 64 bit windows 7 machines,the process fails to start. There is no error message. I double click and nothing happens. Other 64 bit windows 7 computers work fine. Any ideas?

share|improve this question
    
In have the same problem, and I can run Process Monitor in 32bit mode with command line option procmon.exe /Run32. However, it does not support capturing in this mode. –  jirkamat Dec 30 '11 at 14:36

2 Answers 2

up vote 10 down vote accepted

Here is what I found. The 32 bit Procmon.exe contains the 64 bit exe inside it as a binary resource. When the 32 bit exe starts, it extracts the 64 bit version out to a hidden file called Procmon64.exe and then executes that. For some reason this process fails on some Windows 7 installs.

I managed to extract the 64 bit exe using Visual Studio 2010. 1. Open Visual Studio and open the Procmon.exe file using the File->Open->File... menu 2. In the resource tree, expand the "BINRES" node 3. Right-click on the 1308 node and select Export... 4. Name the exported resource Procmon-64.exe and save 5. Run the extracted exe

Don't name the extracted exe Procmon64.exe (no hyphen) because the 32 bit Procmon will try to delete it if it gets the chance.

If you don't have Visual Studio, use a windows executable resource extractor like ResourcesExtract - http://www.nirsoft.net/utils/resources_extract.html

share|improve this answer
1  
It is interesting that you found a work-around, but I would be far more interested in why you would even need to do that. –  Zoredache Dec 14 '11 at 22:30
    
I'd like to find the root cause too, but debugging a native process without symbols is just not worth the effort. Especially one as integrated with the OS as Process Monitor. –  Ryan Michela Dec 15 '11 at 4:13
    
Extracting the 64bit exe of ProcMon to standalone EXE and running this exe solves this problem for me! ProcMon is running fine. –  jirkamat Dec 30 '11 at 15:30
3  
One time while idly double-clicking Procmon.exe over and over in frustration, I saw the hidden Procmon64.exe flash in Windows Explorer. This gave me the clue that the 64 bit version was being extracted by the 32 bit version. Following this hunch lead me to crack open the 32 bit exe to examine its resources and I found one that was orders of magnitude larger than the others. I extracted the resource and saved it as an .exe. Lo and behold, it was the missing 64 bit Process Monitor. –  Ryan Michela Oct 4 '12 at 4:19
1  
Since i'm having this problem with a lot of Sysinternal's programs, specifically all of the ones that extract a 64 bit version (this suddenly happened very recently, can't run any of them cause it says the directory is not writable), but if you run the resource extractor and click 'binary assets' or whatever on any of the sysinternal's applications you can basically sort by size, and the biggest one will be the app. Just rename it to exe and off you go~ –  mgrandi Mar 25 at 23:33

I know this thread has been a while but I just saw this problem lately and I noticed another factor that might be helpful. Administrator right. If I login as an admin and run it, it works fine. If login as a non-admin and run it, the problem happens and the extracted procmon-64 shows the same problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.