When SAP GUI installed in a fresh/New System Users will Get a SAP GUI annoys question asking us for permission to allowing SAP GUI (SAP GUI Security Popup )
Why we are getting it :
It is because of the “Default Action”, In SAP GUI 7.5 the default values of DefaultAction is “1” which is ASK as per below screenshot :
You can check it by Going in the Option –>Security –> Security Settings
Well ! We can avoid this Popup and always allow your decision for each systems using Scripting at SAP GUI packaging level To Avoid that popup .
After downloading SAP GUI and Creation of SAP GUI installation server (You can take reference of https://blogs.sap.com/2014/05/29/sapgui-installation-server-part-1-getting-started/)
Create a New Package and select the component which you required in your GUI Package :
Once your Package is created, Goto your Package Configuration and at below goto “On Installation End” :
Type the below script and click on Save :
If “%WOW64MODE%” = “true” Then
NwEngine.Shell.SetRegValue “HKLM\SOFTWARE\Wow6432Node\SAP\SAPGUI Front\SAP Frontend Server\Security\DefaultAction”, “REG_DWORD”, “0”
NwEngine.Shell.SetRegValue “HKLM\SOFTWARE\SAP\SAPGUI Front\SAP Frontend Server\Security\DefaultAction”, “REG_DWORD”, “0”
The Above script will disable the Security level popup in WIN64 as well as in WIN32 .
Once the scripting is done, Click on Save and create the Package .
When we run the newly created SAP GUI 7.5 package it will automatically allow user decision for the Security popup and user will not get that popup. 🙂 🙂
Note : the Script for Disabling Security popup is only applicable for HKLM not for HKCU .