Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Former Member
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


Solution :

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

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"

End If



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 .
1 Comment
Labels in this area