Let’s see a simple trick to configure SAP GUI using window GPO.
Link to video tutorial
To avoid to configure your SAP GUI on each user of your organization manually, by entering all the connections to your SAP servers or environments, it’s possible to apply an automatic configuration to each user’s SAP GUI using GPOs.
How-to:
Open the SAP GUI and configure it entering all the connections that your company has, we will use this configuration as a template.
![SAP GUI GPO SAP GUI GPO](https://www.michelevese.it/wp-content/uploads/2020/09/SAPGUI_Link-1024x476.jpg)
Once done we will copy the file containing this configuration (.xml), directly inside the Domain Controller.
The source path of the xml file is:
C:\Users\%username%\AppData\Roaming\SAP\Common\SAPUILandscape.xml
copy the file on your domain controller inside the SAP folder that we will create specifically under the NETLOGON folder:
\\nomedominio.estensione\NETLOGON\SAP
At this point we will create a GPO using the Group Policy Management console, linking it to the domain or an organizational unit level, based on the target of the users we would apply to.
Right-click on GPO we created to edit it:
User Configuration\Preferences\Windows Settings\Files
right-click, New File.
Action: Replace
Source: \\nomedominio.estensione\NETLOGON\SAP\SAPUILandscape.xml
Destination:
C:\Users\%username%\AppData\Roaming\SAP\Common\SAPUILandscape.xml
![SAP GUI GPO SAP GUI GPO](https://www.michelevese.it/wp-content/uploads/2020/09/SAPGUI-1024x756.jpg)
We just have to confirm everything and try to log in with a new user profile on the same PC and check if SAP GUI will have the configuration deployed.