CODAdmin
asked on
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
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
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
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
ASKER
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\Softwar e\Dentrix Dental Systems, Inc.\Dentrix\General]
"DXIMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar e\Dentrix Dental Systems, Inc.\Dentrix\General]
"IMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar e\Dentrix Dental Systems, Inc.\Dentrix\Image]
"(DEFAULT)"=""
[HKEY_CURRENT_USER\Softwar e\Dentrix Dental Systems, Inc.\Dentrix\Image]
"Product"="DENTRIX Image"
[HKEY_CURRENT_USER\Softwar e\Dentrix Dental Systems, Inc.\Dentrix\Image]
"Version"="8"
[HKEY_CURRENT_USER\Softwar e\Wow6432N ode\Dentri x Dental Systems, Inc.\Dentrix\General]
"DXIMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar e\Wow6432N ode\Dentri x Dental Systems, Inc.\Dentrix\General]
"IMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar e\Wow6432N ode\Dentri x Dental Systems, Inc.\Dentrix\Image]
"(DEFAULT)"=""
[HKEY_CURRENT_USER\Softwar e\Wow6432N ode\Dentri x Dental Systems, Inc.\Dentrix\Image]
"Product"="DENTRIX Image"
[HKEY_CURRENT_USER\Softwar e\Wow6432N ode\Dentri x Dental Systems, Inc.\Dentrix\Image]
"Version"="8"
Here is part of the code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Softwar
"DXIMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar
"IMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar
"(DEFAULT)"=""
[HKEY_CURRENT_USER\Softwar
"Product"="DENTRIX Image"
[HKEY_CURRENT_USER\Softwar
"Version"="8"
[HKEY_CURRENT_USER\Softwar
"DXIMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar
"IMAGE"=dword:00000001
[HKEY_CURRENT_USER\Softwar
"(DEFAULT)"=""
[HKEY_CURRENT_USER\Softwar
"Product"="DENTRIX Image"
[HKEY_CURRENT_USER\Softwar
"Version"="8"
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.
ASKER
Thanks so much for your help. Now to figure out group policy. :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.