Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to find out if an *.exe is 32bit or 64bit without starting it?

21 Dec 2011   #1
pstein

win7pro 64bit
 
 
How to find out if an *.exe is 32bit or 64bit without starting it?

Is there a way to find out if a given *.exe file is 32bit or 64bit executable.
The program should ...
- NOT be started (and investigated in TaskManager)
- NOT be installed and checked if it is installed in C:\Program files (x86) or not
- NOT be checked at the authors site

I am searching a tool which takes the *.exe as parameter and investigates the binary code to find out the 32bit or 64bit property

Peter



My System SpecsSystem Spec
.
21 Dec 2011   #2
marsmimar

Microsoft Community Contributor Award Recipient

 
 

Please accept my apology in advance. I've never been accused of being the sharpest knife in the drawer so I'm a bit confused. You don't want the *.exe file installed, started, or checked at the author's web site.

Hypothetically, how was the file obtained? On a CD or DVD, perhaps? A flash drive? Was it a digital download file?

Wouldn't any "tool" have to be able to open the file to examine it? And wouldn't opening the file be kinda, sorta like starting it?
My System SpecsSystem Spec
21 Dec 2011   #3
derekimo

Microsoft Community Contributor Award Recipient

 
 

My System SpecsSystem Spec
.

03 May 2014   #4
drkh

Windows 7 Home Premium x64 SP1
 
 

For people who are brought here by search engines:

The answer to the question is to search for "EXE Explorer" by MiTec, a little free tool which reports whether a binary file is for 64-bit architecture or for 32-bit. It also displays many other properties of the binary file.

I need to, from a large mixture of executables, pick the 32-bit and DOS ones to run on a 32-bit machine. So I found this tool.
My System SpecsSystem Spec
05 May 2014   #5
Sir George

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by pstein View Post
Is there a way to find out if a given *.exe file is 32bit or 64bit executable.
The program should ...
- NOT be started (and investigated in TaskManager)
- NOT be installed and checked if it is installed in C:\Program files (x86) or not
- NOT be checked at the authors site

I am searching a tool which takes the *.exe as parameter and investigates the binary code to find out the 32bit or 64bit property

Peter
The easiest way, without installing another program or running the file, is just to right click on the file, choose Properties, and then go the the Compatibility options tab. If there are no greyed out options and Windows XP and 9x modes are offered, it's 32-bit. If there are greyed out options and Vista is the earliest mode offered, it's 64-bit.

HTH
My System SpecsSystem Spec
05 May 2014   #6
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by Sir George View Post
Quote   Quote: Originally Posted by pstein View Post
Is there a way to find out if a given *.exe file is 32bit or 64bit executable.
The program should ...
- NOT be started (and investigated in TaskManager)
- NOT be installed and checked if it is installed in C:\Program files (x86) or not
- NOT be checked at the authors site

I am searching a tool which takes the *.exe as parameter and investigates the binary code to find out the 32bit or 64bit property

Peter
The easiest way, without installing another program or running the file, is just to right click on the file, choose Properties, and then go the the Compatibility options tab. If there are no greyed out options and Windows XP and 9x modes are offered, it's 32-bit. If there are greyed out options and Vista is the earliest mode offered, it's 64-bit.

HTH
That doesn't work for CCleaner portable x64. It does not show as 32 bit in TM but it does have W9x options in compatibility mode. Seems the PE header must have some magic info that those binary utilities are looking at. A hex editor would probably be enough. I don't know the signature though.
My System SpecsSystem Spec
Reply

 How to find out if an *.exe is 32bit or 64bit without starting it?




Thread Tools




Similar help and support threads
Thread Forum
I don't know if PC is 32bit or 64bit is there a way to find out?
What if you don't know if the PC is a 32bit or 64bit? I'm helping a friend fix their laptop and I can't get to any information to see if it's 32 or 64. Is there a way to find out any other way then looking on the PC? It's stuck in the Windows Error Recovery and just loops over and over. I tried...
General Discussion
How to find out if an installed driver is 32bit or 64bit?
I am running a 64bit Win7 Pro system and installed in the past a lot of additional drivers (e.g. a pdf printer driver). Unfortunately I did not remember if I installed the 32bit or the 64bit driver version of these additional drivers). As far as I now 32bit driver could work as well under 64bit...
Drivers
32bit programs not starting on w7 64
hey, im currently working on an assignment for university, so the faster I can come to a fix for this the better! I restarted my pc earlier, after I noticed the audio was slightly laggy, the same sort of lag one would get if they had a very high CPU utilisation and I've experienced it in the...
Software
W7 64bit:Ok to install 32bit programs outside the 32bit programfolder?
OS: Win 7 64bit. Is it generally not a problem to choose to install a piece of 32bit software outside the win 7 default program folder for 32bit software? Or is 32bit software only supposed to be running flawlessly, if installed in that default 32bit folder? Thanks.
Software
32bit to 64bit
Can I update a current 32 bit version of W7 Ultimate to 64bit? I have the installation disk.
Installation & Setup
64bit & 32bit
ive got windows 7 64bit installed and wondered if i can install windows xp 32bit on a new partition :sarc: to dual boot :sarc::sarc::sarc::sarc::sarc::sarc::sarc::sarc::sarc::sarc:
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:23.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App