Solved

PS scritp to launch published applilcation in Citrix

Posted on 2011-02-18
10
450 Views
Last Modified: 2012-05-11
I need a Poweshell script that will launch a published application. I am using Citrix 4.5.

Could you help me on this?
0
Comment
Question by:hchabria
  • 6
  • 4
10 Comments
 
LVL 14

Accepted Solution

by:
robincm earned 500 total points
ID: 34925526
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
 

Author Comment

by:hchabria
ID: 34926054
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
 
LVL 14

Expert Comment

by:robincm
ID: 34926636
Better than that there's a "use local username and password" tick box.
0
 

Author Comment

by:hchabria
ID: 34927491
i chekcked that, but it's asking for username and password
0
 
LVL 14

Expert Comment

by:robincm
ID: 34927740
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:hchabria
ID: 34941966
OK. In this case what should I do now?
0
 
LVL 14

Expert Comment

by:robincm
ID: 34942083
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
 

Author Comment

by:hchabria
ID: 34944198
I have both entries already added to the specified registry entries. Please see the screen shots.  Please suggest.
Registry1 Registry-2
0
 

Author Comment

by:hchabria
ID: 35011406
is there any update?
0
 

Author Closing Comment

by:hchabria
ID: 35056122
Helped to launch application but it's asking for putting user credentials. Solved partially.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

948 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now