Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PS scritp to launch published applilcation in Citrix

Posted on 2011-02-18
10
Medium Priority
?
456 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 14

Accepted Solution

by:
Robin CM earned 1500 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:Robin CM
ID: 34926636
Better than that there's a "use local username and password" tick box.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

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

Expert Comment

by:Robin CM
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
 

Author Comment

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

Expert Comment

by:Robin CM
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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

670 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