

So, my refined question is: How can I bypass the access blocking of Windows Defender for my setup and my application in a valid way? I fixed all issues the Kit complained about (except the warning regarding /SAFESEH which is not possible with InnoSetup), but this did not change Windows Defender's behavior regarding access blocking. I let the Windows App Certification Kit analyze the installer - which reported several warnings and one critical error. Signing my application with an Extended Validation Certificate (which helps suppressing SmartScreen warnings) does not change Windows Defender's behavior. Web resources from Mircosoft describing which applications are considered harmful and why cannot be found - only guesswork there. I've done extensive research to get an answer, but could not find anything that helps: The first question that comes to my mind is: Why is my application considered to be harmful and is thus being blocked? For ransomware protection I'd expect that only modifying existing files is considered dangerous. This happens even for new files or folders, which do not overwrite anything existing.

With enabled Controlled Folder Access of Windows 10's Defender, the setup fails to create a desktop icon (showing the message PersistFile::Save failed, code 0x80070002) - despite running with administrative privileges.įurthermore the installed application (which is NOT run with administrative privileges) fails to write to folders of the user, e.g.

I've got an application written with C# which is installed via InnoSetup.
