The Problem
I came across the following error while trying to run the Sysinternals Process Explorer program.
Unable to extract 64-bit image. Run Process Explorer from a writeable directory.
What’s Going On?
Process Explorer extracts and executes the appropriate x86 or x64 binary for the platform you’re on, and therefore requires elevated privileges (i.e. “Administrative rights”).
This can sometimes be a headache if you’re operating in an environment where you have “limited” access rights.
The Solution
Extract the x86 or x64 binary from within the parent procexp.exe binary using a resource editor.
This is how you do it,
- Open Visual Studio 2013
- Click FILE > OPEN FILE
- Choose the procexp.exe executable.
- In the Resource Editor window. Expand the ‘BINRES’ folder and you should see the ‘150′ x86 binary and the ‘152′ x64 binary.
- Right click either the ‘150′ or ‘152’ binary depending on your platform and choose ‘Export’. Save the binary resource as an ‘*.exe’ file e.g. ‘C:\temp\ProcessExplorer\procexp_64.exe’.
- Now you can run Process Explorer without requiring elevated privileges!
Update: If the Resource Editor window does not display when opening the executable, most likely you do not have the Resource Editor installed.
Make sure you install the ‘Microsoft Foundation Classes for C++’ Visual Studio feature.
- Solved: Build Errors Not Showning in VS 2022 - 21st November 2024
- How To: Configure VSCode to Trust Self-Signed Certs - 16th August 2024
- Solved: GitHub Actions – HTTP 403: Resource not accessible by integration - 13th June 2024
12th November 2015 at 6:08 pm
Great, works!
8th April 2016 at 10:44 am
Nice. Easy solution for a pretty arcane issue.
25th August 2016 at 3:25 am
Shane, Thanks for posting the solution to this problem.
I need your help. You are clearly a master of this stuff.
I’m not a user of Visual Studio and, even though I downloaded and installed it (VS 2015), I can’t figure out how to get PROCEXP.EXE to display the Accelerator, “BIN RES”, …display. When I open procexp.exe I just see what looks like a HEX editor view.
Please tell me how to get the right display. I’ve poked and prodded every button and menu option but…no luck. 🙁
-VS Noobee
26th August 2016 at 6:15 pm
@Dale in Colorado
You’ll need to make sure you install the “Microsoft Foundation Classes for C++” Visual Studio 2015 feature. Then it should work 🙂
28th August 2016 at 9:01 am
I’ll try that and let you know.
Thanks for your response
30th August 2016 at 8:33 am
I’ve got it installed and running. Thanks a lot!