?
Solved

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

Posted on 2012-12-31
2
Medium Priority
?
705 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 37

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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

719 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