Solved

Scripting a registry change for all users on a Citrix Xenapp 6 server

Posted on 2012-12-31
2
694 Views
Last Modified: 2013-03-26
Hello,
I have a misbehaving application that the vendor says requires a registry change to fix.  The application is published on a three server Citrix Xenapp6 farm and this registry change must be applied to each user who launches this application.  They have provided a .reg file that can be executed to create the appropriate keys but to accomplish this without a script we would need to log into the desktop of each Xenapp sever and execute this .reg file.  I need a method to script this registry change/addition when ever anyone logs into this server or this application.  For example, user one launches the application and is directed to Xenapp server three.  This Xenapp server should have a script that adds this registry key at logon.  We are using Termlogin.cmd to run various commands such as mapping drives, etc but I need to know how to execute this .reg file.  Any help would be greatly appreciated.  

Thanks.
0
Comment
Question by:bguilliams100
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Expert Comment

by:Carl Webster
ID: 38732596
I would use Group Policy Preferences for everything including mapping drives, printers, registry settings, hiding drives, etc.
0
 
LVL 25

Accepted Solution

by:
Coralon earned 500 total points
ID: 38734767
termlogin.cmd?  Never heard of it.. but there are a *ton* of ways to deploy what you want.  The GPP that Carl mentioned is one way.

To directly answer the question:
Use
regedit.exe -s <path to .reg file>

Open in new window


You can use the usrlogon.cmd structure
You can add the values to hklm\software\wow6432node\microsoft\windows nt\currentversion\terminal server\install\software\<vendor registry keys>

I wrote an article on here about using the usrlogon.cmd structure to deploy this type of thing also.  

Coralon
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question