XenApp and other things Xen

Tag Archives: pnagent

How to get Pnagent working with Storefront 1.2

Install Storefront, and configure your initial store (I recommend using a cert as this makes it easier later), to get that going follow this:


Once you have Storefront installed, go to Authentication and add Domain pass-through.

Then go down to Stores, select your Store and on the right hand Action panel, select Configure legacy support.

Now in windows explorer, go into C:\inetpub\wwwroot\Citrix\storename\Views\PnaConfig    folder and make a copy of config.aspx. Edit the original with notepad





and remove the


So at this point it should look something like this:


That’s it for the Storefront side of things. Also check out this article here on how to configure the Receiver 3.3 Enterprise client with PNagent https://xentraveller.wordpress.com/2012/11/04/configuring-citrix-receiver-3-3-client-for-pnagent-functionality-via-command-line/

Configuring Citrix Receiver 3.3 and 3.4 client for PNagent functionality via command line storefront AND web interface

Update: this string successfully works on the 3.4 enterprise/legacy/pnagent client with a WI 5.4 implementation:

CitrixReceiverEnterprise.exe /silent ADDLOCAL=”ReceiverInside,ICA_Client,PN_Agent,SSON” ENABLE_SSON=Yes  SERVER_LOCATION=http://xenappwebinterface/Citrix/PNAgent/config.xml

Citrix have done a bit of work for Citrix Receiver 3.3, and optimised it for Storefront. However, it wasn’t entirely clear from the documentation how to configure it for use with PNagent.

The client has had the “server_location” command line option depreciated, and it’s now built into the “storeX=https://blah”  argument.

Here’s  how to do it…

1) Download the Citrix Receiver Enterprise Client located in the Receiver for desktops/legacy area from here


2) Run this in a command line:

CitrixReceiverEnterprise.exe /includeSSON /ENABLE_SSON=Yes STORE0=”Appstorename;https://server.url/storename/PNAgent/config.xml;on;Apps on XenApp” /LEGACYFTAICONS=True

The LEGACYFTAICONS is used for win7 desktops as there may be icon corruptions.

The above string works with both WI provided PNagent, and with Storefront provided PNagent. If using WI, you can safely enter anything you want in the appstorename and storename (storename should be the path to PNagent however).

Also note, the Receiver wouldn’t remember the settings for all users. So a group policy preference to do a computer registry update for this key:

HKLM/software/wow6432node/Citrix/Pnagent    ServerURL   reg_sz   Https://server.location
simliar with a 32 bit OS

HKLM/software/Citrix/Pnagent    ServerURL   reg_sz   Https://server.location

If you then get errors about Certificate Revocation lists not being able to be checked ensure you use the Citrix Receiver policies installed with the latest client, and disable CRL checking in that.

Update: The revocation checking message may pop up if the certificate intermediate certs are not included – add your cert vendors intermediate cert bundles, documentation on this will the vendors site.

To get Storefront configured, take a look here:


Citrix pnagent command line switches

Spotted this over here, the switches are:

/Terminate Closes out PNAgent and any open sessions
/terminatewait  Closes out PNAgent and any open sessions
/Configurl  /param:URL  (useful if you haven’t set up the client as part of the install)
/qlaunch  (syntax example   C:\Program Files\Citrix\ICA Client> pnagent.exe /Qlaunch “Farm1:Calc”)
NOTE: this list has been depreciated with the later versions of Citrix Receiver 3.3. Those switches can be found here
To configure via command line for PNagent and Receiver 3.3 enterprise have a look here