How to resolve Windows Defender Smartscreen error while installing Hotfix for Statistica 14.0?

How to resolve Windows Defender Smartscreen error while installing Hotfix for Statistica 14.0?

book

Article ID: KB0072452

calendar_today

Updated On:

Products Versions
Spotfire Statistica 14.0

Description

This article describes how to resolve the Windows Defender Smartscreen error, while installing Hotfix for Statistica 14.0.

Error - 
"Windows has protected your PC
Microsoft Defender SmartScreen prevented an unrecognized application from starting. Running this application may put your PC at risk"

User-added image
Cause - 
Actually, when a .bat file is downloaded, it is tagged with a flag that indicates that it came from the Internet and is thus potentially dangerous. When you try to run such a file, Windows checks to see if it has a valid signature in order to determine if it can be trusted.

Issue/Introduction

How to resolve Windows Defender Smartscreen error while installing Hotfix for Statistica 14.0?

Environment

Windows Only

Resolution

Resolution - 1:

Strip the flag from the file, after the file was blocked by SmartScreen using the below steps - 
1. Right-click on the file (Example - "install.bat").
2. Choose Properties -> choose Unblock 
3. Click Apply
4. Now, the file can be opened. 

User-added image

Note: Repeat the process for other .bat files.

Resolution - 2:

Disable SmartScreen by editing group policy using Local Group Policy Editor (gpedit.msc):

1. Select Computer Configuration -> Administrative Templates -> Windows Components -> File Explorer -> Configure Windows Defender SmartScreen
2. Change to Disabled 
3. Click Apply.
4. Restart PC.

 

Additional Information

https://superuser.com/questions/470463/how-to-sign-a-windows-batch-bat-file