Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 457
  • Last Modified:

PS scritp to launch published applilcation in Citrix

I need a Poweshell script that will launch a published application. I am using Citrix 4.5.

Could you help me on this?
0
hchabria
Asked:
hchabria
  • 6
  • 4
1 Solution
 
Robin CMSenior Security and Infrastructure EngineerCommented:
Create an ICA file (either on the fly from your script or in advance with the ICA File Creator: http://support.citrix.com/article/CTX113472) then launch the ICA file from your script.
0
 
hchabriaAuthor Commented:
Thanks for giving the idea. Is it possible to include domain name\username and password so that it won't ask for user credential at the time of launching the application using ICA file?
0
 
Robin CMSenior Security and Infrastructure EngineerCommented:
Better than that there's a "use local username and password" tick box.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
hchabriaAuthor Commented:
i chekcked that, but it's asking for username and password
0
 
Robin CMSenior Security and Infrastructure EngineerCommented:
When you install the citrix client you're asked if you want to enable pass-through authentication or not, you probably chose not to enable it.
0
 
hchabriaAuthor Commented:
OK. In this case what should I do now?
0
 
Robin CMSenior Security and Infrastructure EngineerCommented:
Uninstall and reinstall the client.

Alternatively you should be able to enable it via the following registry changes:
Add PnSson to the end of this REG_SZ value (entires here are comma separated, no spaces):
HKLM\System\CurrentControlSet\Control\NetworkProvider\Order\ProviderOrder
Add the following key:
HKLM\System\CurrentControlSet\Services\PnSson\NetworkProvider
Within that add the following values:
Class = 2 (REG_DWORD)
Name = Citrix Single Sign On (REG_SZ)
ProviderPath = C:\Program Files\Citrix\ICA Client\pnsson.dll (REG_SZ)
If you're using a 64-bit OS then the ProviderPath will probably want to be:
C:\Program Files (x86)\Citrix\ICA Client\x64\pnsson.dll
But you can find the file via Explorer and use the correct path for wherever the pnsson.dll file lives on your system.
You need to reboot after making these registry changes.
0
 
hchabriaAuthor Commented:
I have both entries already added to the specified registry entries. Please see the screen shots.  Please suggest.
Registry1 Registry-2
0
 
hchabriaAuthor Commented:
is there any update?
0
 
hchabriaAuthor Commented:
Helped to launch application but it's asking for putting user credentials. Solved partially.
0

Featured Post

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.

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