• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 101
  • Last Modified:

Citrix - Need to edit registry for users to apply a buttonfix for an application

We have a published dental application using Citrix.  There is also another application that works within the dental application that needs a registry edit to make a button appear in the dental application.  

The only way to make it work so far is to give the user local admin rights to the citrix server, allow them to rdp to log in with their username/password and run the buttonfix.exe.  After the user does this, they can then log into the citrix application and see the button.

Is there a way to do this without having to give each user admins rights and getting them to log into the server to run the exe?

Is there a way to globally change this for all users or users in a specific group?

I am also new to Citrix as our expert is out on medical leave and I was asked to work on this issue.  So any assistance would be very helpful.  I have already called the vendors and they are not familiar enough with Citrix to advise.

Thanks,
Sharon
0
CODAdmin
Asked:
CODAdmin
  • 4
  • 2
1 Solution
 
James RankinCommented:
Run  Process Monitor in "capture" mode when you run the buttonfix and filter the output by Action | Registry Set Value. Find out where it is writing to. It will probably be HKLM which explains the need for admin rights.

Once you've found the Registry value, use a script or third-party tool to set the Registry key as the user logs in to the application. You could use a privilege elevation tool (like CPAU from JoeWare) to achieve this, or even a user environment management tool such as AppSense Environment Manager, Scense, ProfileUnity or similar.

If you post back the value it seems to be writing to, we can possibly advise further how to address setting it on a global basis.
1
 
Dirk KotteSECommented:
first you have to know which reg-key must be set.
good explained by James Rankin.

I think it is a "HCU" key because every user has to set this key.
The "HLM" key must be set only once.

i would suggest to set the registry key with Group policy Preferences (GPP)
https://technet.microsoft.com/en-us/library/af194f27-5352-46a7-b457-3bc14ae2b028
1
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
CODAdminAuthor Commented:
The script is using the HCU key to update the registry.  So when the user logs in and the buttonfix is executed, it updates the user profile and then they are able to see the button in the application.  If I run the buttonfix with the user's SID, will this work?  Although, I see the user profile on the Citrix server; I do not see her account in HU.

Here is part of the code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Dentrix Dental Systems, Inc.\Dentrix\General]
"DXIMAGE"=dword:00000001

[HKEY_CURRENT_USER\Software\Dentrix Dental Systems, Inc.\Dentrix\General]
"IMAGE"=dword:00000001

[HKEY_CURRENT_USER\Software\Dentrix Dental Systems, Inc.\Dentrix\Image]
"(DEFAULT)"=""

[HKEY_CURRENT_USER\Software\Dentrix Dental Systems, Inc.\Dentrix\Image]
"Product"="DENTRIX Image"

[HKEY_CURRENT_USER\Software\Dentrix Dental Systems, Inc.\Dentrix\Image]
"Version"="8"

[HKEY_CURRENT_USER\Software\Wow6432Node\Dentrix Dental Systems, Inc.\Dentrix\General]
"DXIMAGE"=dword:00000001

[HKEY_CURRENT_USER\Software\Wow6432Node\Dentrix Dental Systems, Inc.\Dentrix\General]
"IMAGE"=dword:00000001

[HKEY_CURRENT_USER\Software\Wow6432Node\Dentrix Dental Systems, Inc.\Dentrix\Image]
"(DEFAULT)"=""

[HKEY_CURRENT_USER\Software\Wow6432Node\Dentrix Dental Systems, Inc.\Dentrix\Image]
"Product"="DENTRIX Image"

[HKEY_CURRENT_USER\Software\Wow6432Node\Dentrix Dental Systems, Inc.\Dentrix\Image]
"Version"="8"
0
 
James RankinCommented:
If this is simply what needs updating for the user to be able to run, simply set up group policy preferences to import these values into HKCU when the user logs in. No need for SIDs or the like. You can use loop back policy processing in gpo so that these only apply on the Citrix servers.
1
 
CODAdminAuthor Commented:
Thanks so much for your help. Now to figure out group policy.  :)
0
 
James RankinCommented:
Set up a policy object User Config | Preferences | Registry to set the HKCU values - https://technet.microsoft.com/en-gb/library/cc731892(v=ws.10).aspx

Also set up a Computer Config | Admin Templates | System | Group Policy value for Loopback Policy Processing (set to Replace) if you want these values to just be applied when the user logs on to the Citrix servers - https://technet.microsoft.com/en-gb/library/cc731892(v=ws.10).aspx

Apply both these GPOs to the OU containing the servers, not the users
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now