Updated on November 16, 2026

To see what’s inside an EXE file without running it, try opening it as an archive in 7-Zip. This can show the files bundled into some installers. For an installer made with Inno Setup, try innoextract. If your goal is to decide whether to run the file, start with the download source, the publisher’s signature, and a malware scan.
How to see what’s inside an EXE file
An .exe is a Windows executable. A setup.exe might bundle other files it will install. A regular program typically contains compiled instructions and may include resources such as icons. Pick a tool based on what you want to see.
| What you want to see | Tool | What it shows |
|---|---|---|
| Files bundled in a supported installer | 7-Zip | Files and folders inside supported packages, such as some NSIS installers |
| Files in an Inno Setup installer | innoextract | File names and paths inside supported Inno Setup packages |
| Details about a regular EXE | File Properties or Sysinternals Strings | Version and publisher details, or readable text embedded in the file |
Open a supported installer in 7-Zip
- In File Explorer, right-click the EXE. On Windows 11, select Show more options if the 7-Zip menu is hidden.
- Choose 7-Zip → Open archive.
- Browse the file list. If you extract a copy for inspection, leave any extracted programs and scripts unopened.
7-Zip supports several installer and archive formats. If it can’t read the EXE, check whether the developer identifies the installer format. See the 7-Zip format list.
List the files in an Inno Setup installer
Download the Windows build of innoextract, unpack it, and open PowerShell in the folder containing innoextract.exe. Change the example path to your installer’s location.
.\innoextract.exe --list "$env:USERPROFILE\Downloads\setup.exe"
The --list option prints the bundled files and their paths without extracting them or launching the installer. A small web installer may download most of its files after it starts, so its file list can be short.
How to check an EXE file before running it
Start with the source. If you received an unexpected attachment or downloaded a copy from an unfamiliar site, get the program directly from the developer. Turn on file name extensions in File Explorer so a name like invoice.pdf.exe shows its real ending.
Check the publisher’s digital signature
Right-click the EXE and open Properties → Digital Signatures. If the tab is present, select the signature and choose Details. Check that Windows reports a valid signature and that the signer matches the publisher you expected. If you find an unexpected signer or a problem with a signature you expected, get a fresh copy from the developer.
PowerShell can also look up Authenticode signatures, including Windows catalog signatures. Use the file’s actual path in this command. See Microsoft’s Get-AuthenticodeSignature documentation.
Get-AuthenticodeSignature -LiteralPath "$env:USERPROFILE\Downloads\setup.exe" |
Format-List Status, StatusMessage, SignerCertificate
Scan the file and check its SHA-256 hash
Right-click the file and choose Scan with Microsoft Defender. Look under Show more options on Windows 11 if needed. If Windows flags the file, leave it unopened and review the Defender alert in Protection history. See Microsoft’s scanning instructions.
A SHA-256 hash is a fingerprint of the file. If the developer publishes a SHA-256 checksum for the same release and download, compare it with the Hash value shown by PowerShell. A mismatch calls for a fresh download from the official source.
Get-FileHash -Algorithm SHA256 -LiteralPath "$env:USERPROFILE\Downloads\setup.exe"
You can also paste the hash into VirusTotal’s Search tab to look for an existing report. A hash lookup sends the fingerprint. A public upload sends the file itself, and VirusTotal may share it. Keep work files, private installers, and other sensitive files off public upload services. See VirusTotal’s sharing policy.
Can you tell what an EXE does before running it?
You can uncover clues. For example, Microsoft Sysinternals Strings can show folder names, error messages, or web addresses stored in the file. An embedded URL can be a clue about where to look. To see which domains an existing sandbox report observed the program contacting, look for a Behavior tab in the VirusTotal report, when available. It covers the activity recorded during that test.
To see which files and Registry entries a known installer changes, you can run Process Monitor inside Windows Sandbox on a supported edition. This step runs the installer in a temporary Windows session. Turn off Sandbox networking and avoid sharing host folders for an offline test. If you suspect malware, leave the file unopened. See Microsoft’s Sandbox configuration guide.
Frequently asked questions
Why does 7-Zip say “Cannot open file as archive”?
The EXE may be an ordinary Windows program or use packaging that 7-Zip can’t read. Try innoextract if you know the installer was made with Inno Setup. For a regular program, start with File Properties or a tool that reads embedded text.
Can I see the original source code of an EXE file?
Most EXEs contain compiled instructions. A decompiler can reconstruct an approximation for some programs. For example, ILSpy can read .NET assemblies and show reconstructed C# code. You’ll typically need the developer’s source repository for the original project and comments.
What does “Unknown publisher” mean?
Windows couldn’t verify a publisher for the file. Some legitimate programs are unsigned. If you expected a signed installer, download it again from the developer and compare the SHA-256 hash if they provide one.
Is an EXE safe if VirusTotal shows zero detections?
Zero detections means the engines in that report found nothing at the time of the scan. Use that result together with the download source, the signature, and a matching checksum when you can verify one.