Skip to main content
Windows warns people about programs it doesn’t know yet. This page explains which warning means what and how to reduce them.

”Windows protected your PC”

What it is: Microsoft Defender SmartScreen. It appears for files downloaded from the internet that aren’t signed, or whose publisher has little reputation yet. What users can do: click More info, then Run anyway, if they trust where the file came from. What you can do:
  1. Sign your setup file. It then shows your name instead of “Unknown publisher”.
  2. Keep using the same certificate, so its reputation builds up. A new certificate can still see warnings for a while.
  3. Publish from a stable, trustworthy address.
Check: right-click the file, choose Properties, and look for the Digital Signatures tab. Or run signtool verify /pa <file>.

The administrator prompt says “Unknown publisher”

Your setup file needs administrator rights (scope = "machine" or an elevated step) and isn’t signed. Sign it.

An app is blocked by Smart App Control

On Windows 11, Smart App Control checks every program that starts, including the ones your installer unpacked. Signing only the setup file doesn’t cover them: sign your .exe and .dll files in your build, before Bach packs them.

Antivirus quarantines the file

See Antivirus warnings. In short: sign, report the false positive to the vendor, and on your build computer exclude only your build output folder if needed.

The uninstaller isn’t signed

That’s expected. uninstall.exe is written on the user’s computer without a signature, because a signature only matches the exact file it was made for.