- Joined
- Mar 24, 2008
- Messages
- 312
- Reaction score
- 7
- Points
- 18
- Location
- San Francisco
- Your Mac's Specs
- MBP-2.5Ghz Intel Core 2 Duo, 2GB RAM, GeForce 8600M GT with 512MB, 250GB SATA, 8X Superdrive
All,
I need to write a script which will be kicked off by AD login script to perform the following stuff.
1) Check if Citrix Client 9.0 is installed or not. If its installed go to step 2 and if its not installed, install citrix client 9.0. (You can check if its in add/remove programs or you can check if appsrv.ini exists in CProgram Files\Citrix\ICA Client or not)
I will make a MSI package to install the citrix client. The script only has to initiate the install.
2) Check appsrv.ini for
SSOnUserSetting=On
EnableSSOnThruICAFile=On
If it’s off, make it on. If it doest exist append it.
3) import the following values to the registry
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PnSson]
"Type"=dword:00000004
"IsEnabled"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PnSson\NetworkProvider]
"ProviderPath"="C\Program Files\\Citrix\\ICA Client\\pnsson.dll"
"Class"=dword:00000002
"Name"="Citrix Single Sign-on"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PnSson\Enum]
"0"="Root\\LEGACY_PNSSON\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
we can just put this stuff in a .reg file and make the script execute it.
4) Go to the following registry location and make sure that the value PnSson is included in the comma separated list. Sometimes the value is there, other times not. The other values will likely be different as well, so just see if it is there or add it to the end.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order]
"ProviderOrder"="RDPNP,LanmanWorkstation,WebClient,PnSson"
The purpose of this is to allow single sign on effective in citrix web client. This could be vb script or any other windows scripting lang.
Thanks for your help.
I need to write a script which will be kicked off by AD login script to perform the following stuff.
1) Check if Citrix Client 9.0 is installed or not. If its installed go to step 2 and if its not installed, install citrix client 9.0. (You can check if its in add/remove programs or you can check if appsrv.ini exists in CProgram Files\Citrix\ICA Client or not)
I will make a MSI package to install the citrix client. The script only has to initiate the install.
2) Check appsrv.ini for
SSOnUserSetting=On
EnableSSOnThruICAFile=On
If it’s off, make it on. If it doest exist append it.
3) import the following values to the registry
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PnSson]
"Type"=dword:00000004
"IsEnabled"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PnSson\NetworkProvider]
"ProviderPath"="C\Program Files\\Citrix\\ICA Client\\pnsson.dll"
"Class"=dword:00000002
"Name"="Citrix Single Sign-on"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PnSson\Enum]
"0"="Root\\LEGACY_PNSSON\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
we can just put this stuff in a .reg file and make the script execute it.
4) Go to the following registry location and make sure that the value PnSson is included in the comma separated list. Sometimes the value is there, other times not. The other values will likely be different as well, so just see if it is there or add it to the end.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order]
"ProviderOrder"="RDPNP,LanmanWorkstation,WebClient,PnSson"
The purpose of this is to allow single sign on effective in citrix web client. This could be vb script or any other windows scripting lang.
Thanks for your help.