Link to home
Start Free TrialLog in
Avatar of nav2567
nav2567Flag for United States of America

asked on

Replicate application settings to user profile on terminal server.

I am running an application which is the FAT client of SAP Logon application on a terminal server (W2012).  Within the client, I need to create a connection and specify username, password, and server in order to work.

I login as an administrator, launch the apps and create a connection.  It works.  However, when I login as another user, the connection is not there in his profile.  

How do I copy that setting to everyone profile or new user who login to that terminal server?  

Thanks.
Avatar of nav2567
nav2567
Flag of United States of America image

ASKER

I have realized there is an INI file for the application that holds the connection information.  

It is under \\myserver\c$\users\username\appdata\roaming\sap\common\saplogon.ini.  

How do make this INI file available for everyone?
Avatar of Coralon
You can script it.. that will be the easiest way to do this.

I wrote an article on this a while back, and it still gets a lot of reads every month.
https://www.experts-exchange.com/articles/9235/How-USRLOGON-CMD-processing-works.html

The short version is you will create a script file in c:\windows\application compatibility scripts\logon\.  It can be as simple as
if not exist %appdata%\sap\common\saplogon.ini copy c:\source\saplogon.ui

Open in new window

(obviously putting in whatever source path you want for the preconfigured saplogon.ui.  Be sure to strip out any personal information in the INI file that you start as your source.

Then you create a new file called usrlogn1.cmd in c:\windows\system32.  

That's pretty much it.. You may need to go through and do some of the other steps I have in my writeup.. but the basics are here.  

The other option is to create it in the default user profile in the same location, and then any new profiles will get the file. . The issue is that existing profiles will not pick it up, but the script will absolutely pick it up.

Coralon
ASKER CERTIFIED SOLUTION
Avatar of Spike99
Spike99
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial