Since this is a free, open-source tool, it doesn't have a $300/year corporate digital signature. However, you can make it trusted and safe.
When you see the "Windows protected your PC" popup:
- Click "More info".
- Click "Run anyway".
- Windows will remember this choice for this specific file.
To permanently stop this warning for everyone who downloads your tool, follow these steps:
We have included a script to digitally sign the app with your name ("Hossam Guettaf - Open Source").
- Open PowerShell as Administrator.
- Run the trust setup script:
.\setup_trust.ps1
- This will:
- Create a self-signed certificate.
- Sign
dist\SuperDiagnosticTool.exe. - Install the certificate locally so your PC trusts it.
This is the most important step. Microsoft provides a free service to analyze software and remove the SmartScreen warning.
- Go to: Microsoft Security Intelligence - Submit a File
- Select "Home customer" (no login required) or "Software developer" (requires Microsoft account, better for tracking).
- Upload your signed
SuperDiagnosticTool.exe. - Select "Incorrectly detected as malware/malicious" (since SmartScreen is blocking it).
- In comments, write:
"This is an open-source system diagnostic tool for students. It is false-positive blocked by SmartScreen. Please analyze and whitelist."
- Wait: Microsoft usually analyzes files within 2-24 hours. Once cleared, the "Unknown Publisher" warning will disappear for everyone options worldwide.
- Re-submission: If you release a new version (v1.0.5, etc.), the file hash changes. You may need to submit the new
.exeto Microsoft again. - Open Source Transparency: Your code is open on GitHub. This is your best proof of safety!