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

pstein

New member
Member
VIP
Local time
9:09 PM
Messages
244
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
http://windows7forums.com/windows-7...t-if-*-exe-32bit-64bit-without-starting.html#
 

My Computer My Computer

At a glance

win7pro 64bit
Computer type
PC/Desktop
OS
win7pro 64bit
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? :confused:
 

My Computer My Computer

At a glance

Win 7 Pro 64-bitIntel i5 2.4 Ghz8GB DDR3Intel HD 3000
Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCEB47GM Laptop
OS
Win 7 Pro 64-bit
CPU
Intel i5 2.4 Ghz
Memory
8GB DDR3
Graphics Card(s)
Intel HD 3000
Sound Card
IDT High Definition
Monitor(s) Displays
15.6 WGXA Anti-Glare LED
Screen Resolution
1280x800
Hard Drives
640Gb 7200rpm
Antivirus
MSE
Browser
Opera (primary) with IE9 backup

My Computer My Computer

At a glance

Win 10 Pro x64Intel I5-2500K @3.3GHz16GB G.Skill Ripjaws X (4x4GB)EVGA GeForce 750 Ti SC 2GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro x64
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 Computer My Computer

At a glance

Windows 7 Home Premium x64 SP2AMD Phenom II X3 720 BEA-Data DDR3 1333 Supreme SU3U1333B2G9-R 2G x4ATI Raedon HD 4290 IGX on AMD SB850 chipset
Computer type
PC/Desktop
Computer Manufacturer/Model Number
self-built
OS
Windows 7 Home Premium x64 SP2
CPU
AMD Phenom II X3 720 BE
Motherboard
GigaByte GA-890GPA-UD3H
Memory
A-Data DDR3 1333 Supreme SU3U1333B2G9-R 2G x4
Graphics Card(s)
ATI Raedon HD 4290 IGX on AMD SB850 chipset
Sound Card
on-board Realtek ALC892
Monitor(s) Displays
Samsung S22D300NY 21.5" wide screen
Screen Resolution
1280 x 720
Hard Drives
WD RE4 WD5003ABYX 500GB SATA2 x2 (RAID-0)
PSU
D.HIGH DHP-400GH-80P 400W
Case
no name
Cooling
Foxconn fan and heater for AMD CPU
Keyboard
Logitech standard keyboard Y-SM48
Mouse
Toshiba Pala Chan
Internet Speed
GPON 300M/100M
Antivirus
AVG AntiVirus Free
Browser
Vivaldi & Firefox
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
http://windows7forums.com/windows-7...t-if-*-exe-32bit-64bit-without-starting.html#

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 Computer My Computer

At a glance

Windows 7 Professional x64Intel i5 quad processor16 GBRadeon HD 5770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Professional x64
CPU
Intel i5 quad processor
Motherboard
DP67BG
Memory
16 GB
Graphics Card(s)
Radeon HD 5770
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Samsung SyncMaster
Screen Resolution
1920X1080
Hard Drives
WD 2TB (SATA Internal)
WD 1TB (USB External)
PSU
Corsair GS800
Case
Tower (Generic)
Cooling
3 Internal Fans
Keyboard
MS Wireless
Mouse
MS Optical Wired
Internet Speed
54 mbps
Antivirus
Emsisoft
Browser
IE-Version 9, Palemoon-Version 24.2.0
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 Computer My Computer

At a glance

Windows 7 32 bitAMD 5200+ dual core2 GBNVidia GeForce 6150SE 128 MB
Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Back
Top