Posts Tagged ‘Citrix’

  1. Upgrade existing Datacollectors
  2. Upgrade existing Storefront
  3. Add New Datacollectors to Cluster
  4. Add new Existing Storefronts to Replication Group
  5. Use DigiCert SSL tool to export and import Certificates from Old SF to New SF
  6. On a server change the DNS entry via localhost of the load balanced DNS Address point at one of the new SF Servers and test all working
  7. Move Storefront to new servers
  8. Move Delivery Controllers to new servers


  9. Change Internal Load Balancer

    Add a new Service group with new SF servers and make sure all Green


  10. Bind this to the new Virtual Server

  11. Change STA Servers for External
  12. Similarly the NetScaler itself is configured with the STA details. 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Recently a client had the following come up on their StoreFront Event Viewer

Failed to launch the resource ‘WTCITRIX.XenApp Desktop $S1-1’, unable to obtain a ticket from the configured Secure Ticket Authorities.

 

This is usually mimicked with an Error on the reciver end

Connection to “Desktop” Failed with Status (Unknown client error 0)

Make sure your Citrix StoreFront is configured with the STA details in the NetScaler Gateway section (remember you only need to use the STA in case of remote users, for which you would have to configure a NetScaler Gateway). They need to be the same also clear DNS cache if you have recently updated a DNS Record

Similarly the NetScaler itself is configured with the STA details. 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: -1 (from 1 vote)

On a new deployment of Citrix , the Print Spooler would crash and then stop. This means you cannot remove any errored drivers. You will need to reset the Print Spooler manually in the registry

Stage 1

  1. Go into the registry by typing REGEDIT into the run dialog box
  2. Export
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print Key as a backup
  3. Navigate to the following keys:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environment\Windows NT x86  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64
  4. In these keys, there should be two subkeys
    Drivers ( Version 3 and Version 4 )
    Print Processors
  5. Delete Any Physical Printer Drivers you have added ( easier to re-add these then reinstalling Doc Converters )
  6. Try Starting Print Spooler to see if this fixes it

Stage 2

  1. In Explorer, rename everything in this folder
    c:\windows\system32\spool\drivers\w32x86
    and c:\windows\system32\spool\drivers\x64
  2. Try Starting Print Spooler to see if this fixes it

Stage 3

  1. Navigate to the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors
  2. In this key, there should be 7 subkeys
    BJ Language Monitor
    Local Port
    Microsoft Document Imaging Writer Monitor
    Microsoft Shared Fax Monitor
    Standard TCP/IP Port
    USB Monitor
    WSD Port
  3. If there are any extra keys, export them and delete them.
  4. Try Starting Print Spooler to see if this fixes it

There is also an application that can help you with this https://github.com/jdickson289/Print-Reset-Tool/

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Trying to import a Citrix Storefront Config produces the following Error

Import-STFConfiguration : An error occurred configuring StoreFront diagnostics. Method invocation failed because
[System.Collections.Hashtable+ValueCollection] does not contain a method named ‘Contains’.
At line:1 char:1
+ Import-STFConfiguration -configurationZip “c:\Temp\backup.zip” -HostB …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-STFConfiguration], Exception
+ FullyQualifiedErrorId : System.Management.Automation.CmdletInvocationException,Citrix.StoreFront.ImportConfigura
tion

 

You need to wipe your Storefront Config using the below Commands


PS C:\Program Files\Citrix\Receiver StoreFront\Scripts> . .\ImportModules.ps1
PS C:\Program Files\Citrix\Receiver StoreFront\Scripts> Clear-DSConfiguration

Then retry import

 

I got then next error

 

Import-STFConfiguration : An error occurred configuring StoreFront diagnostics. The running command stopped because
the preference variable “ErrorActionPreference” or common parameter is set to Stop: Cannot remove item C:\Program
Files\Citrix\Receiver StoreFront\Receiver Clients\Mac\CitrixReceiver.dmg: You do not have sufficient access rights to
perform this operation.
At line:1 char:1
+ Import-STFConfiguration -configurationZip “c:\Temp\backup.zip” -HostB …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-STFConfiguration], Exception
+ FullyQualifiedErrorId : System.Management.Automation.ActionPreferenceStopException,Citrix.StoreFront.ImportConfi
guration

 

Deleting 

C:\Program Files\Citrix\Receiver StoreFront\Receiver Clients\Mac

and 

C:\Program Files\Citrix\Receiver StoreFront\Receiver Clients\Windows

fixed this

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Recently trying to install VDA on a server 2016 server and it comes up with the below error trying to install Remote Desktop Session Host

Error Id: XDMI:334CF235

Exception:
Citrix.MetaInstaller.MetaInstallerException ‘dism’ component failed to install with error 0x800f080c.
at Citrix.MetaInstaller.Prerequisite.RdsComponents.Install(InstallationContext context)

at Citrix.MetaInstaller.InstallationManager.InstallComponent(InstallableComponent component, InstallationContext installContext)

 

Looking in the logs it’s failing when running this :

dism /quiet /norestart /english /online /enable-feature /featurename:Remote-Desktop-Services /featurename:ServerMediaFoundation /featurename:AppServer /featurename:InkAndHandwritingServices /featurename:DesktopExperience

When I run this manually I get  : 

Feature name DesktopExperience is unknown. 
Feature name InkAndHandwritingServices is unknown.

This is actually already bundled in 2016 , you will need to install VDA 7.11 ( the minimum version that supports Server 2016 ) 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

User-added image

The services could not connect to the database.

Possible reasons for the message:

The database server may not be allowing remote connections, make sure the database server is setup correctly and that the firewall in not blocking the connections.

The KB here did not help me : https://support.citrix.com/article/CTX233581

Solution:

Set the service : SQL Server Browser to Automatic and Start

Make sure TCP/IP is enabled and a TCP port is set ( If this is not the database service will need to be restarted ) 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Recently when trying to login to a Citrix XenApp Server ( OS Server 2012 R2 ) users were getting a frozen Welcome Screen. The loading ‘Circle” would just stop and go no further.

Rebooting the cluster ( Datacollectors/Storefront and XenApp Servers ) did not resolve the issue. The session would start to load then go no further. I could login to the server via the console just not through the receiver.

Logging into the Data Collector I was greeted with 

“Trial Period Expired”

Checking the Licensing Tab showed no available licenses. I wasn’t able to check the original licenses so I created a temp account to setup a Trial License of 90 days

Create Trial Citrix Licenses

  1. Navigate to www.citrix.com and select Sign In (located in the upper right hand corner).
  2. Sign in using your My Account login credentials 
  3. Hover over the Downloads Tab and select Free Trials 
  4. Select the product you are trying to evaluate 
  5. Proceed to follow the prompts to request the product of choice 
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

When trying to Setup Citrix SAML , on redirect , the Netscaler showed

Matching policy not found while trying to process Assertion; Please contact your administrator

Navigate to your Virtual Server

Add a new Authentication

Choose SAML and Primary

Leave Priority as 100
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: -1 (from 1 vote)

Recently some test account used up our Citrix server allocation. Apart from wait for a period of time the files in ( C:\Program Files (x86)\Citrix\Licensing\LS\conf )  concurrent_state.xml and the activation_state.xml can be renamed , then they are recreated after restarting the license server allowing the Citrix Licensing Service to successfully

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)