Windows executable files unsinging tool
October 18, 2025 ยท View on GitHub
Revolutionary command line tool for Windows that is set to change the way developers work with executable files like .exe, .dll, .sys, .drv and others, both 32 and 64 bit. With the ability to completely strip embedded signatures, including all sections of the signature, this program allows for uncompromised control over the signing process!

No longer will developers be limited by pesky digital signatures that are difficult to remove. UnSign tool gives users the power to easily and effectively strip away all traces of a signature, leaving behind a clean and pristine executable file, library or driver.
But that's not all โ UnSign tool also offers a solution to the frustrating "optional PE header problem" that has plagued developers for years. This problem often renders an executable file unsingable, leaving developers scratching their heads and searching for a solution. With UnSign tool, this issue becomes a thing of the past, as it provides a comprehensive fix for the problem, ensuring that executable files can be signed again without any hiccups.
Say goodbye to the limitations and frustrations that come with Windows executable files signatures. UnSign tool takes the power back into the hands of developers, allowing for seamless and hassle-free unsinging processes. Whether you're a seasoned developer or just getting started, UnSign tool is a must-have tool for anyone working with PE32/PE32+ format executable files.
Usage
UnSign is the command line tool. Open command prompt, navigate to UnSign's .exe folder with the cd command and start the tool with following parameters:
Usage: unsign /<switch 1> /<switch N> <PE32/PE32+ executable file>
<Switches>
/NoLogo Don't print copyright logo
/NoCertPrint Don't exam and print certificates on the file
/CRC Checksum recalculation policy
Zero - forcefully zero out the CRC field in the optional PE header
Calc - always recalculate the valid checksum
Default - recalculate the checksum only if it was not 0 (default)
WARNING: This program will modify the file inplace on the disk! Please create a backup copy if you want to preserve the original file!
Any version of the tool, 32 or 64 bit, works with both 32 and 64 bit executables (in PE32 and PE32+ format, also called PE/PE+ or PE/COFF).

What's new
Version 1.2
- Added the CRC of the executable file recalculation feature
- Added the friendly error message if switches were set but no file was provided to process
- Some spelling fixed
Version 1.1
- Added the check for the number of directories in the PE32/PE32+ optional header, as suggested by documentation
Building
UnSign tool uses the Microsoft Visual Studio 2022 for its builds.
To build UnSign tool from source files with Microsoft Visual Studio, you can use either the graphical or the command-line mode. Here are the instructions for both methods:
Graphical mode
- Open Microsoft Visual Studio and select
Open a project or solutionfrom the start page or theFilemenu - Browse to the folder where the
unsign.slnfile is located and select it. This will load the project in Microsoft Visual Studio - Select the
configurationandplatformfor the project by using the drop-down menus on the toolbar. For example, you can choose Debug or Release for the configuration, and x86 or x64 for the platform - Build the project by clicking on the
Buildmenu and selectingBuild Solution. You can also use the keyboard shortcutCtrl+Shift+B - Run the project by clicking on the
Debugmenu and selectingStart Debugging. You can also use the keyboard shortcutF5
Command-line mode
- Open a
Developer Command Promptfor Microsoft Visual Studio. You can find it in the Start menu under Microsoft Visual Studio Tools - Navigate to the folder where the
unsign.slnfile is located by using thecdcommand - Invoke the MSBuild tool to build the project. You can specify various options and flags for the tool. For example, the following command builds the project with the Release configuration and the x64 platform:
msbuild unsign.sln /p:Configuration=Release /p:Platform=x64
- Run your executable by typing its name and path in the command prompt. For example:
unsign-exe-x86-64\unsign /?
Authors
This program was written and is maintained by SV Foster.
License
This program is available under EULA, see EULA text file for the complete text of the license. This program is free for personal, educational and/or non-profit usage.