Quantcast
Channel: XenApp/XenDesktop – JGSpiers.com
Viewing all 85 articles
Browse latest View live

Reduce Citrix Director Interactive Session Time to as little as 3 seconds

$
0
0

The Interactive Session metric recorded by Citrix Director has always confused those trying to investigate why logon times are so high.

In this post I’ll explain how you can cut Interactive Session time by more than 60% immediately. You can reduce the time to as little as 3 seconds. This allows Citrix Director logon time reporting to become much more accurate.

For more logon time reduction tips see http://www.jgspiers.com/citrix-director-reduce-logon-times/

What is Interactive Session Time?

From https://www.citrix.com/blogs/2016/08/19/interactive-session-of-logon-duration-in-citrix-director-explained/

It is the time taken to handoff keyboard and mouse control to the user after the profile of the user is loaded for a session.

Event ID 2 is initially logged on the VDA shortly after a desktop/application icon is clicked within Receiver client or Receiver for Web. This event triggers the Interactive Session timer which ends once Event 1000 is logged to indicate that the session is ready for use. Event ID 1000 is logged by the Citrix Profile Management service.

So whilst Director records logon times, it is important to understand that this is the time taken from clicking to launch a resource until the machine is actually usable even though the actual logon may have completed some time before that. This produces innacurate results in Director for true logon times.

The Interactive Session time is calculated once Event ID 1000 is logged on the VDA. The faster the UPM Event User Message runs the quicker Event 1000 is logged and the calculation is complete.

So ideally we want UPMEvent.exe (or UpmUserMsg.exe for VDAs prior to v7.7) to run once we see that desktop wallpaper as that is when the logon is complete. By default, it instead runs some time after the profile has loaded.

What is faster than startup applications specified within the Run key? A log on Scheduled Task.

Open your gold image or Citrix App Layering Platform Layer (the Platform Layer should contain your VDA software). Launch RegEdit and navigate to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Delete the Citrix UPM UserMsg string. Finalise the image.

Now using Group Policy, create a new GPO which applies to all users logging on to the VDA.

Within the GPO expand User Configuration -> Preferences -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7).

On the General tab specify a name. Keep the task running under %LogonDomain%\%LogonUser%. Set Configure for to Windows 7 or the highest available OS.

On the Triggers tab click New.

For Begin the task choose At log on and for Any user. Click OK.

On the Actions tab click New.

Under Action select Start a program. Under Program/script enter “C:\Program Files\Citrix\Virtual Desktop Agent\upmEvent” and beside Add arguments (optional) enter wait. Click OK.

Click OK to finish creating the Scheduled Task. When users log on to a VDA the UPMEvent.exe program launches via Scheduled Task immediately when the desktop shell has loaded.

With UPMevent.exe being started now by the Scheduled Task the average logon time has dropped to 13 seconds. Notice the Interactive Session times are all at 3 seconds, more than 50 seconds lower than a default XenDesktop 7.13 installation I ran my testing on. These results are on a non-persistent VDA which is rebooted between each logon.

Director is logging much truer logon times and our future reports will be much more accurate.

Note: In VDA versions before 7.7, upmEvent.exe was called upmUserMsg.exe.


Publish Content in XenApp XenDesktop 7.11+

$
0
0

The release of XenApp and XenDesktop 7.11 gives administrators the ability to publish various types of content to StoreFront that can be consumed directly by end-users. There was previously a similar feature in IMA versions of Citrix XenApp.

The type of content that can be published include:

  • HTML web sites.
  • Documents such as PDF, DOCX, JPEG, XLS from FTP servers, web servers or file servers.
  • Directories on FTP servers.
  • Directories on file servers.

Such content is published using the StoreFront PowerShell SDK at the current time and consumed either by using Receiver client or Receiver for Web. The option to publish content through the Studio GUI may come in a later release. You can also publish the same type of content using Citrix Clouds XenApp and XenDesktop Service.

To get started launch PowerShell, connect to a Delivery Controller and load the Citrix snap-ins. To add an HTML webpage as published content run command New-BrokerApplication -ApplicationType PublishedContent -Name YourAppName -CommandLineExecutable YourWebAddress -DesktopGroup YourDeliveryGroupName.

Once complete you’ll be presented with the PublishedContent application settings.

The Pulbished Content application will appear under Applications in Citrix Studio as normal. There are some properties you can change if you right-click on the application and select Properties.

You can specify keywords just like you can with any other published application.

You can change the web address later down the line if for example the address changes.

You can also limit the application to certain groups or users. By default what is set at the Delivery Group defines which users can access the application.

You’ll notice that by default the Published Content application is set with an icon. That icon will probably not be one you want to use going forward, but you cannot change the icon via the GUI. To change the application icon, you first need to upload the icon and then associate that icon with the Pulished Content application using PowerShell. To upload an icon click Add Applications.

Create a dummy application, before you finish adding the application click on Properties within the Applications screen.

Click on Delivery -> Change.

Check Choose an icon from a file on a representative machine and click Browse.

Browse for an add the icon of your choice. The icon can be in JPEG, PNG format for example as most pictures are.

Click OK.

Finish off adding the application by clicking Finish. Doing this will upload the icon to the Citrix site database.

Now you should delete the dummy application as it is no longer needed.

Launch PowerShell and run command Get-BrokerIcon | fl Uid. The highest Uid number will be the icon you just uploaded. In my case, Uid 8.

Since we now have the Uid number, run command Set-BrokerApplication -Name YourAppName -IconUid YourIconUidNumber.

Refresh Applications within Citrix Studio and your Published Content app will display the new icon.

Log on to StoreFront and you’ll also see the new Published Content application and desired icon. Click on the app to launch.

The application will launch within your own local browser and browse to the website you specified. If you want to add a document Published Content application run command New-BrokerApplication -ApplicationType PublishedContent -Name YourAppName -CommandLineExecutable \\yourshare\yourfile.extension -DesktopGroup YourDeliveryGroup.

If you want to add a share as Published Content run command New-BrokerApplication -ApplicationType PublishedContent -Name YourAppName -CommandLineExecutable \\yourshare -DesktopGroup YourDeliveryGroup.

Note: If you receive a Only HTTP and HTTPS URLs can be opened error when launching file shares from Citrix Receiver, enable the Receiver policy setting Allow/Prevent users to publish unsafe content. Download the latest Citrix Receiver ADMX files to view this setting within Group Policy.

Reduce Citrix logon times by up to 75%

$
0
0

This post covers several recommendations that increased by logon times by more than 75%, even on non-persistent machines where the user profile is not permanently cached.

♣ What is Interactive Session Time?
♣ My testing environment
♣ Non-optimised image vs optimised image – logon time results
♣ Serialize/StartupDelayInMSec – logon time results
♣ Autologon account/the second logon is quicker – logon time results
♣ UPMEvent – logon time results – Saving the best to last

Citrix Director is great at recording logon times per session and logon averages over periods of time. We can even produce logon reports and show them off to managers or other teams within the organisation to show them how good (or bad) the virtual workspace performs! Though without any effort you’ll likely be wowing everyone for the wrong reasons until you put in the background work to get logon times down to a low number. Citrix unfortunately doesn’t magically make logons quicker than any other desktop.

Many of the logon friendly optimisations and best practices out there today are straight forward and common sense and help to get you started:

  • Keep GPOs at a minimum (don’t be GPO happy).
  • Don’t map tonnes of drives, especially to users who do not need them.
  • Don’t map tonnes of printers. Joe who prints to two printers doesn’t need 13 printers mapped to his machine.
  • Avoid using logon scripts, these are only going to add time to the logon.
  • Move Group Policy settings to Citrix WEM.

There are more, and I’ll cover off some additional ones in this post to really reduce logon times. If you’re interested in some more tips, see http://www.jgspiers.com/citrix-tips-tricks-tweaks-suggestions/

Also, if you’re interested in finding out more about the logon process see http://www.jgspiers.com/digging-in-to-citrix-logon-process/

So you’ve performed all of the above and more, you’re timings tells you that logon times are no longer than 20 seconds. You look at Director and the logon times are double. Why? There is still one recorded metric that:

  1. Not everyone knows what exactly it is and or struggles to understand it.
  2. Takes a bit of work getting the metric value to reduce, although once you know what it does it’s easier to shave the seconds off.

That metric is: Interactive Session Time.

What is Interactive Session Time?

From https://www.citrix.com/blogs/2016/08/19/interactive-session-of-logon-duration-in-citrix-director-explained/

It is the time taken to handoff keyboard and mouse control to the user after the profile of the user is loaded for a session.

Event ID 2 is initially logged on the VDA shortly after the desktop/application icon is clicked within Receiver client or Receiver for Web. This event triggers the Interactive Session timer which ends once Event 1000 is logged to indicate that the session is ready for use. Event ID 1000 is logged by the Citrix Profile Management service.

So whilst Director records logon times, it is important to understand that this is the time taken from clicking to launch a resource until the machine is actually usable even though the actual logon may have completed some time before that. This produces innacurate results in Director for true logon times so let me show you how you can almost eliminate Interactive Session times, get overall logon times reduced and get Director logging much more accurate data.

My testing environment

For the following logon tests, I used XenDesktop 7.13, running PVS 7.13 and a 7.13 VDA configured with 2GB RAM and 2vCPU. The VDA runs Windows Server 2016 with no optimisations to start however as you will see later it does become optimised and improves logon times. The Target Device Write-Cache is configured as RAM w/overflow to HDD (which is on SSD storage).

Note: The following configurations can be applied to both Server and Desktop OS in persistent and non-persistent environments. You don’t have to implement all of them, consider each one individually. Logon times will also fluctuate based on factors such as load (busy periods), VDA performance and underlying hardware used.

Non-optimised image vs optimised image – logon time results

I built a brand new Windows Server 2016 VDA streaming from PVS. Nothing else was performed on the image. Logged on three times. The average logon time is 68 seconds. That time has advantages such as being able to go and make coffee or produce a logon time report from Director to show your boss, which probably won’t go down all that well. Add applications, larger profiles, Group Policies in to the mix and more seconds get added.

So I’ve gone and optimised my image using the Server 2016 optimisation script. You know optimising an image brings a great sense of satisfaction, not to mention the average time is now down to 38 seconds! That is 20 seconds shaven off just by optimising the image.  Notice also that the Interactive Session time has been greatly reduced, that is because the image is a lot more leaner and can get a session ready more quickly.

Serialize/StartupDelayInMSec – logon time results

It was blogged about here https://xenappblog.com/2016/optimize-logon-times/. Windows Server 2012 and Windows 8 introduced a startup delay for applications which has a negative effect on Interactive Session times. By disabling this delay we can start the applications immediately, not an issue if you have only a few. On the write-mode PVS/MCS gold image or Citrix App Layering OS Layer, launch RegEdit -> HKEY_USERS -> File -> Load Hive.

Load the default user hive by navigating to C:\Users\Default and double-clicking NTUSER.DAT.

Give the hive a name and click OK.

Within the hive navigate to SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer and create a new key called Serialize.

Create a new DWORD 32-bit value within the Serialize key.

Give the value a name of StartupDelayInMSec and a data value of 0x0.

Click File -> Unload Hive.

Click Yes. Finalise the image.

Note: You could have done this through Group Policy, but since it applies to all users we want to reduce the need for Group Policy processing and extra logon processing.

The results of this optimisation show logon time averages down to 27 seconds. An 11 second drop. Remember that each logon here is on a non-persistent machine. The machine is restarted between each logon so as to mimic a first-time session logon (post restart) to VDA where no profile is cached. These current logon times look a lot better and are good for a first-time logon after VDA restart.

Autologon account/the second logon is quicker – logon time results

When a VDA restarts as part of scheduled reboots for example or when non-persistent desktops reboot to reset, the first logon is generally always the longest. So I thought of the idea to use an auto-logon account to be the guinea pig and be the one who first logs on when a VDA restarts. This works well particularly in server OS since the autologon account when it logs off doesn’t trigger any sort of restart to the VDA.

You can use Autologon as pointed out by Chris in the comments. This tool easily configures an autologon account and encrypts the password. https://technet.microsoft.com/en-us/sysinternals/autologon.aspx

When launching autologon, enter the credentials to your autologon account and click Enable.

Click OK. The Winlogon Registry Key will be configured with DefaultUsername/DefaultDomainName string values and so on however the DefaultPassword will not be present and is encrypted.

Restart the VDA. If autologon does not work the first time run through the Autologon tool again and it should work on second attempt.

You can now configure the logoff procedure as described below.

For an alternative method of autologon (this section includes the autologoff procedure):

Open the gold PVS/MCS image again or the OS Layer (Citrix App Layering). On the C:\ drive, create a batch file and call it something like AutoLogon.bat.Within the batch file, enter the following:

call reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /f
call logoff

Now open RegEdit and navigate to HKLM\SOFTWARE\Microsoft\Windows NT\CurrrentVersion\Winlogon.

Set the AutoAdminLogon value to 1.

Set DefaultDomainName to your domain name as below.

Set DefaultUserName to a user account (service account) which has rights to log on to each VDA. This user account should be secured with a strong password and be a Domain User only. If this DefaultUserName REG_SZ string does not exist, create it.

Set DefaultPassword to the password of the autologon account. Click OK.

Right-click the Winlogon key and select Permissions.

Click Add. Search and add the autologon account.

Give Full Control permissions. This allows the autologon account to delete the DefaultPassword string after each logon. Finalise the image.

Now using Group Policy, create a GPO which is filtered to the autologon account as below. Edit the Group Policy obejct.

Expand User Configuration -> Preferences -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7).

Under General specify a name. Specify Run only when user is logged on and run the task under the autologon account. For Configure for choose Windows 7 or the highest possible OS.

On the Triggers tab click New.

For Begin the task choose At log on. Check Specific user or group and select the autologon account. Click OK.

On the Actions tab click New.

For Action choose Start a program. Under Program/script enter the path of your batch file which resides on the gold image. Click OK.

Your scheduled task is now created.

Now when the VDA boots up, an autologon occurs. The Scheduled Task runs a batch file which deletes the DefaultPassword string immediately for security and then logs off. The machine is then ready for real user logons.

As a result, the average logon time has dropped to 20 seconds. A 7 second drop. Interactive Session times are a lot lower than when we started these optimisations, over a 40 reduction!

UPMEvent – logon time results – Saving the best to last

If you had implemented what I am about to show you first, you probably could have cut Interactive Session time by more than 60% immediately.

The Interactive Session time is calculated once Event ID 1000 is logged on the VDA. The faster UPMEvent.exe runs the quicker Event 1000 is logged and the calculation is complete.

So ideally we want the UPMEvent.exe to run once we see that desktop wallpaper screen as that is when the logon is complete. By default, it instead runs some time after the profile has loaded.

The StartupDelayInMSec key added earlier simply speeds up when run keys (startup applications) are started. Hence why the Interactive Session time is decreased becaue UPMEvent.exe is started quicker since we removed the startup delay.

So what is faster than startup applications specified within run? A log on Scheduled Task.

Open your gold image or Citrix App Layering Platform Layer (the Platform Layer should contain your VDA). Launch RegEdit and navigate to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Delete the Citrix UPM UserMsg string. Finalise the image.

Now using Group Policy, create a new GPO which applies to all users logging on to the VDA.

Within the GPO expand User Configuration -> Preferences -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7).

On the General tab specify a name. Keep the task running under %LogonDomain%\%LogonUser%. Set Configure for to Windows 7 or the highest available OS.

On the Triggers tab click New.

For Begin the task choose At log on and for Any user. Click OK.

On the Actions tab click New.

Under Action select Start a program. Under Program/script enter “C:\Program Files\Citrix\Virtual Desktop Agent\upmEvent” and beside Add arguments (optional) enter wait. Click OK.

Click OK to finish creating the Scheduled Task. Now UPMEvent.exe will be run by the Scheduled Task immediately when the desktop shell has loaded.

With UPMEvent.exe being ran now by the Scheduled Task the average logon time has dropped to 13 seconds. A further 7 second drop. Notice the Interactive Session times are all at 3 seconds, more than 50 seconds lower than when we first started. Director is logging true logon times and our future reports will be much more accurate.

Note: In VDA versions before 7.7, upmEvent was called upmUserMsg.

Virtual Delivery Agent failed with code InstallFailure 1603

$
0
0

If you are upgrading or installing the Desktop or Server VDA and getting either of the below error messages then read on.

Installation of MSI File ‘IcaTS_x64.msi’ failed with code ‘InstallFailure’ (1603).

Installation of MSI File ‘IcaWS_x64.msi’ failed with code ‘InstallFailure’ (1603).

I recently got this message when upgrading the VDA within a Citrix Platform Layer (Citrix App Layering). In this example, access to read the LoggedEvents registry key was denied.

Upon receving the error message, click on Why did this fail?

Confirm the error relates to the installation of IcaTS_x64.msi or IcaWS_x64.msi.

Go to Event Viewer. Within the Application log you’ll see why exactly the install failed. Notice that the LoggedEvents key could not be opened.

Open RegEdit and browse to the key manually (HKLM\Software\WOW6432Node\Euem\LoggedEvents). You’ll get an Access is denied error.

Right-click the Euem key and select Permissions.

Click Advanced.

Check Replace all child object permission entries with inheritable permission entries from this object -> Apply.

Click Yes. If you get an error, set yourself as the owner of the LoggedEvents key and re-run the above steps. 

Now you’ll be able to read the key, and install the VDA.

If you are getting the 1603 installation error due to a different issue than what is described above, try these three possible fixes:

  • Reset performance counters
    1. Open CMD as an administrator
    2. Run command lodctr.exe /R
    3. Restart the machine
  • Rebuild WMI repository
    1. Open CMD as an administrator
    2. Run command sc config winmgmt start=disabled
    3. Run command net stop winmgmt
    4. Run command winmgmt /salvagerepository %windir%\System32\wbem
    5. Run command winmgmt /resetrepository %windir%\System32\wbem
    6. Run command sc config winmgmt start=auto
    7. Restart the machine

Citrix Receiver for Windows Auto-Update

$
0
0

Version 4.8 of Citrix Receiver for Windows comes with automatic update functionality which is enabled by default. There are a couple of different ways to control the behaviour of the auto-update feature.

Note: Receiver for Mac 12.6 also has the auto-update ability.

There may be times when you want to disable auto-update, especially on clients where Skype for Business is used with the RealTime Optimization Pack. Since RTME is installed on the client, this component may auto-update and become newer than the RealTime Connector with the risk of cleints entering into fallback mode. For more information see http://www.jgspiers.com/skype-for-business-xenapp-xendesktop/

You may also want to use auto-update but adjust the default behaviour. The ways of configuring auto-update related settings is described below.

Things to note

  • Outbound proxies must be configured with an exception to the Receiver auto-update Signature service https://citrixupdates.cloud.com and the download location https://downloadplugins.citrix.com
  • By default auto-update is disabled on Session Host, Remote PC and VDI VDA machines.
  • Auto-update is disabled on machines that have Desktop Lock installed.
  • Machines must be connected to the internet for auto-update to work
  • Receiver for Web users cannot download the StoreFront policy automatically. You have to add or refresh the StoreFront account manually through Receiver.

The first method is GPOs. Download the Receiver for Windows ADMX templates from Citrix and import them on to your Domain Controllers. Edit/create a GPO and navigate to Computer Configuration -> Policies -> Administrative Templates -> Citrix Components -> Citrix Receiver -> AutoUpdate. You have two configurable settings.

The first setting Set the Delay in Checking for Update can be set to Fast, Medium or Slow. This allows for staged upgrade rollouts.

The second setting Enable or Disable AutoUpdate Policy is used to set auto-update to disabled, auto (default) or manual (user checks manually for updates). You can also specify if only LTSR Receiver versions are offered for upgrade and set a defer count. The defer count can be set as a value of -1 to 30. -1 means no limit is set on the amount of defers a user can perform. A value of 3 would allow 3 maximum defers for example. A value of 0 means the remind me later option is not displayed.

The second method is to disable auto-update via command line when installing Receiver. A couple of new switches exist to control the behaviour of the auto-update feature.

  • /AutoUpdateCheck – Configure auto-update to be on, off or manual. Values accepted are AUTO, MANUAL and DISABLED.
  • /AutoUpdateStream – Control if auto-updates are for LTSR versions only or Current Release versions. Values accepted are LTSR or Current.
  • /DeferUpdateCount – Allows you to specify the number of times you can defer an update notification. Values accepted are -1 to 30. -1 means the user can defer any number of times.
  • /AURolloutPriority – Specify the speed of which a rollout of an upgrade will be performed. Values accepted are Auto, Fast, Medum and Slow.

For more information on a command line install of Receiver for Windows see http://www.jgspiers.com/command-line-install-citrix-receiver-for-windows/

The third option is using Preferences. This setting is per-user and user defined settings will be written to HKCU. Right-click on Receiver and click Advanced Preferences.

Click on Auto Update.

Choose your desired setting.

The fourth option is using StoreFront by modifying the web.config file found in wwwroot\Citrix\Roaming.       Find the text beginning <account id. Scroll down a couple of lines until you see:

<properties>

<clear />

</properties>

Enter lines as below, modifying to suit your needs.

The fifth option is using CitrixReceiverUpdater.exe after Citrix Receiver has been installed. CitrixReceiverUpdater.exe can be found in %ReceiverInstallLocation%\Citrix\ICA Client\Receiver.

Citrix Workspace Environment Management Documentation Script

$
0
0

This script documents Workspace Environment Management configuration settings into a single easy to read HTML file.

Script author: James Kindon @james_kindon

Contributions made by: George Spiers @JGSpiers

Tested working on OS version: Windows Server 2016, Windows Server 2012 R2, Windows 10 (although not officially supported).

Tested working on SQL version: SQL Server 2016, SQL Server 2014.

Tested working on WEM version: WEM 4.3, WEM 4.2.

Description: This script collects all the configured settings within Workspace Environment Management and formats them in to a easy to read HTML file.

Note: This script does not perform any writes to the WEM database.

Instructions: To avoid failure, run PowerShell as an administrator. The user account you use (SQL or Windows Authentication) must be able to connect to the WEM database and Read/Query the database. This could be the SQL vuemUser account or WEM Broker account.

Requirements: This script attempts to detect and install Windows Management Framework 5.0 if SQL Management Studio and SSMO modules are not present on the machine you are running this script from. If SQL Management Studio is installed then the modules provided by SSMO are used. If not, WMF 5.0 is installed. The installation of WMF 5.0 has been successfully tested on Windows Server 2012 R2 and Windows Server 2016. Windows 10 is not supported. To install WMF 5.0 you must have a connection to the internet on the machine you are using to run this script. If you do not have a connection to the internet, download from another machine that does and install this software manually.

For more information on Workspace Environment Management see http://www.jgspiers.com/citrix-workspace-environment-manager/

Download (click below):

WEM Document Script (18 downloads)

This script is not signed so when downloading you may receive a “Publisher could not be verified” message, this is generally only appearing on Internet Explorer and not the likes of Google Chrome. You can still download the file regardless.

Citrix Smart Tools

$
0
0

An overview of Citrix Smart Tools, one of the Citrix Cloud services previously known as Citrix Lifecycle Management. This services allows you to automatically provision, manage and monitor Citrix workloads running on private and public clouds.

♣ Citrix Cloud Status Portal
♣ Citrix Smart Tools Portal
♣ Licenses
♣ Smart Tools Agents
♣ What information does Smart Tools have on your site?
♣ Add users (administrators) to Smart Tools
♣ Create a Resource Location (Hyper-V) and install the Smart Tools Connector Agent (example)
♣ Enrol site to Smart Tools when installing Delivery Controller (7.14+)
♣ Citrix Smart Build

♣ Citrix Smart Check

♣ Citrix Smart Migrate
♣ Citrix Smart Scale

Smart Tools consists of the following features to date (July 2017):

  • Smart Build – Allows you to automate Citrix deployments on-premise or in the cloud using blueprints that are created by you or by way of pre-built templates.
    • Templates exist for XenApp, XenDesktop, Secure Browser, NetScaler, Active Directory and XenMobile.
    • Everyone gets rights to deploy pre-configured blueprints to their resource location.
  • Smart Migrate – Assists with the migration from XenApp 6.x to XenApp or XenDesktop 7.x. Includes assistance for migrating applications, desktops and policies.
  • Smart Check (new and currently in preview) – Provides health monitoring for your Citrix envrionment.
    • You get notifications about recommended fixes and issues found in your environment during regular health checks and health check reports.
    • Manage updates to your environment including which updates are pushed out and when.
  • Smart Scale – Usage and schedule based scaling on-premise or in the cloud helps to ensure that machines especially in the Cloud are only running when they are needed to avoid charges. You control resource availability and capacity during peak and off-peak times.
    • Smart Scale can run on Azure and AWS, or on-premise.

Note: For a list of what’s new to the Citrix Smart Tools suite, see https://manage-docs.citrix.com/hc/en-us/articles/212715303-What-s-new

The Citrix Cloud Status Portal


The status of all Citrix Cloud services and in our interest Smart Tools can be found at http://status.cloud.com/ – This is a live page that updates in real-time.

You have the option of subscribing to all alerts or specific ones by email, SMS, slack, or by other webhooks.

The Citrix Smart Tools Portal:


You’ll see a number of tabs when logged on to the portal:

  • Resources & Settings – Shows existing and allows you to add additional Resource Locations. Allows you to edit administrator roles.
  • Blueprint Catalog – A catalog of Blueprints which you can search for and add to your library.
  • Smart Build – From here you kick off the deployment of Blueprints. You can also create new Blueprints, edit existing ones, create scripts, share or clone Blueprints, add your your own custom alerts to the Smart Check Alerts Database. This is where your Library is located. If you are a member of multiple Citrix Smart Tools accounts, you’ll have a library for each account.
  • Manage – This tab allows you to manage deployments and servers that have been provisioned to your Resource Location during Blueprint deployment. You can also scale deployments or tear them down.
  • Smart Migrate – Provides assistance in migrating application and policy settings from XenApp 6.x or VDI in a box 5.4 to XenApp or XenDesktop 7.x.
  • Smart Check – From here you can view existing sites, or add new Citrix sites. You can upload site diagnostic data to Citrix Insight Services, perform health checks for example site checks or apps and desktops health checks, perform update checks, perform LTSR checks (Preview) and and view health reports.
  • Smart Scale – Enable scaling. Define if you want to scale based on schedule, based on load or both. You can specify to scale based on the Load Index of VDAs or based on session count. Create schedules and more.

Licenses:


The Smart Tools features (Smart Build, Migrate, Check, Scale) are available for:

  • XenApp and XenDesktop service customers are entitled to all tools.
  • Citrix Workspace service customers are entitled to all tools.
  • XenApp/XenDesktop customers with Customer Success Services – Select (previously Software Maintenance) are entitled however only Platinum customers are entitled to Smart Scale.
  • XenMobile customers with Customer Success Services – Select (previously Software Maintenance) are entitled to everything but Smart Build.
  • NetScaler customers with Customer Success Services – Select (previously Software Maintenance) are entitled to everything but Smart Build.
  • Citrix partners are entitled to the tools.

Smart Tools Agents:


There are a couple of different agent types available. Agents can be installed automatically during Blueprint deplyoment or manually on machines that already exist in your Resource Location that you now want Smart Tools to manage. You can also install the agent manually at the end of a 7.14+ Delivery Controller installation (more on that later).

  • Smart Tools Agent – Can be installed manually or automatically when Blueprints provision machines. If installed manually, you add the machine to Smart Tools afterwards. The agent is there to perform configuration tasks such as installing SQL, installing XenDesktop, creating a Citrix Site, perfoming scaling activies, data gathering and so on.
  • Smart Tools Connector Agent (Connector) – When you create a Resource Location, you manually install a Smart Tools Agent on machines in your Resource Location and then promote those machines to Connectors. Machines that are designated as a Connector will broker communication from Citrix Cloud/Smart Tools to your Resource Location. If you have multiple Resource Locations for example XenServer and vSphere, a Connector on XenServer can act as the Connector for the vSphere environment also providing the connector can communicate with machines from both Resource Locations. If you have a Resource Location that is accessible from the Internet, you don’t need a Connector.
  • Smart Tools Site Agent – This type of Connector is installed on one or more (for high availability) Delivery Controllers in your site. One agent will always be active on a Controller in a Citrix Site and others will be passive. The Site Agent allows Citrix Smart Tools to monitor the Citrix Site performing health checks, searching for applicable updates and scaling the environment.

The Smart Tools Agent can be installed on Windows 7 through to Windows 10 desktop OS (excluding Windows 8.1) or Windows Server 2008 through to Windows Server 2016 server OS. It can also be installed on a mixture of Linux OS.

When a Blueprint installs Smart Tools Agent, port 22 (SSH) should be open on Linux devices and TCP port 3389 (RDP) on Windows devices. These ports must be open to facilitate agent deployment but can be closed once the blueprint deployment is complete. HTTPS port 443 is used for communication to Citrix Cloud thereafter.

Note: There have been some instances where Windows UAC has caused agent installs to fail. If you encounter a Failed to install agent error during blueprint deployment try disabling UAC on the template VM before.

If an Agent stops communicating with Smart Tools after a reboot, check to make sure the Smart Tools Agent Service is running. If it is, restart it and then check if communication is restored.

What information does Smart Tools have on your site?


Communication always flows from the Connector Agent on your Resource Location to Citrix Cloud. Because all machines reside in your Resource Location, Citrix Cloud does not store any sensitive data on their side. Smart Tools does however store the following information:

  • Delivery Group and Machine Catalog GUIDs and names.
  • Master VM names.
  • Delivery Controller FQDNs, product version and IP addresses.
  • VDA DNS names, UUIDs, the Load Index, Maintenance Mode status and power state of VMs to perform power management duties via Smart Scale.
  • Site data uploaded to CIS by the customer through Call Home in XenApp and XenDesktop, Smart Check or through Citrix Scout.

The above data is stored in separate database instances for each customer.

The Citrix Cloud and Smart Tools service also stores other information, including passwords and usernames for authentication to Citrix Cloud, access to Resource Locations such as AWS and deployment of Blueprints to your Resource Location.

  • Citrix Cloud credentials – The credentials you use to authenticate to Citrix Cloud are sent to the Citrix Online system. This process generates a one-time signed JSON Web Token and grants access to Smart Tools using this token.
  • Resource Location Passwords and Secret Keys – Passwords (for on-premise) and Secret Keys (for cloud) needed for authentication to Resource Locations are stored, encrypted and salted in the Citrix Cloud service database. Citrix own the keys used to encrypt these credentials. After a customer enters a password or secret key through the Smart Tools portal, the password or key is masked and cannot be rendered in plain text.
  • Credentials used in Blueprints – Blueprints can store credentials as an input parameter. These credentials are stored, encrypted and salted in the Citrix Cloud service database. Citrix own the keys used to encrypt these credentials.
  • Citrix Site Administrator credentials – If you use Smart Scale and/or Smart Check on your Citrix Site, you are required to provide credentials to a Citrix Full Administrator account from that site. This allows Smart Tools to perform health checks, perform scaling actions and apply fixes and updates to Delivery Controllers and Machine Catalogs on your behalf. These credentials are stored, encrypted and salted in the Citrix Cloud service database. Citrix owns the keys used to encrypt these credentials. After a customer enters the password through the Smart Tools portal, the password is masked and canot be rendered in plain text.
  • AWS key pairs – If AWS EC2 is one of your Resource Locations, Smart Tools prompts you to create a key pair if one does not exist. This key pair enables you to access any Smart Tools Blueprint provisioned resource. The public key is stored in your AWS account while the private key is managed by the customer and should be kept somewhere safe. Smart Tools does not store the private key.
  • Machine image credentials – When deploying a Blueprint, the local administrator credentials you supply from the image template are stored in Citrix Cloud if you create a Deployment Profile. Smart Tools stores these credentials in a separate database instance for each customer. All encryption used by Citrix use standard-based encryption algorithms.

Note: Note that whilst some operations require credentials or keys, you do have the option of provisioning your own machines and using existing machines in the Resource Location when deploying Blueprints. Using existing machines will reduce the need to supply such information to Smart Tools if you prefer. Make sure each machine has the Smart Tools Agent installed before deploying a Blueprint. To download the Agent, visit Resources & Settings, begin to add a Resource Location but after downloading the Agent, cancel the Resource Location creation.

Adding users to Smart Tools


Firstly navigate to Identity and Access Management and then invite users of your choice. If invited users do not have a Citrix Cloud account they will be asked to create one.

Type an email address and then click Invite. You can integrate Citrix Smart Tools with Azure AD. In this case you would have the ability to invite other Active Directory users. For a how-to see http://www.jgspiers.com/azure-active-directory-authentication-citrix-cloud/

Once the invited user has signed up to Citrix Cloud they will be given the Admin role in Smart Tools. To change this, within Smart Tools navigate to Resources & Settings -> Users -> select a user and under Actions click Edit.

From there select the role of Admin, Architect or Operator. Click Save.

To remove a user from Citrix Cloud, navigate back to Identity and Access Management.

Create a Resource Location (Hyper-V) and install the Smart Tools Connector Agent (example):

As mentioned before, a number of pre-created templates (Blueprints) are available from Citrix Cloud that you can use to deploy full Citrix farms among other deployments. If a pre-created template doesn’t suit, you can customise it or create your own. In this example, I’ll show you how to configure a Deployment Profile, and use a pre-created Blueprint to deploy a fully configured Citrix farm. The farm consists of one VDA and one StoreFront/DDC bundled together server.

Log on to Citrix Cloud and under Smart Tools click Manage.

You’ll first need to deploy a Resource Location. The Resource Location is where your VDA and Citrix infrastructure servers will reside. The Resource Location can be on public (Azure/AWS) clouds or private clouds running Hyper-V, XenServer or vSphere. You can have multiple Resource Locations.

Click on Resources & Settings.

Click Add Resource Location.

Check your hypervisor or cloud. In my case, Hyper-V.

Click on Next.

Click Download Agent. This downloads the Smart Tools Agent which you install on a dedicated machine within your resource location which will act as the connector. For high availability deploy pairs. These machines being connectors will broker communication from Citrix Cloud/Smart Tools to your Resource Location over HTTPS.

If you have multiple Resource Locations for example XenServer and vSphere, a connector on XenServer can act as the connector for the vSphere environment also providing it can communicate with machines in both Resource Locations.

The Smart Tools Agent can be installed on Windows 7 through to Windows 10 desktop OS (excluding Windows 8.1) or Windows Server 2008 through to Windows Server 2016 server OS. It can also be installed on a mixture of Linux OS.

Note: Also keep in mind that every machine the Citrix Cloud Smart Tools service has management over (machines deployed via Blueprints or manually added) will have a copy of the Smart Tools Agent installed. The agent is there to perform configuration tasks such as installing SQL, installing XenDesktop, creating a Citrix Site, running health checks for monitoring, gathering information and so on.

The installation instructions and requirements will be displayed. Along with a Waiting for you to install the Agent message.

Within your Resource Location, on a connector machine, launch CitrixLifecycleManagementAgent.exe

Accept the License Agreement and click Install.

Click Finish.

A log file is produced in case you need it. Return to the Citrix Cloud portal.

At this stage Smart Tools should detect that a connector agent has been installed. You can now click Next.

The new machine displays. To make it a connector, click on Use Selected Machine as Connector. A couple of additional scripts will be ran on the selected machine to promote it to a connector.

Making machine a connector. Please wait displays.

Once done enter Resource Location information. This includes a host (can be a connection to System Center Virtual Machine Manager/vCenter for example) or single host. Enter a username/password and domain name for an account that has permissions to manage the Resource Location. Click Add.

Once the Resource Location has been added, click Done.

The Resource Location will always appear as below and can be edited. You can also add additional locations.

Enrolling site to Smart Tools when installing Delivery Controller (7.14+):


When installing a 7.14 or newer Delivery Controller, you are offered the option of joining Smart Tools at the end of the installation. This installs the Smart Tools Site agent and is not the same as the Site Agent connector you just installed previously when creating a Resource Location.

Before connecting to Smart Tools, disable IE ESC (IE Enhanced Security Configuration) for users and administrators via Server Manager. Once the Delivery Controller is connected to Smart Tools it is recommended to turn IE ESC back on.

Select I want to connect to Smart Tools and Call Home. (Recommended) and click Connect.

Enter your Citrix Cloud credentials and click Sign In.

Once you see the success message, click Next. Finish the Delivery Controller install as normal, the site should now appear in Smart Tools.

Citrix Smart Build:


Using “Blueprints”, Smart Build allows you to automate the deployment and configuration of XenApp/XenDesktop etc. to various Resource Locations of your choice.

Smart Build: Automated deployment of Citrix XenDesktop farm (example):

Now that we have a Resource Location, we want to build out a Citrix XenDesktop Site. To do that we use Blueprints either created by ourselves or via a pre-created template. In this example, I’ll use a simple PoC pre-created Blueprint. Click on Blueprint Catalog and then choose the + symbol next to the Blueprint you want to use. From here forward the guide will reference the (Existing Domain) XenApp and XenDesktop Proof of Concept Blueprint created by Citrix.

You’ll get a message indicating that the Blueprint has been added to your library.

Note: If a new update of a Blueprint is released, Smart Tools displauys an indicator so that you can update the existing Blueprint to the newer version.

To access your library click Smart Build. To start a deployment using the newly added Blueprint click Actions -> Deploy.

Click Start deployment setup.

Enter a Deployment Name. You won’t have any created Deployment Profiles yet however during the next steps you do create one which can also be used in future deployments. Click Next.

Select the Resource Location where you want to deploy to. The Resource Location you choose must be supported by the Blueprint you are deploying. Click Next.

You have the option to configure NetScaler as part of the deployment. Something I am not going to do at this time. Click Next.

A number of pre-deployment checklist points will be displayed to help you prepare for the deployment.

Also the recommended hardware specs for each machine you are deploying will be displayed.

During the deployment, the machines created by the Blueprint are built off a template disk(s) that you create. On your Resource Location, you create a template virtual machine and configure it as per the requirements listed below for Hyper-V. This includes:

  • Patching the image with the latest updates.
  • Ensuring the WMI service is enabled and started.
  • Ensuring outbound connections on TCP 443 are possible.
  • Allowing inbound WMI traffic through Windows firewall.
  • Ensuring the Hyper-V Integration Services are installed on the machine. Ensuring a local administrator account is created with a password that does not prompt for change on next log on.

As with any automated deployment, a number of parameters are needed for the configuration piece. Using the Export parameter list (.csv) option allows you to fill out any parameters in to CSV format and upload them to the deployment wizard. Instead I will define the parameters during the wizard manually. Before clicking Continue on the wizard, let’s create a template machine.

Create a template machine for Blueprint deployment:


Over on your Resource Location, create a template machine using hardware configurations of your choice. Later in the deployment you’ll be able to choose the hardware specifications for each machine the Blueprint deploys. Also make sure to patch Windows with the latest updates. You can use seperate templates for DDC and VDA if you wish. In my example, I am using a Windows Server 2012 R2 image for both machines.

An example where you would have two is if you are using a different OS for your VDAs, or you want the blueprint to deploy applications on your behalf to Delivery Groups. This would require you install applications on the VDA template machine.

Note: Do not install the Smart Tools Agent on the machine. The Agent is deployed automatically during Blueprint deployment.

Make sure the local admininstrator account is not set to change password at next logon. Also do not join the machine to your domain.

Make sure the Windows Management Instrumentation service is running and automatic.

Check that the Hyper-V Integration Services component is installed and up-to-date. Also make sure the services are up and running.

Launch Windows Firewall with Advanced Security and right-click Inbound Rules -> New Rule.

Under Predefined select Windows Management Instrumentation (WMI). Click Next.

Check all three rules and click Next. The rules already exist but they are disabled. Completing this wizard will enable them for you.

Click Finish.

If you don’t want to run through the wizard, highlight all three rules and right-click then select Enable Rule. Allowing WMI traffic through the firewall allows the Smart Tools Agent to install.

Make sure you have an unattend file created. As an example, the file I used is below.

Example unattend file:

language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>TABpAHYAZQByAHAAbwBvAGwAMAAxAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
            </UserAccounts>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ProductKey>D2N9P-3P6X9-2R39C-7RTCD-MDVJX</ProductKey>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/users/g_liv/downloads/install.wim#Windows Server 2012 R2 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Open CMD and change directory to C:\Windows\System32\Sysprep. Run command sysprep /generalize /oobe /shutdown /mode:vm /unattend:c:\unattend.xml. At this stage unattend.xml file will be copied to the C:\Windows\Panther directory, the machine will be sysprepped and shut down. Return back to the Citrix Cloud portal.

Now you can click Continue.

On the scaling screen nothing can be changed when using this Blueprint because the functionality to change has been disabled on this Blueprint. You can edit the Blueprint as previously mentioned to further suit your requirements. Click Next.

Under XenDesktop Delivery Controller choose the Resource Location you had created earlier.

Specify a computer name for the Delivery Controller. Click Next.

Now you have to specify the location to your template virtual disk (.vhd) file that has been prepared for imaging. The Blueprint deployment will make copies of this disk when creating the DDC and VDA. By default copies of this disk will also be stored on E:\ however you can use the Edit button to change this location to elsewhere. Once you have filled out your VHD location, click Get Disk Info. If the disk is found, you’ll be displayed with disk specific information such as Disk Type, Disk Size, Disk Format. Click Next.

Here you get to configure the machine system hardware and a static IP if desired. Obviously a static IP is a must for the Delivery Controller so enter the required information and click Next.

As mentioned before, any machine deployed by a Blueprint will receive an install of the Citrix Smart Tools Agent so that it can be managed. You can see the checkbox towards the top states that an agent will be installed. Enter credentials to the local administrator account of the template machine and click Next.

Review your configuration information and click Finish.

Now you have to perform the same steps for the VDA machine.  Select your Resource Location. As you can probably tell, it is possible to deploy machines to multiple Resource Locations.

Enter the VDA machine name, click Next.

Enter disk information, click Next.

Enter hardware specification, select DHCP. Click Next.

Enter local administrator credentials. Click Next.

Click Finish.

Click Next.

There are some more configuration parameters needing entered before we can start the depoyment.

  • Fill out the IP of a Domain Controller.
  • FQDN of domain name.
  • Administrator account that has the privileges to install XenDesktop on the VDA/DDC and join those machines to the domain.
  • XenDesktop site name.
  • Computer name for the DDC.
  • ISO location of XenDesktop 7.13/7.14 media.

You may also need to enter credentials if you use a CIFS share. Finally the remaining field allow you to change the ComputerName, create a VDI server desktop and change the PowerShell Execution Policy.

The execution policy can be changed on your server VDA to one of the following values. I will leave all values at default. Click Next.

You’ll be asked to specify a Deployment Profile name and to save it. This profile can be used to redeploy this Blueprint at a later time. You don’t have to save it. Enter a name, description and click Save.

Now click Deploy.

As the Blueprint deploys, you’ll see a number of deployment steps being performed containing valueable information. Click each step and you can view the Step Details and Step Output. In this example, the initial task involves making a copy of the template machine disk to accomodate deploying our Delivery Controller.

The Delivery Controller will be created over on your Resource Location, with the disk attached and hardware configuration complete.

The machine goes through a number of configuration steps, one involving the installation of the Smart Tools Agent on to the Delivery Controller. 

As you can see here the Delivery Controller was renamed to BPDDC01. That step took 21 seconds.

The Step Output tab shows the old machine name and the new machine name.

Reboots are a frequent step in the deployment process. Here you can see a reboot and check for successful reboot occuring.

The machine goes through a number other configuration steps such as the configuration of DNS settings and joining to the domain.

Once the machine is ready for a XenDesktop install, the ISO is copied from the share you provided earlier to the machine locally in C:\Installers.

Just to confirm, the XenDesktop 7.13 media shows under the Installers folder on the DDC that is being deployed by Smart Build.

After a number of steps, the Delivery Controller install is complete, a SQL instance (in this case SQL Express) is installed and a Citrix site created along with the require databases. The XenDesktop Delivery Controller machine has at this stage finished installing and is configured with a XenDesktop Site. Next up is the install and configuration of the VDA, it goes through a number of the same steps so I’ll not repeat any of that process.

Once the VDA is complete, the deployment will return as complete. You can now perform a quick check to make sure everything looks OK.

Here are the two machines the Blueprint deployed, showing the correct amount of memory.

Launching Citrix Studio on the Delivery Controller, you can see a BPPOCSite was created (that name was specified in the Deployment Profile) and that a Delivery Group has been created.

Inside the Delivery Group is the VDA, registered successfully.

In this example StoreFront is also installed on the Delivey Controller and an HTTP store created.

To confirm connections can be made, connect to Receiver for Web and check you can successfully launch a desktop.

Pausing or retrying failed Blueprint deployment steps:


If your Blueprint fails at any step, you might want to pause the deployment to correct or retry the same step again. This is just a case of telling the Blueprint what action you want it to take on failure. Navigate to Smart Build, click Actions on your desired Blueprint and click Edit.

Now under Options click on the On failure drop-down box to select your desired outcome. During the deployment you will have more options on how you wish to proceed based on the On failure option you choose.

Troubleshooting a failed Blueprint Deployment:


Citrix have published a number of tips to diagnose deployment issues. See https://manage-docs.citrix.com/hc/en-us/articles/212715043-Troubleshoot-blueprint-deployment-issues

How to delete a Deployment Profile:


To delete a Deployment Profile, click Smart Build and start to deploy a Blueprint until the stage where it asks you if you want to use an existing Deployment Profile. Click the drop-down and click X beside the Deployment Profile you want to delete.

Citrix Smart Check:


Smart Check is a new Smart Tools product that is currently in preview. From a high level Smart Check provides health monitoring for your Citrix environment.

  • You get notifications about recommended fixes and issues found in your environment during regular health checks and health check reports.
  • Smart Check can manage updates to your environment including which updates are pushed out and when.
  • You can schedule a range of health checks, which are then ran automatically.
  • View health reports for your Citrix sites and upload diagnostic data to Citrix Insight Services.

How does Smart Check work?:


Smart Check works by running one or more collectors on Delivery Controller(s) within your Resource Location. A collector is no more than a script or tool mostly run within PowerShell which is run by the Smart Tools Agent. The data collected in this step is formatted mostly in JSON files but at times XML files and then uploaded to Citrix Insight Services for analysis. Based on the analysis results, alerts may be generated for a number of conditions.

What data does Smart Check collect?:


JSON files that are generated by Smart Checks are very small in size containing little data other than information to identify your Site, the issues that have been alerted and the names of affected VDAs.

For example the Apps and Desktops Health Check gathers your version of XenApp/XenDesktop, the Site name, any affected VDAs including name, OS version and what errors exist on those VDAs.

Smart Check System Requirements:


Smart Check is supported on the following platforms:

  • XenApp and XenDesktop 7.6 LTSR and 7.11.
  • XenApp and XenDesktop deployments running on:
    • Azure ARM.
    • AWS.
    • XenServer 6.2 -> 7.1.
    • VMware vSphere 5.1, 5.5 and 6.0.
  • Machine Catalogs that use MCS.
  • Smart Check is not supported on deployments that use the XenApp and XenDesktop Service in Citrix Cloud.
  • To use Smart Check, Delivery Controllers that run the Smart Tools Site Agent must support PowerShell 3.0 and be able to communicate with Citrix Cloud over HTTPS 443.
  • Smart Check reports on XenApp and XenDesktop Delivery Controllers, Delivery Groups and Machine Catalogs only.

What checks does Smart Check perform?:


Smart Check runs the following types of health checks:

  • Site Health Checks – These checks are run on your Delivery Controllers. It is recommended that you run this check daily. Some of the checks include:
    • Checking that Windows Firewall rules are enabled.
    • Host connection is not in Maintenance Mode.
    • Citrix Monitor Service can access the Monitoring database.
    • Recent database backup exists.
    • Connectivity to core XenApp or XenDesktop services are established.
      • Site Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdsitescout-<timestamp>. Log files are deleted after 5 days.
  • Apps and Desktops Health Checks – This check ensures that your Delivery Groups are available to serve applications and/or desktops.
    • Apps and Desktops Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xaxdscout-<timestamp>. Log files are deleted after 5 days.
  • Update Checks – This check runs on your VDAs and Delivery Controllers to see if they have the latest patches installed. If not, patches are recommended.
    • Update Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdscout-<timestamp>. Log files are deleted after 5 days.
  • LTSR Checks – Checks your Delivery Controllers and VDAs to determine if they are LTSR compliant. This check runs the LTSR Assistant tool against your site – https://support.citrix.com/article/CTX209577. For this check to run successfully, make sure the following conditions are met on your VDAs and Delivery Controllers:
    • PowerShell 2.0 and above is supported.
    • ICMP is allowed inbound through Windows Firewall.
    • WinRM is enabled through Windows Firewall and the service is started (also an Agent requirement).
    • Port 80 is allowed on Delivery Controllers for the XenApp and XenDesktop PowerShell SDK.
    • Port 5985 is allowed on VDAs and Delivery Controllers for Windows RM.

Note: For a list of Citrix provided alerts included in Smart Check see https://manage-docs.citrix.com/hc/en-us/articles/115000817343-Smart-Check-alerts-reference

Add Site to Smart Check:


Note: Sites can be added the following ways:

  • A site deployed via Blueprints that has the Register Site step is added to Smart Check for you.
  • If you use Call Home or upload Citrix Scout reports to CIS using the same MyCitrix account you use for Smart Tools. Likewise if you upload diagnostic files to CIS via Smart Check (explained later).

Alternatively, you can add an existing site manually.

To manually add an existing site to Smart Check, click Start Check -> Add Site.

Click Download Agent to download the Start Check Site Agent.

Install the Site Agent on a Delivery Controller in the site you want managed. It is recommended to install the Site Agent on multiple Delivery Controller’s in your site for high availability.

Once the Site Agent is installed on a Delivery Controller, return to the Citrix Cloud portal and you should receive the Agent was successfully installed message. Click Next.

Enter credentials to a Citrix Full Administrator account in your site. This account will be used to run health checks and analyse the site for updates. Click Add Site.

After a few moments the site will appear under Smart Check. The site will also be added to Smart Scale. Click on Get Started.

Shortly after adding a site to Smart Check, health checks will be performed.

Note: Make sure your Delivery Controllers are allowed to run PowerShell scripts.

Once you navigate to a Site within Smart Check you’ll see if there are any outstanding warnings and when the next scheduled checks are due to commence. You can also View Reports, perform manual checks, configure the site and more. I’ll go through each section. For my site, 1 warning is outstanding. Click on the arrow beside 3 Checks set performed for more information.   

You can see that 3 different checks have ran, two completed without issue but the Site Health Checks found an issue.

There will be a display of each component that checks have been run against, the Controllers, Machine Catalogs and Delivery Groups along with errors or warnings. As you can see my Controller has a warning. I can click on it to see what the warning is.

Upon exanding the Delivery Controller, the warning states that no recent backups have been taken of the Site database. Clicking on the right arrow beside the date and time the warning was found displays further information.

The alert displays more information including a recommended fix.

You will also be emailed when issues have been found from Health Checks.

If you want to turn email notifications off, click Resource and Settings -> My Profile -> change Enabled to Disabled beside Smart Check issues summary.

Back over in Smart Check, clicking on a site and then clicking on Site Details displays your Delivery Controllers and gives you the option to synchronise site data, remove the site or change the Full Administrator credentials.

Those same options are available by clicking on the verticle ellipsis. The Sync Site Data option allows Smart Check to detects additional infrastructure that has recently been added to your site. Click on Edit Site Credentials.

You can change credentials to another Full Administrator then click Done.

If you want to perform a manual health check, click Perform Check. You can perform individual checks or all using the Perform all Checks option. I’ve purposely powered off my VDA so I’ll click on Apps and Desktops Health Checks.

Click Perfom Checks Now.

The appropriate checks begin to run.

One error has been found on my Delivery Group. Click the Delivery Group.

The error shows that there is 1 Unregistered VDA against the Delivery Group and that the Delivery Group is not able to serve connections. Click on the > arrow for more information.

Here the additional information displays recommendations to fix and the time the error was found. If you want to hide the alert, click Hide Alert.

Click Hide Alert. Notice that it will not appear again until we restore the alert.

To restore the alert, click on the vertical ellipsis and select Show Hidden Alerts.

The alert will appear back against the Delivery Group, click the > arrow beside the error date and time found and then select Restore Alert.

Smart Check Schedules:


If you want to change Health Check schedules or disable them, click on Configure.

You’ll be given a list of the four checks possible. You can configure the health checks to run on a schedule (or not). By default all schedules apart from LTSR Checks run every day between 12AM and 5AM based on the Time Zone of the first Delivery Controller Smart Check discovers. You can choose to run the checks Every Day or Every Week.

The LTSR Check is not scheduled to run. You can run the check manually. To the top-right, click Return to Health Report.

Click Perform Check -> LTSR Checks -> Perform Checks Now.

Once the LTSR check is complete, if your Site it not compliant, an issue will flag.

The issue found states that Components of target machine incompatible with Citrix LTSR.

More information displays information on what to do. My XenDesktop site is running 7.13, so I’m too far gone at this stage!

You can view a report of the LTSR check by clicking on View Reports. Click Download Report next to the LTSR report.

A number of different files will download in a packages folder. Most of them CSV. I’ll open a couple as examples.

The licenseserver.csv report shows that my License Server version is newer than the required LTSR version.

The same goes for the citrixdirector.csv report.

The ReportHtmlFile.html shows an overall report indicating that the site is not compliant with XenApp/XenDesktop 7.6 LTSR.

The ComplianceReport.csv file lists all components found in the site, their version and the version they should be for LTSR compliance.

Upload Site diagnostics to CIS via Smart Check:


The Smart Check section of Smart Tools allows you to upload diagnostic files to Citrix Insight Services at the request of Citrix support. You can also copy and send Citrix support generated links to your support files. Click Diagnostics -> Upload Diagnostics.

Click Select File to upload a diagnostics file.

As the diagnostics file uploads you should not navigate away from this page.

Click Done.

After the file has been uploaded it is analysed by CIS.

When analysis completes you’ll see some basic information about the file. Click on the > arrow to display more information.

You’ll be presented with slightly more information including a report link to share with Citrix support. Whilst you can upload any type of diagnostics file, Smart Check currently only supports running health checks on XenApp and XenDesktop.

If you were to upload a XenApp or XenDesktop support file, the site if not already known to Smart Check will be added to Smart Check. You can then install the Smart Check site agent on Delivery Controllers in that site to allow health checks to be performed. If you remove a site from Smart Check, make sure the diagnostic data is also removed from Citrix Insight Services or else the site may be re-added to Smart Tools.

If you click View Report against any site added to Smart Check, you can get some site specific information such as the number of Delivery Groups, Controllers and Machine Catalogs in that site.

If you click further into the site components i.e. Delivery Groups, you are presented with the names of each group along with any known issues.

Here you can see both Delivery Group names.

Looking at the Delivery Controller of a particular site displays the product version, name of the DDC and any outstanding alerts.

Install Smart Tools Site Agent on multiple Delivery Controllers:


As mentioned before it is advisable to install the agent on multiple Delivery Controllers for high availability. After you have added your site to Smart Check, if you click on Site Details the Delivery Controller which already has an installed agent displays along with any other discovered Delivery Controllers. You have the option of installing the agent on additional Delivery Controllers from this portal.

Remove Site from Smart Check:


To remove a Site click View Report on the site of your choice, now either click the verticle elipsis -> Remove Site or click Site Details -> Remove Site.

Click Remove.

You can also remove the Site Agent which unregisters the site from Smart Tools. If the unregister operation is not possible due to communication issues with Citrix Cloud then use the above Remove Site method.

 Smart Check Log Files:


Smart Check checks output log files in the following locations:

  • Site Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdsitescout-<timestamp>. Log files are deleted after 5 days.
  • Update Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdscout-<timestamp>. Log files are deleted after 5 days.
  • Apps and Desktops Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xaxdscout-<timestamp>. Log files are deleted after 5 days.

Citrix Smart Migrate:


Citrix Smart Migrate can assist you in migrating XenApp 6/6.5 to XenApp 7.x or VDI in a Box 5.4 to XenDesktop 7.x. For XenApp 6.x migrations Smart Migrate helps by exporting existing farm policies and settings and imports them to your new 7.x site.

You can migrate using an automated fashion by installing the Site Agent on one 6.x and 7.x controller, installing the XenApp 6.5 PowerShell SDK on all 7.x controllers or manually by runnnig migration scripts and uploading policies and settings to Citrix Tools for migration.

For more information see https://manage-docs.citrix.com/hc/en-us/articles/212714903-Prepare-to-migrate-your-XenApp-6-x-or-VDI-in-a-Box-5-4-deployment

To kick off a deployement, in Smart Tools click on Smart Migrate and then Add a Migration Project.

Using the drop-down select the migration you wish to perform.

Upon selecting the migration type (in this case XenApp 6.5 to 7.x) you’ll be presented with some pre-requisite checks so make sure you have completed them before continuing. Click Add.

Select Fully Automated:

or Partially Automated:

If you select Fully Automated you’ll be asked to select your XenApp 6.5 environment and controller. The 6.5 farm should be added to Smart Tools. You can choose to connect an existing deployment at this stage.

If you chose Partially Automated you’ll be tasked with downloading the scripts, running them manually, collecting policies and settings related to your XenApp 6.5 farm and then uploading them back to Smart Tools.

Citrix Smart Scale:


Smart Scale is designed particularly to scale up and down Citrix VDAs per schedule and power manage them to save on the costs of running workloads on public clouds such as Azure or AWS. The amount of VDAs running in a Delivery Group monitored by Smart Scale can be based on session demand of Load Index value. Alternatively you can specify how many VDAs minimum you want running at any given time of the day to ensure adequate availability of resources for your user base.

Smart Scale requirements:

  • Smart Scale is supported on Amazon EC2, Azure Resource Manager and Classic, and Citrix XenServer 6.2, 6.5, 7.0.
  • You must configure hosting in XenApp or XenDesktop for Smart Scale to work.
  • Your Site Delivery Controller(s) must support atleast PowerShell 3.0.
  • Smart Scale supports XenApp, XenDesktop, XenApp and XenDesktop Service, XenApp Essentials and XenDesktop Essentials. Up to 2,000 VDAs per Site can be power managed (1,000 per Delivery Group) and up to 120 Delivery Groups can be power managed per Site. Monitoring data collection is supported for up to 5,000 VDAs per Site.
  • Smart Scale supports pooled and static persistent VDI desktops but this is currently in “preview” and best to be trialled in testing environments whilst Server OS is fully supported. You should disable any power management functionality within XenDesktop to avoid conflicts with Smart Scale. When using VDI desktops, Load and Load/Schedule based scaling is not supported. When using schedule based only scaling, it is supported but Citrix recommend you use Smart Scale only during times where users log on to machines that are already powered on such as during business hours. When outside of business ours where machies are likely to be powered off, do not use Smart Scale but instead use the XenDesktop built-in power management capabilities. Also with random desktops which power off each time a user logs on, Smart Scale may attempt to power off the machine as well and eventually display an error on the Events and Machine Activity pages.

As the front tile says, “Keep costs of your cloud based deployments under control with usage and schedule based scaling”.

To access Smart Scale, launch Smart Tools and click the Smart Scale tile.

Add Site to Smart Scale:


Any sites you have already added to Smart Tools via Smart Build (agent must be deployed as part of blueprint) or Smart Check will be displayed, including any site with a Site Agent installed on one or more of the Delivery Controllers. XenApp and XenDesktop Service sites do not need added as scaling is directly actioned through the XenApp and XenDesktop Service. If you need to add a site manually, you can always click Add Site. This will allow you to install the Smart Tools Site Agent to one of your Delivery Controllers. The process has been described under Smart Check.

Once your site is added it displays under Smart Scale. Click Get Started.                         

The main page displays each Delivery Group to the left and Delivery Group specific data along the middle pane. Here you can see estimated savings calculated based on the machine running cost per hour. Say for example you have an Azure subscription and run VDAs on machines that cost $1 per hour. If you tell Smart Scale the price, an estimated savings value is calculated based on the amount of time Smart Scale is able to keep a VM powered off. This is the benefit of Smart Scale as it power manages machines when they are not used rather than have all VDAs running at the same time incurring cost. This is quite like the on-premise Power Management capabilities of XenDesktop so nothing new.

In this screen you also have the total amount of VDAs in a Delivery Group, how many sessions are running, how many VDAs are powered on and so on. You also have four tabs below the site name. Smart Scale by default will be disabled on all Delivery Groups so it is up to you to enable on the Delivery Groups of your choice. To enable Smart Scale against a Delivery Group, select a Delivery Group to the left and click Configure.

There is a toggle switch to the right, beside Scaling Disabled. Click the toggle.

The text will change to Scaling Enabled. Scroll down.

Here you can configure capacity management for the Delivery Group.

Using Smart Scale you can control load as follows:

  • Load-based and schedule-based scaling – Create schedules and define how many VDAs you want to be powered on at that time and scale VDAs up or down based on session demand.
  • Schedule-based scaling only – Create schedules (blocks of time) and define how many VDAs you want to be powered on at that time.
  • Load-based scaling only – Based on Session Count or Load Index of the VDAs, scale up or down VDAs to meet demand. Keep in mind that a Delivery Group monitored by Smart Scale must have enough VDAs to meet demand. Smart Scale does not automatically provision and add extra VDAs to Delivery Groups.

By default Load-based and schedule-based scaling is selected with 1 Max session per host. Click the Advanced button.

Here you can adjust the capacity buffer which is by default at 10%. What this means is that if for example you have 20 VDAs in total with 10 users connected on a 1 to 1 basis, an 11th VDA will be powered on (assuming it is not already powered on) to be able to host an 11th session. If you had set the Capacity Buffer to 50%, 15 VDAs should be powered on as 50% of 10 sessions = 5. It is up to you to make sure the Delivery Group has enough VDAs to host session demand. If 100 user sessions are connected, VDA capacity is scaled to support 110 sessions. Click OK.

You can also set the Scale metric to Load Index, the default value is 10000 and cannot be changed. Load Index is only applicable to Server OS. If the Load Index value is reached, VDAs are power managed appropriately. To read up on Load Index see http://www.jgspiers.com/vda-load-index-xenapp-session-load-balancing/

Create Smart Scale schedules and load scaling:


You also have the option of creating new schedules, which dictates the amount of VDAs minimum that should run at any given time. The Default schedule is used at times where a custom schedule is not active, so one VDA will be powered on during this time. The time is based on local time of your Delivery Controller(s). You can also enter the machine cost for estimated savings. By default this value is 0.06. Beside Schedules, click Create New.

Enter a name, a value for how many machines you want to run and when you want to run them. My Delivery Group has 4 VDAs, so I am telling Smart Scale that I want 2 VDAs to be powered on every day between 8AM and 9PM. Outside of these times the Default Schedule will keep just one VDA online and scale based on demand which is optional. Click Create.

The new schedule shows as below. You can create multiple schedules but they cannot conflict with one another.

As a test I will set my Capacity Buffer to 50%.

I will also keep the Session Count at a maximum of 1 session per host.

Click Return to Site Monitoring.

To recap, my Delivery Group has 4 VDAs in total. I have restricted each VDA to only launch a maximum of 1 session and told Smart Scale to keep a minimum of 2 VDAs powered on during 8AM-9PM every day. I have also set the Capacity Buffer to 50% so that when a second session is launched a third VDA is powered on. To show this working, click on Machine Activity. Here you see two VDAs have been powered on to meet my schedule demands. The Machine Activity tab shows which machines have been powered on/off and been placed into maintenance mode.

If you click on the Events tab you will see similar information.

You can change the time range up to a month. The Machine Activity tab allows you to do the same.

Two sessions have now been launched against VDA2 and VDA4.

Shortly after VDA1 is powered on, as the previous two sessions triggered the Capacity Buffer.

As a third session connects to VDA1 and then logs off, VDA1 is placed in Maintenance Mode to prevent anyone else connecting and it is then powered off. Smart Scale selects the VDA with fewest sessions and places in maintenance mode. Once the machine has drained of sessions it is powered off. At this stage if the VDA was hosted in the public cloud we would be saving money.

Note: To ensure machines are adequately drained, create idle and disconnected session policies.

The Site Details tab shows brief information about your site Delivery Groups and Delivery Controller(s) including status as indicated by the green tick. You can force a site data sync, remove the site from Smart Scale or edit the Site Credentials.

Note: Site Credentials must be of an account that is a member of atleast the Delivery Group Administrator role in Citrix Studio and part of the Domain Users group. This account is used to impersonate the Site administrator and execute monitoring and scaling actions.

Using the verticle elipsis you can perform the same actions including turning off Smart Scale for a site. Smart Tools can automatically turn off Smart Scale on your Site if none of your Delivery Groups are configured for power management through Smart Scale or no Smart Scale events such as powering on or off have been generated in the last 30 days.

Smart Scale monitoring data is collected every 5 minutes for a Delivery Group when you enable Smart Scale for that Delivery Group. There may be a slight intial delay in displaying monitoring data when you first add a Site to Smart Scale. If Smart Scale is later disabled, no new monitoring data is captured but you can still view previously collected monitoring data.

Enable or Disable Smart Scale error event notifications:


Browse to Resources & Settings -> Notifications and enable/disable Smart Scale error events.

Remove Site from Smart Scale:


To remove a Site from Smart Scale you can either uninstall the Smart Tools Site agent from your Delivery Controller(s) which unregisters the Site completely from Smart Tools, or you can remove the Site from Smart Scale which also removes the Site from Smart Check but keeps the agent installed on your Delivery Controller(s).

Note: XenApp and XenDesktop Service sites cannot currently be removed from Smart Scale. It is recommended to just disable Smart Scale if you do not want to use it.

To do this click on the Site you want to remove and click Site Details -> Remove Site.

Click Remove.

Troubleshoot Smart Scale events:


For a list of events and troubleshooting tips see https://manage-docs.citrix.com/hc/en-us/articles/115002373886-Troubleshoot-Smart-Scale-events

Launch Citrix Desktops and Applications in Windowed Mode

$
0
0

This post explains how to launch Desktops and Applications in Windowed Mode using specific resolutions or a percentage of the screen.

By default when we launch applications and desktops they launch seamlessly as if running on the local endpoint. If applications and/or desktops behave in a way were seamless does not suit, you may want to consider launching those problematic resources in Windowed Mode instead.

Launching in Windowed Mode is easy and can be set up per resource. You can either define a static resolution or define a percentage of the screen.

On your StoreFront server(s), navigate to C:\inetpub\wwwroot\Citrix\CitrixStore\App_Data.

Note: Your path will be different depending on your Store name.

Now launch default.ica in a text editor.

To set a specific resolution underneath Application= type in brackets [] the name of your application as displayed in Citrix Studio. Underneath type the [Application] name type:

TWIMode=Off

DesiredHRES=

DesiredVRES=

The resolution is up to you.

Save the default.ica file. The next time youu launch a resource it will display as below in Windowed Mode:

To set the Windowed Mode as a percent of the screen, replace DesiredHRES= and DesiredVRES=with ScreenPercent=. This works well especially for published desktops.


Citrix Support Fix List

$
0
0

A list containing the majority of Citrix support articles collated to make this page a one stop place for you to search for and find information regarding any issues you have with the main Citrix products and their related dependencies.

The page is updated daily with new support articles and information. Articles will change from time and if information here is outdated or incorrect please let me know using the comments. Links may also expire or change so if you find broken links, please let me know. For each issue, known product versions affected are recorded however that does not mean products versions that aren’t listed are not affected.

Each product table has a search box that you can type in to if looking for a specific fault. For example if you have an error code or message, use that to perform a search. You can also use your browsers search feature which will perform a search against the whole page based on the words you enter.

♣ App Layering
♣ AppDNA
♣ Azure, Citrix XenApp Essentials and XenDesktop Essentials
♣ Citrix Cloud
♣ Desktop Lock
♣ Director
♣ Federated Authentication Service
♣ Licensing
♣ Machine Creation Services
♣ NetScaler
♣ NetScaler Management and Analytics System
♣ Profile Management
♣ Provisioning Services
♣ Receiver for Android
♣ Receiver for HTML5
♣ Receiver for iOS
♣ Receiver for Linux
♣ Receiver for Mac
♣ Receiver for Windows
♣ SCOM Management Pack
♣ ShareFile
♣ Skype for Business
♣ StoreFront & Receiver for Web
♣ System Center Configuration Manager
♣ Universal Print Driver & Server, General Printing
♣ VMware ESX
♣ Windows 10
♣ Windows Server 2016
♣ Workspace Environment Management
♣ XenApp & XenDesktop (excluding Machine Creation Services)
♣ XenMobile
♣ XenServer

App Layering:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
18 Published image (Unidesk Desktop) or Packaging Machine blue-screens with STOP code 0x75640007. This STOP error comes from the App Layering Filter driver. It specifically means not all of the required layers were mounted within 10 minutes. As the layers should appear instantly when Windows boots up, Citrix assumes there is a problem and blue-screens the machine so that the process can be retried. The most common cause for layer mounting failures are policies/software blocking access to removable drives. https://support.citrix.com/article/CTX226759
19 When installing the App Layering Agent on a PVS server that has a French Windows OS installed, you receive the following failure message: "An error occured when executing netsh". The agent still installs, however you must manually perform the steps that have failed. Assign and SSL Certificate to port 8016 and manually run NETSH as an administrator. https://support.citrix.com/article/CTX225948
20 Whilst logged on to the App Layering Management Console, you get unexpected errors and disconnects. From the console you may also see "Connectivity Failure" or "No connection to Layering Service". Reboot the Enterprise Layer Manager appliance. This allows the internal services to reconnect to each other and is the most likely solution. Citrix App Layering 4.x. https://support.citrix.com/article/CTX226405
21 Windows 10 major upgrade may result in new Recovery Volume partition. Make sure to remove the volume using diskpart before finalising the OS Layer. Failure to do so could result in desktops failing to boot correctly. This also applies to booting Virtual Machines via PVS. https://support.citrix.com/article/CTX226407
22 "SYSTEM_THREAD_EXCEPTION_NOT_HANDLED CVhdMP.sys" message when booting images created by App Layering via Citrix Provisioning Services. Check that there are no ghost network adapters in the image.
Check the NIC slot number if using VMware ESX.
Make sure the Target Devices hardware is not too different from the Packaging Machine.
Check the publishing Platform Layer Hypervisor version is set correctly for the Hypervisor you are using.
Make sure E1000 NICs are not being used.
http://www.jgspiers.com/0x0000007e-bnistack-failed-vmware/

http://www.jgspiers.com/remove-unused-device-drivers-from-citrix-gold-image/

https://support.citrix.com/article/CTX222191
24 When publishing an image to PVS, you receive the following error: "A failure occurred while publishing the image to PVS server servername (servername.fqdn). Error: The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist. (Exception from HRESULT: 0x800704DD)". Uninstall then install the App Layering agent again. Try running the install media locally instead of over the network. https://discussions.citrix.com/topic/388589-after-upgrade-to-app-layering-43-publish-to-pvs-79-failing/
25 You receive various App-V related issues including publishing issues. Upgrade to App Layering 4.4+ Citrix App Layering 4.2 and 4.3.
26 Unable to import Windows 10 gold image into App Layering. During the import job, you receive the following error: "The CachePoint Appliance could not import the gold image VM to create the Operating System Layer. Error is: Failed to copy folders recursively". The import fails if the gold image has Windows Updates from Feburary 2017 and newer installed. From the gold image, delete file "Microsoft.MicrosoftOfficeHub". https://support.citrix.com/article/CTX222733
27 When trying to create or edit a connector, you receive a "Authentication Failed (401)" error. This is a problem caused by long-running Active Directory queries inside the ELM appliance create a database lock that causes the rest of the connector transaction to timeout. Upgrade to App Layering 4.3+. This version introduces some improvements however some issues still remain. https://support.citrix.com/article/CTX224176
28 When clicking the search box within Outlook 2016/2013 in an Elastic Layered image, a prompt for credentials is displayed and an installer launches and hangs. Install the Windows Search Service in a new OS Layer version. https://support.citrix.com/article/CTX224077

AppDNA:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 After upgrading to AppDNA 7.13 the console fails to start with error "AppDNA has stopped working". Turn off CEIP. https://support.citrix.com/article/CTX224986
2 When importing an App-V application in to AppDNA you receive error "Starting task. Failed task Appv to msi task. File name is too long". Reduce the length of the file path to less than 255 characters. https://support.citrix.com/article/CTX225670

Azure, Citrix XenApp Essentials and XenDesktop Essentials:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 In a multi-zone XenDesktop site, the DDC in Azure fails to connect to an on-premise DDC. VDAs in Azure are also listed as unregistered. Set the primary domain controller (PDC) as the primary time source for the domain and enable the PDC to sync its time with an external reliable time source. https://support.citrix.com/article/CTX206522
2 VDAs in Azure are powering up, registering and then powering off again. This process continues as a reboot cycle. Users can not launch applications as a result. The Cloud Connectors were running Windows Server 2016. Installation of MS Hotfix KB4025339 resolves the issue. https://support.citrix.com/article/CTX226240
3 The creation, updating and deletion of MCS Machine Catalogs from Azure Resource Location fails. Running a Host Connection test and Resources test results in error message "Contact Citrix Support". A CDF trace on the Delivery Controller shows an exception when trying to enumerate the Azure Storage Account details. This was caused by an earlier Azure outage resulting in missing tags. Add the missing tags manually to the Azure Storage Account. MCS Storage Account on Azure was missing the tags required for MCS to work correctly. https://support.citrix.com/article/CTX222848
4 You have configured Azure AD for XenApp Essentials however when users log on to StoreFront they receive error "There was a failure with the mapped account". This means that the user account has not yet synchronised from your on-premises Active Directory to Azure AD. The synchronisation process can take up to 2 hours. https://support.citrix.com/article/CTX227065
5 When trying to link Azure subscription to a catalog, you get a message that the subscription has already been linked, however the subscription does not show in Azure subscription tab. This is due to lack of premissions on Azure for the XenApp Essentials service and the account adding the subscription. https://support.citrix.com/article/CTX226977
6 Machines in Azure are not being started fast enough to cover increased user load. Support for Azure ARM is continually improving. One of the new features is on demand provisioning of virtual machines. To take advantage of this benefit, recreate your machine catalogs. https://support.citrix.com/article/CTX227833

Citrix Cloud:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 VDA failed to register with Delivery Controller with Event Log ID 1022. Restarting the Cloud Connector server helps to reset the faulted channel. The Microsoft.ServiceBus.Channel which is used by the Cloud Connector to communicate with Citrix managed Delivery Controllers may be in a faulted state. XenApp and XenDesktop Service https://support.citrix.com/article/CTX225605
2 Citrix Cloud Connector fails to update and is unable to exit maintenance mode. This results in an outdated connector that is unable to handle service requests. This can be caused by conflicting software installed on the Cloud Connector server that blocks updates or an unexpected error occuring during maintenance. Delete Cloud Connector from Citrix Cloud and uninstall the Cloud Connector followed by installing the newest version. https://support.citrix.com/article/CTX224073
3 From an on-premises location, user is unable to access cloud hosted StoreFront website. The same website can be accessed from external locations. Configure proxy server to allow traffic to XenApp and XenDesktop URLs such as https://*.xendesktop.net. XenApp and XenDesktop Service https://support.citrix.com/article/CTX223020
4 Cloud Connector does not complete its initial installation due to inability to validate the code signing certificate. The Citrix Cloud Connector being installed does not trust the primary or intermediate certificate which is used to sign the .exe bundle that installs the Citrix Cloud provider services. This is usually not an issue if Windows Updates are allowed and the Cloud Connector server is patched. https://support.citrix.com/article/CTX223828
5 User unable to log on to mdx.xm.cloud.com. Make sure to invite the user as an administrator within Citrix Cloud under "Identity and Access Management". Once the invite is sent and accepted, the user should gain access. https://support.citrix.com/article/CTX227458
6 Citrix Studio does not start and you receive a "Snap-in Unavailable" error. Clear idle and disconnected sessions for the administrator attempting to launch Studio. XenApp and XenDesktop Service https://support.citrix.com/article/CTX227672
7 When using Citrix Cloud and an on-premises StoreFront server configured for SAML authentication, when the Receiver for Web session times out you receive error "Please close your browser to protect your account". Add "CTXS.allowReloginWithoutBrowserClose = true" to "C:\inetpub\wwwroot\Citrix\Web\custom\script.js". XenApp and XenDesktop Service. https://support.citrix.com/article/CTX227673

Desktop Lock:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 After locking and then later unlocking a Desktop Lock enabled client, the application windows within the Citrix session appear behind the taskbar. The only way to resolve this issue is to logout from the session and then log back in again. You could also edit the registry to turn off ICA session disconnects when a machine is locked. XenApp 7.6, XenDesktop 7.6. https://support.citrix.com/article/CTX223258
2 When client is locked via Start Menu -> Lock, the user is required to log in to the client device and then VDA. The same issue does not occur when locking via CTRL+ALT+DEL. This is by design. Citrix can only pass the first credentials to a disconnected session. If the session is active, there is no way to pass the credential without prompting twice. Citrix Receiver Desktop Lock 4.3 and 4.4. https://support.citrix.com/article/CTX207832
3 After upgrading Desktop Lock from 4.4 to 4.5, desktops launch but get stuck at logon. Install Microsoft Visual C++ 2005 SP1 Redistributable Package MFC Security Update on the client machine running Desktop Lock. Citrix Desktop Lock 4.5 and Windows 7. https://support.citrix.com/article/CTX218583
4 After installing Desktop Lock a black background is displayed with Windows Explorer showing when you log on as a local administrator. Make sure your antivirus product is not preventing "CtxExplorerLauncher.exe" from launching. This file is configured to automatically launch at logon to detect when an administrator logs on. https://support.citrix.com/article/CTX215494

Director:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 The Custom Reports Tab is missing from Trends in Director. You require Delivery Controllers running 7.12 or later and Platinum licenses. https://support.citrix.com/article/CTX225891
2 Within Trends -> Sessions -> Session Details, sometimes information will not load when you explicitly select any Delivery Group. For example, if 500 sessions are connected, you may only see 3 and a "No data available for specified time period" message. This issue is fixed in XenApp and XenDesktop 7.14.1. XenApp and XenDesktop 7.13. https://support.citrix.com/article/CTX225853
3 Within the monitoring SQL database, the MonitorData.Session table shows a "NULL" value for all sessions and Director does not report Average Logon Duration for all sessions. The Security Descriptor was customised on each VDA denying permission to the Network Service Account which runs UPMPlugin. This permission issue prevented the Desktop Ready event from being logged to Event Viewer. https://support.citrix.com/article/CTX225857
4 You receive message "Unexpected error. Check your network connection or view Director server event logs for further information". A private fix is available for Director versions 7.13 and 7.14 with a public fix expected to be integrated in the next release. XenApp and XenDesktop 7.13, 7.14. https://support.citrix.com/article/CTX225784
5 When you point Director to a specific Delivery Controller you receive message "Cannot retrieve data". A duplicate SPN is causing Kerberos authentication failures. Remove the duplicate SPN registered against affected Delivery Controller. XenApp 7.6 LTSR CU4 to XenApp 7.14. https://support.citrix.com/article/CTX225294
6 The failed Desktop/Server OS counter on Director Dashboard does not change even after all of the desktops are registered. You can perform a workaround by deleting the stale records from SQL however it is advised that you upgrade to XenDesktop 7.12 for a permanent fix. XenDesktop 7.11 and lower. https://support.citrix.com/article/CTX225139
7 You are presented with a "HTTP 500 Internal Server Error" when browsing to the Director site. Install ASP.NET 4.5 and validate all other Director system requirements. https://support.citrix.com/article/CTX207694
8 Under Trends and when browsing to the Logon Performance or Single Application tabs, you get error "Cannot retrieve the data. Data source is unresponsive or reported an error". It is advised that you contact Citrix Support to figure out which records in which Monitor Database table contain two dates with a gap larger than 596.5 hours. These records need removed manually to revoer the Director page. https://support.citrix.com/article/CTX222824
9 When viewing Session Details, latency shows as "...". You need to re-register the ICA and Windows performance counters. https://support.citrix.com/article/CTX207897
10 Director may show incorrect data when compared to Studio for statistics such as the number of active sessions. A hotfix is available. XenApp and XenDesktop 7.11. https://support.citrix.com/article/CTX223910

Federated Authentication Service:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 The Citrix FAS manual authorisation request does not reach the Certificate Authority server. WireShark traces show the FAS server throwing an error "nca_s_fault_access_denied". DCOM security settings for the Issuing Certificate Service had not been updated. You must manually run three commands to rectify. XenDesktop 7.9 to 7.15. https://support.citrix.com/article/CTX225236
2 An application launch results in a failure with error "Cannot Start App" after enabling FAS. On StoreFront Event ID 28 is logged and on the FAS server Event ID 123 is logged. Deauthorise the FAS service using the FAS configuration console and then authorise the FAS service again. This is recommended after a change to the Certificate Auhtority server that FAS is pointed towards. StoreFront 3.9 to 3.11. https://support.citrix.com/article/CTX224802

Licensing:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Communication fails when securing licensing communication between XenDesktop (DDC) 7.9 and the License Server using TLS v1.2 or TLS v1.1. This is a known bug and you must upgrade to XenDesktop 7.11+ and License Server 11.14+. XenDesktop 7.9. https://support.citrix.com/article/CTX222821
2 When running "lmstat -a" from CMD you are returned an error "Error getting status: Cannot find license file". Run command "lmstat -a -c PathToLicenseMyFilesDirectory" Citrix Licensing 11.9 to 11.12. https://support.citrix.com/article/CTX129745
3 When browsing to the Citrix Licensing Manager console a generic Firefox error appears. Perform a hard refresh (CTRL+F5). License Server 11.14 build 19005 and Firefox.

Machine Creation Services:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Machines provisioned by MCS are prompting for a restart on every boot. The machines had been configured with a VMware Paravirtualization SCSI controller type. Changing the SCSI Controller on the Master MCS Image to LSI Logic SAS fixes the issue. XenApp and XenDesktop 7.14. https://support.citrix.com/article/CTX226475
2 VDA machines may show as "Stuck on Boot" within Citrix Studio and appear under the "Registration Missing" tab in the Delivery Group's details tab even though they are registered and serving users. This issue affects VDAs hosted on Nutanix Acropolis and has been fixed in XenApp and XenDesktop 7.14.1. XenApp and XenDesktop 7.9 to 7.13. https://support.citrix.com/article/CTX225850
3 After updating an MCS Machine Catalog, new applications and/or updates are unavailable to the VDAs after they have been rebooted. The power state of each VDA also appears as "Unknown". Run a "Get-BrokerHypervisorConnection" and look for the Delivery Controller which reports "State: Unavailable". For the affected Delivery Controller, restart the Citrix Broker Service. https://support.citrix.com/article/CTX225293
4 When creating a Machine Catalog you receive error "XDDS:4A5116C7". Free up resources on the vSphere datastore associated with your hosting connection. If that does not work, remove the resource from Studio and add it back. Citrix XenDesktop 7.6. https://support.citrix.com/article/CTX201776
5 Machines do not register and policies do not apply after DST changes are implemented. This happens when the Kerberos handshake fails due to Group Policy client loading before the Windows Time service. Log on to the master MCS virtual machine, run "w32tm /resync /nowait" and then update the Machine Catalog. https://support.citrix.com/article/CTX218718
6 Machine creation via MCS failed with error "Error ID: XDDS:0DAA3833: An error occured while preparing an image". As a result of Microsoft Security Bulletin "MS16-065" changes have been made to .NET Framework which cause incompatibilities with some applications that are based on .NET. As a workaround, refer to the Microsoft documentation as linked in the CTX article. https://support.citrix.com/article/CTX221448
7 Virtual Machines created on XenServer by MCS in XenDesktop 7.12 report missing XenTools, XenDrivers and the network adapter on the VMs shows as a "Realtek" adapter instead of the Xen adapter. Upgrade to XenDesktop 7.14. If that is not possible, contact Citrix Support for a private fix. Citrix XenApp and XenDesktop 7.12. https://support.citrix.com/article/CTX220053
8 When using MCS I/O Optimisation for a catalog containing 32-bit VMs with a RAM cache greater than 256MB can cause the Operating System to stop. To prevent this, configure less RAM cache. This is also resolved in XenApp and XenDesktop 7.14.
9 Machines created via MCS and configured with a RAM Cache and HDD overflow disk will not boot and the machines freeze at the Windows logo. Change the "TargetCacheSize" DWORD value from "32" to "256" under "HKLM\System\CurrentControlSet\Services\CtxMcsWbc" on your master image and update the Machine Catalog. Citrix XenDesktop 7.12. https://support.citrix.com/article/CTX220740
10 When selecting a Master Image during Machine Catalog creation you receive error "You must select a disk image with at least one network card", This can happen if you have a VM imported from a previous version of XenServer into a higher version. Create a diskless VM but do not start it. Detach the disk associated to the problematic VM and attach it to the newly created diskless VM. Create a Machine Catalog using this VM as the template. https://support.citrix.com/article/CTX222490

NetScaler:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 In the Persistency Table, you can only see one backend server connection mapped to the source client however when running command "show ns connection table" you can see connections from the source client to multiple backend servers. Upgrade to 11.1.54.14. https://support.citrix.com/article/CTX227016
2 When more than one interface is in the same vLAN, you observe MAC moves and MAC conflicts between the NICs. Move the affected NICs in to different VLANs or else aggregate the interfaces in to a link aggregated channel. https://support.citrix.com/article/CTX224626
3 When editing a document through the local machine you receive error "Cannot open a file, incorrect syntax or file path". A WireShark trace shows that the client was sending a request to a server not configured on any of the Content Switching policies. Once the server was mapped to a Load Balanced Virtual Server the document was editable through the local machine. https://support.citrix.com/article/CTX226892
4 Content Switching Virtual Server sends traffic to the wrong Load Balancing Virtual Server, resulting in users receiving 404 HTTP responses. Enable "Drop Invalid HTTP Headers" on NetScaler. When the Content Switch receives HTTP invalid/corrupt header next packets from the same source IP the client may be redirected to an incorrect destination. https://support.citrix.com/article/CTX226724
5 When trying to add a new node to a cluster, you receive rrror "Invalid interface name/number". Make sure you are not using an incorrect backplane interface ID number. https://support.citrix.com/article/CTX220432
6 When connecting to RDP via NetScaler Clientless VPN bookmarks, the RDP window terminates with error "An internal error has occured" and the NetScaler resets the backend connection with reset code 9952. This is caused by a domain mismatch in the LDAP Profile. The SSO Name attribute should be set to "SamAccountName". https://support.citrix.com/article/CTX226709
7 In a High Availability setup, an unusually large spike in the number of persistent connections may result in under performance of the Secure Socket Funneling channel between the primary and secondary node. This under performance can eventually lead to session build up on the primary node and cause persistence to fail. Users are then sent to backend servers based on the Load Balancing method. This is a known issue and will be resolved from NetScaler versions 12.0.53.x, 11.1.56.x and 11.0.70.x. As a workaround you can enable Nagle's Algorithm and disable Window Scaling on the "nstcp_internal_apps" TCP profile. https://support.citrix.com/article/CTX226583
8 You are unable to bind multiple services to a Load Balancing Virtual Servr at the same time using the GUI. Upgrade to NetScaler version 11.1.53.x. NetScaler 11.1.51.x and 11.1.52.x. https://support.citrix.com/article/CTX226582
9 The NetScaler Gateway Plugin interrupts DHCP requests that should be sent through the physical interface. Instead these requests are sent through the VPN tunnel. This is a known issue. For Windows devices, the issue is fixed in 11.1 and 11.0.67.x. For MAC, a fix should be coming as part of the "High Sierra" MAC plugin update. https://support.citrix.com/article/CTX226379
10 Applications launched through NetScaler fail with no specific error. The loading dialog box appears and then dissapears. There is no issue with launches internally via StoreFront direct. NetScaler tried to resolve the VDAs FQDN over UDP and the DNS response is received with a truncated bit. NetScaler should initiate a DNS query over TCP for the same FQDN but does not. This issue is being worked on by Citrix. As a workaround you can either add the VDA FQDN as a DNS A record directly on NetScaler or else reduce the size of the DNS response so that it can be accomodated in 512 bytes. https://support.citrix.com/article/CTX226338

NetScaler Management and Analytics System:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 MAS is taking a system backup twice daily rather than once. Both backups are happening almost at the same time. This is a known issue. Upgrade to MAS 11.1.52.13. NetScaler MAS 11.1.51.21. https://support.citrix.com/article/CTX222435
2 HDX Insight no longer showing any data after upgrade of MAS to build 11.1.51.21. This is a known issue. Upgrade to MAS 11.1.53.11. NetScaler MAS 11.1.51.21. https://discussions.citrix.com/topic/383828-mas-111-5121-hdx-insight-not-working
3 Citrix Director does not show data from MAS under the Network tab, Upgrade to MAS 11.1.52.15. NetScaler MAS 11.1. https://support.citrix.com/article/CTX220694
4 NetScaler MAS does not display Load Balanced VIPs. This is due to user hitting "Enter" in the Load Balanced Virtual Server comments section. This creates "\n" characters which MAS does not like. These characters need to firstly be removed. https://support.citrix.com/article/CTX220700
5 The restore of an HA node on standalone NetScaler MAS appliance fails and hangs at step "Restoring NetScaler Management and Analytics System database". Fix is scheduled for MAS 11.1.52.15 build. There is a workaround which involves killing the "psql" process as documented in the CTX article. NetScaler MAS 11.1 to 12.0. https://support.citrix.com/article/CTX220968
6 Restore of NetScaler MAS to a previous backup may fail. You can stop the restore process by logging on to the MAS shell, deleting the resume restore file and rebooting the MAS appliance. NetScaler MAS 11.1 to 12.0. https://support.citrix.com/article/CTX220966
7 Geo Location database is not showing any data on maps in NetScaler MAS 11.1.49.16. Upgrade to MAS 11.1.50.16. NetScaler MAS 11.1.49.16. https://support.citrix.com/article/CTX219424
8 NetScaler MAS does not display any Insight data if the SNIP IP was used to add the NetScaler appliance. When adding NetScaler appliances, use the NSIP and not the SNIP address. https://support.citrix.com/article/CTX227228
9 When attempting to enable Insight on a Virtual Server, the Virtual Server does not appear in the list. If MAS is configured to manually manage Virtual Servers you'll have to navigate to "Networks -> Licenses -> System Licenses" and choose the Virtual Server you want to manage before you can enable Insight against it. https://support.citrix.com/article/CTX227349
10 After an upgrade to NetScaler 12 the state of an AppFlow Collector appears DOWN. From NetScaler 12.0.51.24 onwards, you can view the status of connectivity between the NetScaler SNIP address and AppFlow Collectors by browsing to "System -> AppFlow -> Collectors" or via CLI command "show appflow collector". The state will be down if there is a communication problem between the SNIP and AppFlow Collector. This does not affect AppFlow data exports to AppFlow Collectors, which is done via the NSIP. Citrix NetScaler 12.0.51.24. https://support.citrix.com/article/CTX227438

Profile Management:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 A bug in Profile Management 5.7 causes "userProfileManager.exe" to consume high memory. Disable Active Writeback for Registry or else upgrade to Profile Management 5.8 which contains the fix. Citrix Profile Management 5.7. https://support.citrix.com/article/CTX224992
2 The Start Menu can become unresponsive after several logons and logoffs on Windows Server 2016 RTM/Windows 10 RS1 when used with Profile Management. Upgrade to Windows 10 build 1703 (Creators Update/Redstone 2). Windows 10 and Server 2016 build 1607. https://support.citrix.com/article/CTX224495
3 Start Menu icons are not saving within the user profile. You must add directories and files to the "Directories to Synchronize" and "Files to Synchronize" policy settings.
4 When a hyperlink is clicked within Outlook users are asked "How do you want to open this type of link (http)?". You must configure on a reference machine Internet Explorer to be the default program for HTTP/HTTPS, export the default associations and apply them to all sessions via Group Policy. https://support.citrix.com/article/CTX220134
5 Occasionally with "Delete locally cached profiles on logoff" configured NTUSER.DAT cannot be deleted. This can occur when using Windows 10 Redstone or Windows Server 2016. Upgrade to Profile Management 5.7 which contains the fix. For workarounds, enable a delay before deleting the profile which may help to give whichever process is using NTUSER.DAT time to release any locks. Setting a value higher than 40 seconds is highly recommended. Alternatively you could disable the deletion of cached profiles on logoff if you did not need it. Citrix Profile Management 5.2. https://support.citrix.com/article/CTX216097
6 Users may experience profile corruption, slow logons or unexpected behaviour if using profiles from differing Windows versions as Roaming or UPM profiles. The use of profiles across different versions of OS is not supported by Microsoft and may cause undesirable behaviour. It is therefore recommended that profiles covering different Operating Systems are maintained separately and not used across versions. For example, machines running an OS that expect a v4 profile should not receive a v2 profile from Citrix Profile Management and so on. On the other hand Windows 7 profiles are compatible with Windows Server 2008 R2 just as Windows 8 profiles are compatible with Windws Server 2012 for example. https://support.citrix.com/article/CTX212877
7 File Type Associations fail to roam on Windows Server 2016 and Windows 10 using Citrix Profile Management. Upgrade to Profile Management 5.8. If you cannot upgrade yet, a workaround is to delete "Speech_OneCore=" from the UPM exclusion list (you are including it for synchronisation) and add "TileDataLayer" to the "Folders to mirror" policy setting. Citrix Profile Management 5.7. https://support.citrix.com/article/CTX222433

https://support.citrix.com/article/CTX221380
8 The default browser fails to roam on Windows 10 and Windows Server 2016 using Citrix Profile Management 5.7. Upgrade to Profile Management 5.8. Citrix Profile Management 5.7.
9 Citrix Profile Management (UserProfileManager.exe) may crash every 7 days on 32-bit Windows machines. Upgrade to UPM 7.15 or as a workaround disable CEIP or contact Citrix for a private fix. https://support.citrix.com/article/CTX224931
10 Ntuser.dat is not copied to the profile store after logging off a Windows 10 VDA. CUPM logs show "The process cannot access the file because it is being used by another process". Citrix have released a private fix for this issue which causes Profile Management to retry copying ntuser.dat back to the store if the file is in use the first time. Citrix Profile Management 5.8. https://support.citrix.com/article/CTX226731

Provisioning Services:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Target Devices become stuck at "virtual disk found" or "Starting Windows". This may be caused by software loading drivers into memory during NT-loading. As a workaround, a script has been included in the CTX article which checks for machines that have likely stuck and restarts them. https://support.citrix.com/article/CTX224259
2 On VMware image conversion fails and the machine becomes stuck at the Windows splash screen. This can be caused by the master Target Device having both a SATA and SCSI controller attached to it. The SATA controller is normally used for the CD/DVD drive in hardware versions 10 and 11. Change the SATA controller to an IDE controller or remove the CD/DVD component if not needed. Provisioning Services 7.12. https://support.citrix.com/article/CTX226954
3 PVS servers are showing as offline within the PVS console and the Event Log is showing Event ID 11 "Undefined Database Error". This is due to the SQL server being configured for TLS 1.2 which SQL native client version 11.0.2100.60 does not support. Install the latest version of the SQL native client on all PVS servers and then restart each server. Provisioning Services 7.11 to 7.12. https://support.citrix.com/article/CTX226526
4 Linux VDA Target Devices fall out of domain after automatic password change duration. Within the Linux vDisk properties, select "Enable Active Directory machne account password management". Provisioning Services 7.13 to 7.14. https://support.citrix.com/article/CTX226607
5 When using the XenDesktop Setup Wizard with System Center Virtual Machine Manager as your Hypervisor broker, you receive error "Error - Has no available templates defined that are fully accessible by all hosts". From the machine that you are converting in to a VM Template (the master template machine), edit the properties and under "Hardware Configuration" make sure there is a blank formatted cache disk attached. Set the "Guest OS profile" to "None" and make sure your storage names have no special characters. Citrix Provisioning Services 7.12. https://support.citrix.com/article/CTX221203
6 After upgrading to Provisioning Services 7.8 your Target Devices no longer boot and stick on the Windows boot screen. Try setting the Telemetry Service to Delayed Startup or Disabled. Otherwise make sure Group Policy is not set to delete profiles on the PVS Servers after a number of days. Citrix Provisioning Services 7.8. https://support.citrix.com/article/CTX215724
7 After running a batch of updates, the Write Cache is not filling up quickly. This could be due to Microsoft Updates not having properly installed before the image was promoted to production. Revert the image back and make sure update installs are complete, also run a defragmentation against the vDisk. https://support.citrix.com/article/CTX224523
8 Target Devices perform slowly when a copy and paste vDisk operation in on-going and the vDisk store resides on CIFS storage. It is a better practice to use DFS-R for vDisk replication on SMB3 storage. https://support.citrix.com/article/CTX226170
9 Target Device stuck at "Login to Provisioning Services disk services". If the vDisk is load balanced then change the settings to make it only available from one of the PVS Servers. Next reboot the VDA and test to see if it moves past the sticking point. Keep doing this for each PVS server to see which one is causing the issue. Once you have found the culprit, restart that server.
10 The vDisk auto-update schedule does not take effect or even reconfigure after rebooting the environment. Reconfigure auto-update from the PVS Server or else manually start the auto-update virtual machine. https://support.citrix.com/article/CTX205019

Receiver for Android:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 When launching any application you receive error "Cannot Connect: Error connecting to the session reliability server. Error tunneling through the proxy". This could be caused by firewall port blockage either internally or externally via NetScaler. It could also be down to STA servers either not configured on NetScaler or down. https://support.citrix.com/article/CTX225834
2 As you type into an application such as Word or Notepad, the virtual keyboard appears on screen. Eventually after several lines of text some of that text will begin to dissapear underneath the keyboard. Citrix are aware of this issue and a solution is under investigation. https://support.citrix.com/article/CTX223986
3 When adding an account to Receiver for Android that goes through NetScaler Gateway, a Receiver for Web logon page appears instead of showing a list of applications. Disable "Set the unified Receiver experience as the default for this store" within StoreFront. Citrix Receiver for Android 3.9.1. https://support.citrix.com/article/CTX216410
4 The keyboard does not automatically display and users have to manually select it to open. Check the "Automatic keyboard display" policy within Citrix Studio is set to "Allowed". https://support.citrix.com/article/CTX220263
5 The keyboard does not automatically display when clicking into an editable area of an application such as Word or Notepad. iOS works fine however Android does not behave the same. iOS operates differently due to underlying functionality and it is expected for Android Receiver versions to not automatically show the keyboard. https://support.citrix.com/article/CTX223781
6 Receiver for Android may ask for your password twice when logging on to NetScaler Gateway. This is a known issue. You should only be prompted for the password twice when setting up the account and not thereafter. Citrix Receiver for Android 3.11.
7 You receive the error message "The server certificate is not trusted" when connecting to NetScaler Gateway. Stricter certificate validation checks have been included in Receiver for Android 3.12 and above versions. You must make sure that NetScaler provides the complete certificate chain to clients and that none of the certificates in that chain have expired. Citrix Receiver for Android 3.12. https://support.citrix.com/article/CTX224709
8 When docking a Samsung S8+ with an existing ICA session to a DeX docking station, the session does not continue on the new display and instead returns error "Error connecting to the session reliability server" or "Error tunneling through the proxy". Upgrade to Receiver for Android 3.12.2. https://support.citrix.com/article/CTX227985

Receiver for HTML5:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 When launching a desktop or application using Firefox v54 or later you receive a black screen on launch. Disable "webgl" in Firefox or else disable "webgl" using the "configuration.js" file found on StoreFront. Firefox 54. https://support.citrix.com/article/CTX225989
2 Internet Explorer and FireFox can print to the Citrix PDF Printer find however Chrome v57 prints a blank document. Upgrade to Receiver for HTML5 2.4. Receiver for HTML5 2.4 and Chrome 57. https://support.citrix.com/article/CTX223510
3 Session connections are being dropped without any error. This is a known issue and is caused by the "Maximum allowed color depth" policy setting. For Windows Server 2008 R2 VDAs set this setting to "16 Bits Per Pixel" and for Windows Server 2012 R2/2016 set this setting to "32 Bits Per Pixel". https://support.citrix.com/article/CTX225643
4 Director shows IPs of 0.0.0.0 for Receiver for HTML5 connections. This is a known issue. https://discussions.citrix.com/topic/378033-director-cant-show-endpoint-ip/
5 Some keyboard combinations do not work through Receiver for HTML5. This is a known issue, avoid using these combinations. https://support.citrix.com/article/CTX224158
6 You can only start one instance of an application. Use Chrome or Firefox. This is currently a limitation with IE and Safari browsers. Internet Explorer and Safari. https://support.citrix.com/article/CTX223569

Receiver for iOS:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 When launching any application you receive error "Server error.; The server disconnected the session..". This could be caused by firewall port blockage either internally or externally via NetScaler. It could also be down to STA servers either not configured on NetScaler or down. https://support.citrix.com/article/CTX225834
2 As you type into an application such as Word or Notepad, the virtual keyboard appears on screen. Eventually after several lines of text some of that text will begin to dissapear underneath the keyboard. Citrix are aware of this issue and a solution is under investigation. https://support.citrix.com/article/CTX223986
3 The keyboard does not automatically display and users have to manually select it to open. Check the "Automatic keyboard display" policy within Citrix Studio is set to "Allowed". https://support.citrix.com/article/CTX220263
4 When logging on to NetScaler Gateway through Receiver for iOS you receive error "The Gateway has Epa Enabled, which is not supported on iOS devices". Disable PNAgent Legacy Mode on the relevant StoreFront store by unchecking "Enable XenApp Services support". https://support.citrix.com/article/CTX218712
5 When your password has expired and you change it through NetScaler Gateway, you receive error "Incorrect Credentials". Ignore the error message as the password has been changed. This is a known issue and current limitation in Receiver for iOS 6.1.1. Receiver for iOS 6.1.1. https://support.citrix.com/article/CTX202427
6 You receive the error message "You have chosen not to trust ..., the issuer of the server's security certificate" when connecting to NetScaler Gateway. Stricter certificate validation checks have been included in Receiver for iOS 7.2.2 and above versions. You must make sure that NetScaler provides the complete certificate chain to clients and that none of the certificates in that chain have expired. Citrix Receiver for iOS 7.2.2. https://support.citrix.com/article/CTX223949
7 When using Receiver for iOS 7.3 or earlier on iOS 11, when authenticating to NetScaler or StoreFront with a Smart Card you receive error “Your smart card does not have a valid certificate”. Users running iOS 9 and 10 do not experience the same. There is no workaround as yet. Citrix recommend you do not upgrade yet to iOS 11 if you use Smart Cards for authentication. iOS 11. https://support.citrix.com/article/CTX227952
8 Smart Card users running Receiver for iOS 7.2.3 are unable to connect to VDA 7.13 applications and receive error “The operation couldn’t be completed (HdxSdkErrorDomain_Sessionerror 8)”. Enable “Enhanced Desktop Experience” via Citrix policies. https://support.citrix.com/article/CTX227966

Receiver for Linux:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 When using two monitors, the desktops spans the middle of the two monitors and the left and right sides of the screen are black or blank. Up to 8 graphics drivers are installed along with the VDA to handle up to 8 monitors. When a new session is created one of these drivers is selected at random and used for each monitor. This issue can be caused by a VMware graphics driver present which is being randomly selected to be used for one monitor in the session. This driver has limitations on the resolutions that can be used. You will have to remove this driver from the VDA. https://support.citrix.com/article/CTX218627
2 Keyboard no longer working. This is a known issue and if you are experiencing the same, Citrix have a private fix. Citrix Receiver for Linux 13.5. https://support.citrix.com/article/CTX224029
3 When using HDX 3D Pro, a black box may appear around some custom cursors. This is a known issue and 32-bit cursors are being investigated as part of the product road maps for Citrix Receiver for Mac. Cursors that employ shadow effects for example are classed as 32-bit cursors and not currently supported by Receiver for Mac. https://support.citrix.com/article/CTX223626

Receiver for Mac:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Bloomberg keyboard and finger print scanner not redirecting to Citrix session. Redirection of this device is not fully supported but there is a method to follow that can be tried to get it working, as explained in the CTX article. https://support.citrix.com/article/CTX227075
2 Windows Mac users connect to NetScale full VPN, they cannot reach external websites. Split DNS is not working. This is by design. The Mac VPN client does not support split DNS so all DNS requests are sent to NetScaler for resolution. If NetScaler cannot resolve the domain name then users will get an invalid response. This issue will be fixed under an existing enhancement request. https://support.citrix.com/article/CTX225297
3 When using HDX 3D Pro, a black box may appear around some custom cursors. This is a known issue and 32-bit cursors are being investigated as part of the product road maps for Citrix Receiver for Mac. Cursors that employ shadow effects for example are classed as 32-bit cursors and not currently supported by Receiver for Mac. https://support.citrix.com/article/CTX223626
4 If using a proxy connection, communication over EDT fails. This is a known issue. Receiver for Mac 12.5.
5 You receive an "Initialization failed" error. This is caused by an upgrade to macOS Sierra. Upgrade to Receiver for Mac 12.3 which is compatible with this OS.
6 Delivering a proxy.pac file to clients via NetScaler Session Policies works for Windows devices but now Mac. At the moment, only Windows devices are supported. Proxy PAC support for MacOS is currently being worked on. https://support.citrix.com/article/CTX227262

Receiver for Windows:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Resources with names ending with the published desktop name do not show up in Receiver. This is by design. Avoid using a suffix of the currently published desktop name. https://support.citrix.com/article/CTX227113
2 When running Receiver with non-elevated permissions, you are unable to launch desktops or applications. Make sure you have full permissions to "HKCU\SOFTWARE\Citrix". If the user account does not, delete the Citrix key and then restart Receiver. The key should be recreated with the appropriate permissions. https://support.citrix.com/article/CTX226530
3 Upon launching a published desktop you receive error "The specified module could not be found". From a trace "AxWfIcaLib.dll" was missing. .NET 4.6.2 was reinstalled and the user's profile was recreated. Citrix Receiver for Windows 4.8. https://support.citrix.com/article/CTX226437
4 On first logon SelfService.exe crashes with message "Self-Service Plug-in exited unexpectedly". On second logon, it works. The desktop folder is missing from the default user's profile. Once added, Self Service works. https://support.citrix.com/article/CTX215296
5 The authentication window shows periodically even when Receiver is not opened. Create registry strings to suppress Self Service refresh. https://support.citrix.com/article/CTX213755
6 The Shift + F4 hotkey sequency may not function as expected after installing Receiver for Windows 4.7. Receiver for Windows 4.7 adds functionality for IME which is configured by default to use the Shift + F4 hotkey. You must change your custom hotkey to a different combination by editing the client machine registry. Citrix Receiver for Windows 4.7. https://support.citrix.com/article/CTX223049
7 When using a Surface Pro and attempting to span a Remote PC session, the Surface Pro screen looks OK but the second monitor has issues such as the resolution being wrong and black bars appearing along the top and sides of screen. Receiver for Windows is not a DPI aware application so depends on the Windows OS to scale the application as appropriate to the client's DPI settings. Set DPI scaling to 100% on both monitors and on the Surface Pro. https://support.citrix.com/article/CTX216648
8 Receiver might fail to perform the scan function with error message "Your operation is cancelled". Upgrade to Receiver for Windows 4.7. Citrix Receiver for Windows 4.5 and 4.6. https://support.citrix.com/article/CTX222885
9 wfica32.exe crashes when launching certain resources. wfica32.exe crashes with a divide by-zero exception when the cursor position is set in the Desktop Viewer window. To overcome this, delete keys under HKCU\Software\Citrix\XenDesktop\DesktopViewer.
10 When users double-hop, wfica32.exe consumes a high amount of CPU. Create a SlowHPCPolling registry key with a value between 2-500ms. It is required that you test the value in your environment to determine which value works best. It is recommended to start with 16ms but if you notice performance issues then you can increase or decrease the value. By default Receiver for Windows polls certain libraries and drivers every 2ms, which will ultimately consume more CPU on the VDA. https://support.citrix.com/article/CTX206788

SCOM Management Pack:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 SCOM Management Pack for StoreFront causes high memory usage and may spawn many cscript.exe and conhost.exe processes on Windows Server 2008 R2. Install patch on Windows Server 2008 R2 to update nsi.sys which prevents memory leak. Windows Server 2008 R2. https://support.citrix.com/article/CTX225624
2 Citrix Director cannot retrieve any of the latest SCOM alerts and presents you with error "Cannot get latest SCOM alerts". In "web.config" under "C:\inetpub\wwwroot\Director\" change the value of "Connector.SCOM.Identity" to "User". https://support.citrix.com/article/CTX224776
3 You may receive a "StoreFront Store Service Probe Failed" SCOM alert. This could be caused by a number of things as explained in the CTX article. https://support.citrix.com/article/CTX222920
4 StoreFront upgrade fails if the SCOM Management Pack Agent Service is running. Disable this service before installing StoreFront. If you are running StoreFront 3.11 or higher, you do not need to stop this service. Citrix StoreFront 3.9. https://support.citrix.com/article/CTX220935
5 The "Check Requirements and Configuration" task failes with "Unable to load DLL 'VDHelpder.dll'" after deploying SCOM to your Delivery Controllers. Install Visual C++ x64 Redistributable for Visual Studio 2013. https://support.citrix.com/article/CTX227372
6 The SCOM management pack reports a critical alert for "Citrix MPXAXD Agent Not operational". Make sure your Citrix License Server runs at a version supported by the SCOM Management Pack. Also make sure each Delivery Controller has .NET 4.5.2+ and Visual C++ 2013 installed. https://support.citrix.com/article/CTX227710
7 SCOM Management Pack install fails with error "Management Server not found" while using install parameter "Override" for "AgentInstallationSource". This issue will be addressed in a future SCOM MP release. As a workaround, do not use the "Override" parameter for "AgentInstallationSource" or instlal the Management Pack agents manually on the SCOM Agent servers. https://support.citrix.com/article/CTX227853

ShareFile:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 A blank white screen is displayed when logging on to ShareFile through NetScaler. Add a forward slash "/" to the end of the URL in the "Web Interface Address" dialog box. https://support.citrix.com/article/CTX207511
2 The "Unzip after uploading" or "Always unzip" checkbox is no longer available when uploading files to your ShareFile account. The Citrix ShareFile team are revieing this feature and it's use-case for future product enhancement and functionality improvements.
3 When sharing a link from the ShareFile 10.6 mobile app, you receive options to either use "Secure Mail" or "Native Mail". Upon selecting Native Mail the ShareFile app redirects you to "Secure Mail". Change the MDX policy Mail Redirection setting to "Native Mail". https://support.citrix.com/article/CTX227378

Skype for Business:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 When using the HDX RealTime Optimization Pack with Philips SpeechMike, you encounter unexpected behaviour such as the SpeechMike freezing, becoming unavailable or exhibiting unwanted behaviour. This was caused by RTOP querying an unsupported string descriptor and the Philips firmware not handling the request adequately. Upgrade to RTOP 2.3 and Philips SpeechMike firmware version 3.8.380+. https://support.citrix.com/article/CTX226621
2 Unable to answer Skype for Business calls by using buttons on the headset or base on a Plantronics Savi headset. Plantronics Savi requires usage of a wake-up message which was not implemented before. A bug fix "LC7873" is available from Citrix support. Otherwise this issue has been resolved in RealTime Optimization Pack 2.3. https://support.citrix.com/article/CTX226081
3 Moving the volume slider up or down within the Skype for Business options interface does not change the call volume. Using the Skype for Business options menu to adjust volume only affects future calls and will not change the volume of calls that are in-progress. To overcome this, you can use the volume option available in your meeting window. https://support.citrix.com/article/CTX225772
4 You cannot control the volume of a Skype call using the published desktop volume adjustment controls. When Skype for Business is in optimised mode, the call is running from the endpoint. Use your headset controls or client device to adjust the volume. Citrix is looking to resolve this in future releases. https://support.citrix.com/article/CTX225223
5 Users hear an echo under certain scenarios when making a Skype for Business call with HDX Optimization Pack 2.1 or 2.2. This is a known limitation of the product and whilst the RealTime Optimization Pack contains some functionality for echo cancellation this feature is being constantly improved. Skype for Business RealTime Optimization Pack 2.1 and 2.2. https://support.citrix.com/article/CTX221402

StoreFront & Receiver for Web:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Workspace Control reconnects to only one application session instead of all the disconnected sessions. This issue currently exists when using Chrome to access Receiver for Web. You must manually click on each disconnected application. Citrix StoreFront 3.12.
2 An Active Directory account which is locked out can still access StoreFront if the site is setup using Web API/SDK. If the user tries to access StoreFront 30 minutes after the account is locked out, they are unable to log on. This happens because StoreFront caches user tokens in order to reduce the amount of requests sent to Active Directory. Try adding a "UserTokenTTL" DWORD to StoreFront with a value of "1" and restart IIS. https://support.citrix.com/article/CTX208901
3 You receive error "Cannot complete your request from external Access Gateway" and Event ID 7 is logged on StoreFront with error "The authentication protocols could not be enumerated". This is a known issue in StoreFront 2.1, restart the "Credential Wallet" service. Citrix StoreFront 2.1. https://support.citrix.com/article/CTX220096
4 During a StoreFront upgrade manual changes to the default.ica file are lost. This is expected as when StoreFront is upgraded files get deleted and recreated. You need to manually take a backup of any modified files before upgrading. https://support.citrix.com/article/CTX226419
5 The Desktop Viewer Toolbar is not available when launching virtual desktops using Receiver 3.1 and StoreFront Services 1.0. The Desktop Viewer Toolbar is not enabled by default in a StoreFront Services store. Open web.config on StoreFront and set 'showDesktopViewer="True"'. In newer versions of StoreFront this can be done via the StoreFront GUI. https://support.citrix.com/article/CTX131863
6 Favorites applications and desktops do not appear occasionally. Certificates missing from the Digital Signatures store caused several issues such as favorites not appearing occasionally. https://support.citrix.com/article/CTX226277
7 The change password option is shown for administrators but not for normal domain users. Active Directory is locked down, which is the problem. You need to configure permissions in Active Directory as explained in the CTX article. https://support.citrix.com/article/CTX225873
8 Attempting to launch an application returns erorr "Cannot start app". StoreFront reports "An SSL hostname is required but non was supplied". If you require internal SSL, make sure Delivery Controllers are configured correctly. If SSL is not required, make sure within "Manage Delivery Controllers" that your controllers are not set to HTTPS. https://support.citrix.com/article/CTX225849
9 Within the StoreFront console you receive error "An error occured during the compilation of a resource required to service this request" and "System.Drawing.dll could not be opened". A few folders and files may be missing from the wwwroot folder on StoreFront. Cope the missing items from a working StoreFront server including the "System.Drawing.dll" file and then run an iisreset. https://support.citrix.com/article/CTX220273
10 When upgrading StoreFront from 3.5 to 3.6 you receive error "An error occurred creating the snapshot" and "The system cannot find the file specified". Open "Citrix.DeliveryServices.ProtocolTransition.ServiceHost.exe.config" on your StoreFront server and change the version from "3.0.0.0" to "3.5.0.0". Citrix StoreFront 3.5. https://support.citrix.com/article/CTX223608

System Center Configuration Manager:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 You are unable to integrate Citrix Connector 3.1 with SCCM 2012 R2 and receive error message "Unable to connect to the SMS provider on port 5985". SCCM logs show "The Kerberos client received a KRB_AP_ERR_MODIFIED" error. Wrong/Corrupt SPN for the SCCM server in Active Directory which needs updating. https://support.citrix.com/article/CTX223898

Universal Print Driver & Server, General Printing:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Using V4 native printer drivers (new to Windows 8/Server 2012 R2) is not supported by Citrix. You will experience printers failing to roam and get "Operation not permitted" or other errors when trying to print or access the print queue properties. Install V3 drivers on both the VDA and client or print server, or else use the Citrix Universal Print Driver on the VDA and V4 drivers on client or print server. https://support.citrix.com/article/CTX223749
2 Auto Client Printer Redirection fails even with the correct print drivers loaded and policies in place. The "Citrix Print Manager Service" log on account is set to "Network Service" which does not have permission to the printing virtual channel. Change the "Citrix Print Manager Service" log on account to Local System. https://support.citrix.com/article/CTX219663
3 Client printers on Mac and Linux clients fail to redirect to XenApp or XenDesktop sessions running on Windows 10, Windows Server 2012 R2 or Windows Server 2016 when configured to use the Citrix Universal Print Driver. To support Mac and Linux clients, the VDA makes use of an HP driver that was included in Windows 7 and Server 2008 R2 but no longer included in Windows 10, Server 2012 R2 or Server 2016. On each VDA, install the "HP Color LaserJet 2800 Series PS" driver manually. https://support.citrix.com/article/CTX140208
4 Users see printers from other user sessions. Check the value of the "DefaultPrnFlags" registry key. A value of "4000" equals to only local administrators being able to see auto-created printers. In this case, make sure your users are now local administrators of the VDA. https://support.citrix.com/article/CTX119684
5 It can take up to 6 minutes to enumerate printers within a session. It takes approximately 30 seconds to a minute for a printer to fail to map. Every printer the user does not have access to or that is offline/no longer on print server will add delay to enumerating all printers. You need to make sure either that the printers are online, or that users have access to the printers they need. https://support.citrix.com/article/CTX213548
6 The Universal Print Server (Upserver) component that ships with XenApp and XenDesktop 7.14 is no longer supported on Windows Server 2008 32-bit.
7 Session printers do not delete as appropriate as users roam between devices and sessions. For example, session printer "Printer_A" is assigned to "Client_A" and session printer "Session_B" is assigned to "Client_B" but when connected to Client A and then Client B you see both printers. This issue is reproducable with non-UPS printers on Server VDA 7.9 to VDA 7.15. Apply fix "LC8077". Windows Server VDA 7.9 to 7.15. https://support.citrix.com/article/CTX226539
8 When changing the policy setting "Print driver mapping and compatibility" your changes are not saved. As a workaround use the Citrix Group Policy PowerShell provider to edit this policy setting using "Add-PSSnapin Citrix.Common.GroupPolicy". https://support.citrix.com/article/CTX226589
9 Printer error code 41 is displayed on XenApp 7.6. Upgrade the VDA to 7.6.3, uninstall the existing Citrix Universal PDF Printer and then install the compatible 7.6.2.9 Citrix Universal PDF Printer. Citrix XenApp 7.6. https://support.citrix.com/article/CTX212952
10 The default printer is not retained in future Citrix sessions. Stop the Citrix Profile Management service and see if it still happens. Make sure registry key "Software\Microsoft\Windows\CurrentVersion\Windows" is included in Citrix profile synchronisation as this is where printers are saved. https://support.citrix.com/article/CTX220323

VMware ESX:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 After upgrading VMware ESX to 6.0, you get message "VMware Tools: Out of Date" on the VPX virtual machine. This is because VPX uses a customised version of the VM Tools package which is not upgraded during an ESX upgrade. This will not affect the functionality of the VPX. To use the latest customised VM Tools, upgrade to any released build after 11.0.65.x or any 11.1 builds. https://support.citrix.com/article/CTX224604

Windows 10:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 A green popup window appears briefly prompting to press "Win + G" for the game bar or search bar when launching published applications or desktops from a Windows 10 client. Create a DWORD with name "AllowGameDVR" and value of "0" within "HKLM\Software\Policies\Microsoft\Windows". https://support.citrix.com/article/CTX226423
2 When logged on to a Windows 10 desktop, the disconnect option is not available. Instead an empty box appears. Citrix and Microsoft have to work together to develop a fix for this issue. As part of the Windows 10 design, the Start Menu will only contain the disconnect option when the OS detects the desktop is being accessed via RDP. Citrix (ICA) connections use a different approach and remote sessions are established as "console" sessions in order to better support some of the HDX features and provide a user experience that is as close to using a physical machine as possible. As a workaround use the disconnect button on Citrix Receiver for Windows desktop viewer toolbar or create a shortcut on the Windows 10 Start Menu to "TSDiscon.exe". https://support.citrix.com/article/CTX225970
3 Using Citrix Profile Management 5.8 or previous with Windows 10 Redstone 1 (Anniversary Update) can cause the Start Menu to become unresponsive after several logons and logoffs. This has been fixed in Windows 10 Redstone 2 (Creators Update). https://support.citrix.com/article/CTX224495
4 The lock screen background image does not appear when Receiver for Windows is installed on some Windows 10 builds. Install KB4022723 to fix as found by Helge Klein. https://support.citrix.com/article/CTX223741
5 Small mouse cursor when using Windows 10 Creators Update with Receiver for Windows 4.6 and 4.7. There seems to be no definitive fix as yet. (1st Sep.2017). Windows 10 Creators Update. https://discussions.citrix.com/topic/386421-strange-behavior-in-citrix-receiver-on-win10-creators-update/
6 File Type Associations fail to roam on Windows 10 using Citrix Profile Management. Upgrade to Profile Management 5.8. If you cannot upgrade yet, a workaround is to delete "Speech_OneCore=" from the UPM exclusion list (you are including it for synchronisation) and add "TileDataLayer" to the "Folders to mirror" policy setting. Citrix Profile Management 5.7. https://support.citrix.com/article/CTX222433

https://support.citrix.com/article/CTX221380
7 Upgrading a Windows 10 v1511 VDA to v1607 fails with VDA 7.14.1 or 7.15 LTSR installed. Before upgrading, uninstall the VDA and then reinstall after ugrade is complete. This is the supported to upgrade. https://support.citrix.com/article/CTX227856
8 When connecting to a Windows 10 v1511 VDA that has just been upgraded from 7.11 to 7.13, you receive a grey screen. This issue is specific to Windows 10 v1511. At times during a 7.11 VDA upgrade to 7.13, "ctxuvi.sys" does not get updates. If you manually replace the file with the correct 7.13, the issue is resolved. Windows 10 1511. https://support.citrix.com/article/CTX227855

Windows Server 2016:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Microsoft Office 2016 fails to register on Windows Server 2016. Add "sppsvc.exe" to "UviProcessExcludes" string in registry. If the string value is not present, create it. The location to create is "HKLM\SYSTEM\CurrentControlSet\Services\CtxUvi". https://discussions.citrix.com/topic/381117-microsoft-office-cant-find-your-license-for-this-application/
2 Using Citrix Profile Management 5.8 or previous with Windows Server 2016 Anniversary Update can cause the Start Menu to become unresponsive after several logons and logoffs. This has been fixed in Windows 10 Creators Update but there is no mention of a fix for Windows Server 2016. https://support.citrix.com/article/CTX224495
3 Desktop icons flickering on Windows Server 2016 running under XenApp or XenDesktop 7.12/7.13. As a workaround create registry key "{031E4825-7B94-4dc3-B131-E946B44C8DD5}" under "HKCU\Software\Classes\CLSID". Windows Server 2016 and XenApp/XenDesktop 7.12/7.13. https://discussions.citrix.com/topic/386286-xenapp-71213-server-2016-desktop-icons-flickering/
4 Applications on a second monitor are cropped when maximised. The VDA runs Windows Server 2016 and XenDesktop 7.13+ with Receiver for Windows 4.7 or 4.8 being used to access the published application. This will be fixed in XenApp and XenDesktop 7.15. Alternatively a private fix "LC7854" is available from Citrix support. Windows Server 2016 and XenApp/XenDesktop 7.13/7.14. https://discussions.citrix.com/topic/387975-app-on-second-monitor-cropped-when-maximized
5 Parts of the screen is blacked out on published applications or desktops launched from a Server 2016 VDA. This is a known issue and is currently being investigated. https://support.citrix.com/article/CTX227038

Workspace Environment Management:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 WEM 4.3 Infrastructure Service crashes intermittently. There is a private hotfix, contact Citrix support. Citrix Workspace Environment Management 4.3.
2 Some security related settings such as hiding the run box may not be applied and the WEM Agent throws "exception denied" errors. There are a couple of things to check such as making sure the VuemLocalUser account is not denied the right to log on locally and that the "Process Environmental Setting" options is checked. More steps are outlined in the CTX article. https://support.citrix.com/article/CTX219088
3 Event Log reports "Error while changing IO priority to high for process" for processes related to anti-virus. Antivirus software generally protects their related processes from adjustment by other processes in the operating system. Workspace Environment Management 4.1 contains updated code to identify when an anti-virus program prevents adjustment of a process priority so that the error is not logged in Event Viewer. Previous versions of WEM also correctly identified this behaviour but logged the event as an error. https://support.citrix.com/article/CTX219492
4 The WEM SQL error log file grows to an abnormally large size. The log file is flooded with entries such as "Closed due to following error" and "Remote service has been dropped". Check you have installed the relevant SQL hotfix as described in the CTX article. https://support.citrix.com/article/CTX219087
5 The SQL database grows to over 20GB. This can be caused by lack of purging/backing up of the SQL Transactions Logs, so they continue to grow. https://support.citrix.com/article/CTX228057
6 Transformer does not auto-launch after user logon. Make sure "Launch Agent at Reconnect" is applied within WEM under "Advanced Settings -> Main Configuration". https://support.citrix.com/article/CTX228058
7 Links in "This PC" still point to local folders rather than the redirected folders that WEM is set to configure. Upgrade to WEM 4.4. Citrix Workspace Environment Management 4.3. https://support.citrix.com/article/CTX228060

XenApp & XenDesktop (excluding Machine Creation Services):


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 Windows Media Player throws an error "An error occured while playing the file" when attempting to play mp4 videos. A new registry DWORD needs to be created within "HKLM\Software\Citrix\HDXMediaStream" for 32-bit machines and "HKLM\Software\Wow6432Node\Citrix\HdxMediaStream" for 64-bit machines. The DWORD name is "UseDefaultRenderers" with a value of "0x1". Citrix XenDesktop 7.6 to 7.13. https://support.citrix.com/article/CTX227223
2 USB redirection is not working for signature pad. Manufacturers of signature pads may provide additional client and/or server components that need to be loaded in order for signature pad operations to succeed in ICA sessions. For example ePAD provides drivers for the client and server and an ePadLink utility for testing functionality on both the client and VDA. These components may also enable the redirection of signature pads into the VDA session. https://support.citrix.com/article/CTX212103
3 XenApp 7.6 VMs randomly become unresponsive. A deadlock situation between 2 threads causes this issue. Upgrade the VDA to version 7.8 which contains fix "LC4195". Citrix XenApp 7.6. https://support.citrix.com/article/CTX208386
4 Citrix Studio reports "The security timestamp is invalid" when browsing Machine Catalogs or Delivery Groups. Resync the clock of each Delivery Controller in the farm using command "w32tm /resync". The default maximum acceptable different in time between a client computer clock and the Domain Controller clock is 5 minutes. https://support.citrix.com/article/CTX223992
5 VDA failed to uninstall or upgrade because profilemgt_x64.msi failed to uninstall. The error reported is "Installation of MSI File 'profilemgt_x64.msi' failed with code 'InstallFailure' (1603)". This is to be resolved by Citrix. In the meantime, you should as a workaround follow the three steps contained in the CTX article. Citrix XenDesktop 7.6 or 7.6 LTSR. https://support.citrix.com/article/CTX226859
6 VDA blue screens randomly and all changes on standalone VDA are lost after reboot. Attach the VDA VHD to another computer, open the System hive, make registry changes noted in CTX article and then detach the VHD. Citrix XenApp 7.11. https://support.citrix.com/article/CTX222825
7 You receive error "Could not connect to Orchestration Service" after upgrade to XenDesktop 7.15. During the Site upgrade the "OrchDBConnection" and "TrustDBConnection" schema was not created. You must run the failed commands manually to create the Orchestration database connections. Citrix XenDesktop 7.15. https://support.citrix.com/article/CTX226882
8 Schannel Event IDs 36888 and 36874 are reported on VDAs. These errors appear due to the client and server being unable to communicate correctly, which may be caused by certificate or cipher suite issues. Citrix report that it is safe to ignore these errors. https://support.citrix.com/article/CTX226770
9 A "1030" error occurs when connecting to a Remote PC connection. Turn off the proxy in Internet Explorer or set "ProxyType" to "None" in default.ica. McAfee Web Gateway was configured as a proxy on the client. This was blocking the ICA connection request from reaching the VDA. This issue could be caused by other proxies too. https://support.citrix.com/article/CTX226744
10 When connecting to a published desktop from Mozilla Firefox you receive "The connection to ... failed with status (Unknown client error 0)" or "Unable to launch your application. Contact your help desk with the following information: Cannot connect to the Citrix XenApp Server. The Citrix SSL server you have selected is not accepting connections". Download Firefox 53.067 64-bit. It seems that the 32-bit version of Firefox 52.0.2 is not working and causing these errors. Citrix XenDesktop 7.12. https://support.citrix.com/article/CTX222961

XenMobile:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 When opening PDF links through Secure Web Adobe does not appear as an "Open-in" option. The PDF is actually embedded in HTML, which is why Adobe is not given as an option. https://support.citrix.com/article/CTX227373
2 If a users device is deleted from XenMobile Server, you are unable to enroll the iOS/Android device again. Perform a migration from XDM 9 to XMS 10.x using the latest XenMobile migration tool. https://support.citrix.com/article/CTX227359
3 When users try to enrol or download apps they receive error "Cannot complete request" in Secure Hub. Upgrade to XenMobile Server 10.5 Rolling Patch 2. https://support.citrix.com/article/CTX227312
4 Emails are received in Secure Mail on Android 7 but notifications do not show on the screen. In Secure Mail check the "Check frequency" setting. The preferred value is "Auto". Next check notifications are switched on for Secure Mail by navigating to "Settings -> Notifications". Also check to make sure power saving mode is not switched on, which may prevent notifications from showing. This behaviour in power saving mode can be modified to show notifications for Secure Mail. https://support.citrix.com/article/CTX227296
5 Policies and applications do not push to iOS devices from XenMobile 10.5 configured with a proxy server. APNS traffic does not work with Auth and can be configured without authentication as HTTP or SOCKS. https://support.citrix.com/article/CTX227187
6 You cannot bind secure LDAP on XenMobile. If you have more than one Domain Controller, install each certificate on XenMobile Server. Also enter the Domain Controller's FQDN in the primary and secondary server fields in LDAP configuration on XMS. Citrix XenMobile 10.6. https://support.citrix.com/article/CTX227209
7 Windows phone partially enrols on XenMobile. The device is listed as managed on the XenMobile console but all the properties for the device are not listed. Make sure the XenMobile Server certificate has not expired. If it has, renew it. https://support.citrix.com/article/CTX210483
8 Secure Mail prompts for a pin such as when the application sleeps or wakes. This is due to iOS intervention. As iOS puts applications such as Secure Mail to sleep such as when the battery is low. This can also cause notifications to not be delivered until the user brings Secure Mail to the foreground by explicitly opening it. https://support.citrix.com/article/CTX224215
9 "Incorrect credentials" error received when trying to enrol a device even though the credentials are correct. Test on other users to see if this is specific to certain accounts. On the affected accounts, within Active Directory, check the samAccountName/UPN is correct. https://support.citrix.com/article/CTX214077
10 Un-enrolled devices still show as managed. This is expected behaviour. When a device is un-enrolled client side, the device will remain as managed on XenMobile Server due to the device no longer communicating with XMS. This is not a concern because the secured data that was on the device will no longer be accessible. In a future release, there may be a change to XenMobile that prevent un-enrolling until the device has connectivity to XMS. https://support.citrix.com/article/CTX227005

XenServer:


wdt_ID Brief Description of Issue Brief Description of Fix Applicable Product Versions Affected (if known) Link to supplemental Support Article(s)
1 A XenServer 6.2 to 7.1 upgrade fails with "[Errno 28] No space left on device:'/tmp/backup-rORnXu/.xen-backup-partition'". Find the folders with high inode usage, check which folders have a high number of files e.g. temporary files, and then delete the files from each folder. https://support.citrix.com/article/CTX227290
2 When attempting to install XenTools you receive error "Your Tools ISO is on a broken SR, XenServer will attempt to fix it before proceeding. Do you wish to continue?". Within "xensource.log" is error "Storage_interface.Sr_not_attached". Search for stale/duplicate XenServer Tools Storage Repository by running command "xe sr-list name-label="XenServer Tools". If there are multiple entries, find each one with state "currently-attached (RO): false" and forget them. https://support.citrix.com/article/CTX220219
3 XenServer time is incorrect after changing the BIOS time. Make sure all XenServer hosts in the pool have identical NTP servrs specified. You may have to manually restart the "ntpd" service and then run a manual sync as explained in the CTX article. https://support.citrix.com/article/CTX226572
4 Virtual Machine cannot start with error "VDI is being used by another operation". Look for instances where the VBD is attached to other VMs as described in the CTX article. https://support.citrix.com/article/CTX214407
5 On some high resolution monitors, the XenServer console does not display. Use an alternative monitor or connect remotely via SSH for example and edit the grub config file to edit the VGA section, as outlined in the CTX article. https://support.citrix.com/article/CTX226191
6 You receive error "Internal error: Connection failed: no host resolved" when adding a new server to the pool. Reconnect XenCenter with the IP address of the pool master and then try again. https://support.citrix.com/article/CTX224728
7 Applying a patch through XenCenter results in error "invalid_file". Trying to patch via CLI hangs. This is caused by no SR being elected as the default SR. Right-click on an SR and set it as default. Citrix XenServer 7.1. https://support.citrix.com/article/CTX224142
8 After upgrading an HPSA driver XenServer can no longer boot. You see error "Kernel panic" on the XenServer console. Before upgrading the HPSA driver, add options "hpsa hpsa_allow_any=1" to "/etc/modprob.conf". https://support.citrix.com/article/CTX223518
9 When importing a VHD into XenCenter you receive error "No local storage and no default storage: cannot import Transfer VM" on the XenServer console. Set a default SR for the pool in XenServer and then reinstall the Transfer VM using the steps provided in CTX article. https://support.citrix.com/article/CTX215142
10 The Management Interface shows blank in the Nteworking tab on XenCenter and the pool Management Network bond shows as "unknown" after adding a host to the pool. Find and forget all NICs that are disconnected on both the master host and the host you just added. Citrix XenServer 7.1. https://support.citrix.com/article/CTX223314

Microsoft Authentication Mechanism Assurance with Citrix Federated Authentication Service

$
0
0

I’ve been meaning to write up about this for a while now ever since creating the original Citrix FAS and SAML related blog posts upon the release of StoreFront 3.9.

One of the Microsoft Active Directory features that can be used to extend the functionality of Citrix Federated Authentication Service is a feature called Authentication Mechanism Assurance.

Using this feature, we can control access to the likes of files, folders and other security controlled objects based on if our logging on users have authenticated with a certificate or not. Since FAS issues certificates to our users and presents those to the VDA, there is very little extra work needed to make use of this.

Think of the scenario which we will follow in this post. We have file shares that should only be accessed by users who have authenticated with a Smart Card. If a user does not have a Smart Card, they use username and password as normal, but they shouldn’t be granted access to the confidential file shares.

Before you begin, you need to deploy Citrix FAS and ADFS. To do that, see http://www.jgspiers.com/adfs-authentication-direct-to-storefront-3-9-using-saml-and-citrix-federated-authentication-service/

Note: This solution uses ADFS. As users browse to StoreFront they are redirected to ADFS for authentication. Once they provide credentials SAML is used to send an assertion to StoreFront which will in turn generate a certificate to our authenticating user which is used to authenticate with the VDA when an application and/or desktop is launched.

Note: In this example I am demonstrating access to a file share. You could use this feature to control access to files, file shares, applications, printers and so on.

Once you have FAS fully working in your environment, you can carry on with the below.

Requirements:

  • FAS fully functional including ADFS and Microsoft Active Directory Certificate Services.
  • Windows Server 2008 R2 Domain Controllers at a minimum.
  • Domain Functional Level set to Windows Server 2008 R2 at a minimum.

Open the Active Directory Certificate Services console and right-click Certificate Templates -> Manage.

Locate template Citrix_SmartcardLogon and right-click Properties. Click the Extensions tab, highlight Issuance Policies and click Edit.

Click Add to add a new Issuance Policy.

A couple are created by default, and you can create your own. For now we can simply use the Medium Assurance policy. Highlight this policy and click OK

Click OK.

The next step involves the creation of two scripts. The scripts are called Get-IssuancePolicyToGroupLink.ps1 and Set-IssuancePolicyToGroupLink.ps1. Both scripts are available from TechNet Step 3. Create both scripts on your Domain Controller under C:\.

Now on your Domain Controller launch Active Directory Module for Windows Powershell

Type command Get-IssuancePolicyToGroupLink.ps1.

This script will list the Issuance Policies available in your domain and display any that are linked to groups. Just to confirm, there are no Issuance Policies linked to groups at this stage.

To link an Issuance Policy (in our case the Medium Assurance policy) to groups we need to first create a group in Active Directory. The group must be a Universal Security group. This group will then become a part of a user’s kerberos ticket when they log on to the VDA with a certificate. The group will also be granted access to the confidential file share.

Once the group is created return back to PowerShell and this time we will be running the Set-IssuancePolicyToGroupLink.ps1 script. For parameter IssuancePolicyName specify Medium Assurance. For parameter groupOU specify the Organizational Unit name that is home to the security group you just created. For parameter groupName specify the Universal Security group name you just created.

Next create a file share which is locked to only members of the Universal Security group as below.

Click Done. Only members of CitrixFASAuth will be able to access the \\dc\confidential share. Only users who authenticate via Citrix FAS are added to the CitrixFASAuth group using Authentication Mechanism Assurance.

I proceeded to log on to the VDA using FAS. I also was able to access the Confidential file share. If accessing the VDA without authenticating using FAS, I was denied access.

Using whoami /groups when logged on to the VDA I can confirm that my account is added to the CitrixFASAuth group. As soon as a log off, I will not be a member of that group until I authenticate using a certificate again.

Note: If you have issued certificates to users via FAS before configuring Authentication Mechanism Assurance, you will have to remove those cached certificates from FAS to allow new ones to be generates with the Issuance Policy extension included in the new certificate. You can use cmdlet Remove-FASUserCertificate on all FAS servers.

Windows Server 2012 R2 Optimisation Script

$
0
0

Windows Server 2012 R2 Optimisation Script.

Tested on: Windows Server 2012 R2 build 9600.

Description: This script disables services, disables scheduled tasks and modifies the registry to optimise system performance on Windows Server 2012 R2 running in a Citrix SBC environment.

Note: This script makes changes to the system registry and performs other configuration changes. As such a full backup of the machine or snapshot if running in a virtual environment is strongly recommended. Carry out full testing before introducing the optimised image to production. You should review ALL optimisations this script makes and determine if they fit in to your environment. Not all optimisations will suit all environemnts. To avoid failure, run PowerShell as an administrator before running this script.

Download (click below):

Windows Server 2012 R2 Optimisation Script (122 downloads)

Any problems with the script or if you want to make your own improvement suggestions then comment below.

Open the script using a text editor or PowerShell ISE to see what exactly the script does.

Insert Client IPs into the StoreFront logon page

$
0
0

Have you ever wanted to display the client IP on the front page of StoreFront? This can be useful for support purposes when Thin Clients are used to access Receiver for Web, as an example.

We can do this via some JavaScript and ASP.NET. To make something clear, I am not a developer of any sorts! However I did receive this request and dug in for a solution, and would like to share the solution with others if they get the same request.

When load balancing StoreFront via NetScaler as many do, the client IP is infact the NetScaler SNIP. For this reason we have to insert the client IP in a new HTTP header, named X-FORWARDED-FOR. This is the first step we will take.

On NetScaler, locate and edit your StoreFront Service Group.

Under settings check Client IP and under Header insert X-FORWARDED-FOR. Click OK.

Click Done and then save the running configuration.

Log on to your primary StoreFront server, and navigate to C:\inetpub\wwwroot\Citrix\CitrixWeb\Custom where Citrix\CitrixWeb may be different depending on your store name. Create a file called GetClientIP.aspx.

Insert the following text:

<%@ Page Language="C#" %>
<%=Request.ServerVariables["HTTP_X_FORWARDED_FOR"]%>

Example:

Next edit the existing script.js file.

Towards the end of the file under End of example customization enter the following text:

$(document).ready(function() {
    $.ajax({
        url: 'custom/GetClientIP.aspx',
        success: function(data) {
            $(".customAuthFooter").html(data);
        }
    });
});

Example:

Next edit the existing style.css file.

Towards the end of the file under You may add custom styles below this line enter the following text:

.customAuthFooter
{
font-size:15px;
text-align: right;
color: white;
}

Example:

After all three files have been edited and saved, propagate the changes to any remaining StoreFront servers in your Server Group by clicking on Server Group -> Propagate Changes.

Click Yes.

Receiver for Web will appear as below, with the client IP located in the right hand corner.

Setting font-size:30px in style.css increases the font size as below.

You can also center the IP address, and move it to the top of the web page. To do this change text-align: right to text-align: center in style.css and change .customAuthFooter referenced in both style.css and script.js to .customAuthHeader.

FAQs about the migration to Citrix XenApp and XenDesktop 7.x

$
0
0

With XenApp 6.5 nearing EoL in June 2018, organisations around the world are planning an upgrade to XenApp and XenDesktop 7.x. While the move from one version of 7.x to another could be considered an easy in-place upgrade, the shift from 6.x to 7.x is a full-blown platform migration.

The reason for this is that there are many functionality, configuration and architectural changes in 7.x. This necessitates Citrix administration teams to be educated, trained and prepared to deal with the changes the migration entails. There are many new components introduced in 7.x, replacements in functionality from 6.5 to deal with, and new capabilities and enhancements in 7.x to get trained on. Furthermore, 7.x does not support some legacy operating systems and hypervisors. So, the migration to 7.x will also involve upgrading the supporting infrastructure components. All this makes the migration to 7.x a time-consuming and resource-intensive project.

eG Innovations, in conjunction with DABCC conducted a Citrix Migration Survey between November 2017 and February 2018 to understand how organisations around the world are dealing with this Citrix migration. The results of this survey – containing the insights from 795 Citrix professionals – were prepared as a graphical report and also presented to the Citrix community through a webinar. I was honoured to co-present on this webinar with both Vinod Mohan, Sr. Product Marketing Manager and Srinivas Ramanathan, CEO of eG Innovations.

Read Survey Analysis Report | Watch Webinar Recording

I wanted to use this opportunity to create a helpful FAQ article for Citrix administrators based on the answers to questions that appe

ared during the webinar. If you have any additional questions, use the comments section!

Question 1: How much time should we plan for the entire migration process from 6.x to 7.x?

An answer to this question depends on a lot of factors. Factors to take in to account are:

  • How many applications do you have to migrate?
  • How many desktops do you have to migrate?
  • How many users are there to be migrated?
  • How familiar are you already with the new 7.x components?
  • Are you deploying new operating systems such as Windows 10 and Windows Server 2016?
  • Are you purchasing and building new hardware such as hypervisors or thin clients?
  • Are you deploying App Layering and layering all applications?
  • How long will your Proof of Concept run for user acceptance testing?

Now you can probably tell why no answer will ever be the same for two organisations.

Question 2: Has anything changed in licensing between 6.x and 7.x?

Subscription Advantage and Software Maintenance has now been included in a new offering for customers called Customer Success Services. The XenApp and XenDesktop licenses remain the same. You can purchase XenApp Concurrent licenses or XenDesktop Concurrent/User Device licenses. Product versions such as Enterprise and Platinum for both XenApp and XenDesktop continue to exist.

It is worth noting that XenApp and XenDesktop 7.14.1 allows you to mix licenses together under the same site, a first in the 7.x platform. This allows you for example to mix XenApp Concurrent licenses with XenDesktop User/Device. It is important to note that the edition such as Platinum or Enterprise must be kept the same and cannot be mixed under a single site.

Question 3: What are the top 5 features of 7.x that we should be taking advantage of?

  1. Adaptive Transport – This feature transports the ICA protocol over UDP. I’ve personally tested this myself and from testing found that a 45MB file copy over UDP with 200ms latency completed faster than a 45MB file copy over TCP with just 100ms latency!
  2. Adaptive Display v2 – Here you can adjust policy settings so that H.264 codecs are used to compress moving parts of your screen such as video or other animated content, whilst ThinWire+ is used to deliver the solid parts such as text. This gives the best of both worlds because you aren’t compressing the full contents of your screen and consuming more CPU on the Citrix desktop, but you also aren’t forcing your network to send all data uncompressed either.
  3. Receiver for HTML5 – Allows you to launch applications and desktops inside of an HTML5 enabled browser and you don’t even have to install Receiver on the machine. This could mean easier management of BYOD devices.
  4. In-session watermarks – Released in XenApp and XenDesktop 7.17, this feature provides a way for you to overlay information on top of the Citrix session with details about the user that is connecting. This goes a long way to deterring users from misuse of corporate systems especially when working remotely, providing for a better way to protect your organisations information and data.
  5. Remote PC (XenDesktop license only) – If you have a workstation at the office you can install the Citrix VDA software on to it, allowing you to connect to the workstation and make use of all the HDX technologies you normally use with XenDesktop. Being able to connect directly to your work PC from anywhere in the world is an excellent ability that is offered in XenDesktop 7.x.

Question 4: What are the functionalities from XenApp 6.5 that will be lost in XenApp and XenDesktop 7.x?

There isn’t much need to be worried here. In the early days of 7.x there were quite a few noticeable feature differences between 6.5 and 7.x. Today, with the latest release of 7.17, there are as reported by Citrix zero differences in features.

As an added plus, features such as Adaptive Transport, Browser Content Redirection, Receiver for HTML5, Adaptive Display v2, Application Groups, Hardware Encoding and more have all been added and are ready for to you to use, and improve your offering to the end-user!

Question 5: What features are missing in Citrix Director that was available in EdgeSight?

Director initially started off as a helpdesk tool and it was quite useful for monitoring user connection failures, failed servers or desktops, some historical reporting and managing active sessions.

In recent releases though we have witnessed Director evolve to a product that offers some new abilities such as:

  • Alerting on failed connections, slow logons, failed desktops and so on.
  • Ability to monitor GPU, CPU, RAM, IOPS.
  • Ability to monitor processes for utilisation.
  • Ability to provide custom reporting.

It is worth noting though that some of the newer features in Director are subject to licensing editions with some features being available under Platinum licensing.

What Director cannot do though is the in-depth monitoring of storage, hypervisors, networks and Citrix infrastructure components such as Provisioning Services and NetScaler. For this, you need third-party monitoring software.

If you want an in-depth review of Citrix Director, I suggest you read my article here.

Question 6: Can Citrix Director monitor NetScaler and components such as PVS and StoreFront?

No. For NetScaler management and monitoring, you need to look at NetScaler Management and Analytics. There is no current ability to monitor StoreFront or PVS.

Question 9: How would you carry out performance assessment to ensure XA/XD performance is not affected during and after the migration?

Question 7: Can we perform an in-place upgrade of 6.x to 7.x?

No, each component must be a new install. You will probably want to take this opportunity to deploy the 7.x components on newer operating systems too.

Question 8: Will I need to deploy new worker servers, or can I use existing ones and migrate them to 7.x?

You can use existing, so long as the 7.x version you are going to supports the operating system the worker servers run. For example, XenApp 7.16 does not support Windows Server 2008 R2.

Question 9: How would you carry out performance assessment to ensure Citrix performance is not affected during and after the migration?

I recommend you establish before and after baselines. Capturing baselines of the current 6.x environment, and then comparing to baselines captured during and after the migration has been completed. This will allow you to determine if user experience is being impacted or not during and after the migration.

Baselines should be focused around:

  • Logon times
  • Application launch times
  • Citrix management server resource consumption
  • Citrix desktop resource consumption
  • Hypervisor resource consumption
  • Network resource consumption
  • Storage resource consumption

Question 10: What are the new components in XenApp and XenDesktop 7.x that need to be deployed, which were not available in XenApp 6.x?

The architecture changed in 7.x, however there are some similarities in 7.x. A typical XenApp and XenDesktop 7.x site consists of:

  • StoreFront servers – This component is built on IIS and provides a web portal for users to log on to and access their desktops and applications.
    • Similar to Web Interface
  • Delivery Controllers – This component speaks to SQL, broker connecting users to desktops and applications, power manage Citrix desktops and so on.
    • Similar to Data Collectors
  • License Server – Only one can exist per site.
  • Director – This component allows you to monitor user connection failures, monitor desktop or server failures, monitor logon times, produce reports, manage connected user sessions and more.
    • Similar to EdgeSight

Question 11: Do you recommend moving to Citrix Cloud? Does it help with the cost? What are the gains and losses?

I don’t specifically recommend any one route over another as all types of Citrix deployments have their own positives and negatives depending on the type of your organisation and the requirements.

  • If you don’t fancy managing StoreFront, Delivery Controllers etc. and having to deal with upgrading and maintaining these components, look towards the XenApp and XenDesktop Service.
  • If company policy dictates that you must remain on a single version of XenApp and XenDesktop for several years, look at deploying XenApp or XenDesktop 7.15 LTSR on-premises.
  • If you must use Provisioning Services, look at deploying on-premises.
  • If you want to host every bit of your Citrix infrastructure in the cloud, look towards Citrix XenApp or XenDesktop Essentials, or the XenApp and XenDesktop Service.

Question 12: I have legacy applications that must run on Windows Server 2008 R2. What is the latest version of 7.x that supports Windows Server 2008 R2?

The latest version of Citrix XenApp and XenDesktop that supports 2008 R2 is version 7.15. This version is also the latest Long Term Service Release version.

If you have any further questions on the topic of migration or need recommendations, please post them in the comments section below.

Here is a useful white paper, co-authored by Citrix and eG Innovations, that details some best practices to be followed while migrating to Citrix XenApp and XenDesktop 7.x and achieve peak performing applications and desktops: https://www.eginnovations.com/Citrix-Migration-Best-Practices

 

How to configure and troubleshoot VDA registration to Delivery Controllers

$
0
0

There are a couple of ways to configure VDAs so that they can register with Delivery Controllers in your Citrix Site. Registration from a VDA perspective is a sensitive process, and one you want to get right from the beginning. Also, it is good to know some of the things which can cause registration to fail at any point in time. If VDAs are not registered against a Delivery Controller, they won’t be considered by a Delivery Controller when brokering connections.

There are multiple ways to provide the list of DDCs to a VDA. This step allows the VDA to become aware of which DDCs it must attempt registration against:

  1. Through Group Policy.
  2. Specifying the FQDN of Controllers manually during installation of the VDA.
  3. Letting Machine Creation Services automatically configure Delivery Controller addresses on the VDAs it provisions.
  4. Active Directory OU based (legacy option).

Citrix recommend that we use Group Policy to configure the Controller addresses, as this allows the most flexible way to manage the list of DDCs at any time.

When a VDA powers on initially for the first time, it somehow has to determine which Delivery Controller(s) it should make a registration attempt against. If you are using the Group Policy method or you have manually specified controllers during VDA installation, this forms what we call the ListOfDDCs. The DNS names from the initial discovery process are kept in the ListofDDCs, which is a registry string on each VDA. Moving forward, in order to keep the cache up-to-date, a Citrix Studio policy named Enable auto update of Controllers is enabled by default to keep the list of DDCs fresh. The information from auto-update is kept on a persistent cache within each VDA and the VDA uses that cache for future registrations. If a Delivery Controller is added or removed from the Site, auto-update keeps the cache updated.

The registration process itself uses Kerberos, and it is two-way, so the connection from the VDA also ends up routing in the opposite direction. Given that Kerberos is used in the registration process, load balanced addresses front-ending Controllers which sit behind a NetSclaer cannot be used. Time is also important as by default Kerberos cannot handle anymore than 5 minutes of time skew.

To get a feel for each method of configuring Delivery Controller addresses on VDAs, I have explained each method below in brief detail.

Contents:

Group Policy:


When you are installing the VDA, on the Delivery Controller section choose Do it later (Advanced).

You then use Group Policy to initially configure the ListOfDDCs registry string and auto-update (enabled by default) keeps the cache up-to-date.

If you do not wish to use auto-update and disable it via policy, you’ll have to modify Group Policy if a Controller is added or removed from your Citrix Site before VDAs will become aware of it.

Open Group Policy and the Citrix Policies extension. Create a new Citrix Computer Policy.

Search for the Controllers setting and click Add. Note that as mentioned Enable auto update of Controllers is enabled by default.

Specify one or more FQDNs for each Delivery Controller in your Citrix Site and click OK.

After the VDA picks up the new policy, the ListOfDDCs string will be populated with the values you specified during policy creation. This string exists under HKLM\SOFTWARE\Citrix\VirtualDesktopAgent for 64-bit systems.

This forms the foundations for a VDA to initially register with a Delivery Controller, and then auto-update generates a cache in a persistent location which holds the most up-to-date Controller list going forward.

Manually during VDA installation:


When you are installing the VDA, on the Delivery Controller section choose Do it manually.

Enter one or more Delivery Controller addresses and complete the VDA installation. Again, these values form the ListOfDDCs and auto-update keeps the list of Controllers up-to-date in a persistent location.

To find the persistent location, on a VDA launch PowerShell and run command Get-CimInstance -Namespace “Root\Citrix\DesktopInformation” -Class “Citrix_VirtualDesktopInfo” | select PersistentDataLocation

The persistent data location is only accessible from the SYSTEM account. For this, we can use PsExec. Launch PsExec as SYSTEM and browse to %ProgramData%\Citrix\PvsAgent\LocallyPersistedData\BrokerAgentInfo and open the XML file SavedListOfDdcsSids.xml.

To confirm, auto-update has updated the cache with a second Controller not specified during VDA install, ddc02.jgspiers.com

Machine Creation Services:


When you are installing the VDA, on the Delivery Controller section choose Let Machine Creation Services do it automatically.

Once machines have been provisioned by MCS, there will be a Personality.ini file on the root of C:\ on each VDA.

It is in this file that the Delivery Controller list is kept.

Active Directory OU based (legacy):


I’ll not touch on this method too much. Basically, Citrix don’t recommend you use it anymore. The recommended approach is to use a mixture of Group Policy for initial configuration and auto-update to keep the list updated.

Troubleshooting Registration:

  • By default, VDA registration occurs over port 80. If you have not changed this default port, then verify that no process on your VDA machine is listening on port 80 other than SYSTEM. You can use netstat -aon -p tcp to confirm.
  • Make sure the VDA and Delivery Controller times are in sync. Since registration uses Kerberos, time is important.
  • If you are running in a secure environment that makes use of the Access this computer from the network policy, make sure that VDAs are able to communicate with Delivery Controllers and vice-versa using this policy setting.
  • Make sure you are not trying to point VDAs to a load balanced address for the DDCs, this will not work.
  • Make sure no typos exist in the DDC names when specified via Group Policy for example.

Windows Server 2016 Optimisation Script

$
0
0

Windows Server 2016 Optimization Script.

Tested on: Windows Server 2016 build 14393.0.

Description: This script disables services, removes  scheduled tasks and imports registry values to optimise system performance on Windows Server 2016 running in a Citrix SBC environment.

Warning: This script makes changes to the system registry and other configurational change  and as such a full backup of the machine or # snapshot if running in a virtual environment is strongly recommended. Carry out full testing before introducing image to production.

Note: You should review ALL optimisations this script makes and determine if they fit in to your environment. Not every optimisation suits all environments. For example, this script disables key Hyper-V services for use in non-Hyper-V environments. If you use Hyper-V, you must enable these services.

Instructions: To avoid failure, run PowerShell as an administrator.

Download (click below):

Windows Server 2016 Optimisation Script (5127 downloads)

Any problems with the script or if you want to make your own improvement suggestions then comment below.

Open the script using a text editor or PowerShell ISE to see what exactly the script does.


Citrix Receiver for Windows Auto-Update

$
0
0

Version 4.8 of Citrix Receiver for Windows comes with automatic update functionality which is enabled by default. There are a couple of different ways to control the behaviour of the auto-update feature.

Note: Receiver for Mac 12.6 also has the auto-update ability.

You may want to use auto-update but adjust the default behaviour. The ways to configure auto-update related settings are described below.

Things to note

  • Outbound proxies must be configured with an exception to the Receiver auto-update Signature service https://citrixupdates.cloud.com and the download location https://downloadplugins.citrix.com
  • By default auto-update is disabled on Session Host, Remote PC and VDI VDA machines.
  • Auto-update is disabled on machines that have Desktop Lock installed.
  • Machines must be connected to the internet for auto-update to work
  • Receiver for Web users cannot download the StoreFront policy automatically. You have to add or refresh the StoreFront account manually through Receiver.

The first method is GPOs. Download the Receiver for Windows ADMX templates from Citrix and import them on to your Domain Controllers. Edit/create a GPO and navigate to Computer Configuration -> Policies -> Administrative Templates -> Citrix Components -> Citrix Receiver -> AutoUpdate. You have two configurable settings.

The first setting Set the Delay in Checking for Update can be set to Fast, Medium or Slow. This allows for staged upgrade rollouts. Fast means an update is pushed out as soon as it is available. Slow means the update will be pushed out after it has been available and tested for a period of time. Medium is somewhere in between.

The second setting Enable or Disable AutoUpdate Policy is used to set auto-update to disabled, auto (default) or manual (user checks manually for updates). You can also specify if only LTSR Receiver versions are offered for upgrade and set a defer count. The defer count can be set as a value of -1 to 30. -1 means no limit is set on the amount of defers a user can perform. A value of 3 would allow 3 maximum defers for example. A value of 0 means the remind me later option is not displayed.

The second method is to disable auto-update via command line when installing Receiver. A couple of new switches exist to control the behaviour of the auto-update feature.

  • /AutoUpdateCheck – Configure auto-update to be on, off or manual. Values accepted are AUTO, MANUAL and DISABLED.
  • /AutoUpdateStream – Control if auto-updates are for LTSR versions only or Current Release versions. Values accepted are LTSR or Current.
  • /DeferUpdateCount – Allows you to specify the number of times you can defer an update notification. Values accepted are -1 to 30. -1 means the user can defer any number of times.
  • /AURolloutPriority – Specify the speed of which a rollout of an upgrade will be performed. Values accepted are Auto, Fast, Medum and Slow.

For more information on a command line install of Receiver for Windows see https://www.jgspiers.com/command-line-install-citrix-receiver-for-windows/

The third option is using Preferences. This setting is per-user and user defined settings will be written to HKCU. Right-click on Receiver and click Advanced Preferences.

Click on Auto Update.

Choose your desired setting.

The fourth option is using StoreFront by modifying the web.config file found in wwwroot\Citrix\Roaming.       Find the text beginning <account id. Scroll down a couple of lines until you see:

<properties>

<clear />

</properties>

Enter lines as below, modifying to suit your needs.

The fifth option is using CitrixReceiverUpdater.exe after Citrix Receiver has been installed. CitrixReceiverUpdater.exe can be found in %ReceiverInstallLocation%\Citrix\ICA Client\Receiver.

 

Citrix Workspace Environment Management Documentation Script

$
0
0

This script documents Workspace Environment Management configuration settings into a single easy to read HTML file.

Script author: James Kindon @james_kindon

Contributions made to first iteration of script by: George Spiers @JGSpiers

Note: The script is now fully hosted on GitHub. Please refer here and read the SYNOPSIS for the most up-to-date information.

Tested working on OS version: Windows Server 2016, Windows Server 2012 R2, Windows 10 (although not officially supported).

Tested working on SQL version: SQL Server 2016, SQL Server 2014.

Tested working on WEM version: WEM 4.3, WEM 4.2.

Description: This script collects all the configured settings within Workspace Environment Management and formats them in to a easy to read HTML file.

Note: This script does not perform any writes to the WEM database.

Instructions: To avoid failure, run PowerShell as an administrator. The user account you use (SQL or Windows Authentication) must be able to connect to the WEM database and Read/Query the database. This could be the SQL vuemUser account or WEM Broker account.

Requirements: This script attempts to detect and install Windows Management Framework 5.0 if SQL Management Studio and SSMO modules are not present on the machine you are running this script from. If SQL Management Studio is installed then the modules provided by SSMO are used. If not, WMF 5.0 is installed. The installation of WMF 5.0 has been successfully tested on Windows Server 2012 R2 and Windows Server 2016. Windows 10 is not supported. To install WMF 5.0 you must have a connection to the internet on the machine you are using to run this script. If you do not have a connection to the internet, download from another machine that does and install this software manually.

For more information on Workspace Environment Management see https://www.jgspiers.com/citrix-workspace-environment-manager/

Download (click below):

Citrix WEM Documentation Script

Citrix Smart Tools

$
0
0

An overview of Citrix Smart Tools, one of the Citrix Cloud services previously known as Citrix Lifecycle Management. This services allows you to automatically provision, manage and monitor Citrix workloads running on private and public clouds.

♣ Citrix Cloud Status Portal
♣ Citrix Smart Tools Portal
♣ Licenses
♣ Smart Tools Agents
♣ What information does Smart Tools have on your site?
♣ Add users (administrators) to Smart Tools
♣ Create a Resource Location (Hyper-V) and install the Smart Tools Connector Agent (example)
♣ Enrol site to Smart Tools when installing Delivery Controller (7.14+)
♣ Citrix Smart Build

♣ Citrix Smart Check

♣ Citrix Smart Migrate

♣ Citrix Smart Scale

Smart Tools consists of the following features to date (July 2017):

  • Smart Build – Allows you to automate Citrix deployments on-premise or in the cloud using blueprints that are created by you or by way of pre-built templates.
    • Templates exist for XenApp, XenDesktop, Secure Browser, NetScaler, Active Directory and XenMobile.
    • Everyone gets rights to deploy pre-configured blueprints to their resource location.
      • Note: Smart Build will be discontinued in the near future (2018).
  • Smart Migrate – Assists with the migration from XenApp 6.x to XenApp or XenDesktop 7.x. Includes assistance for migrating applications, desktops and policies.
    • Note: Smart Migrate will be discontinued in the near future (2018). The XenApp 6.x Migration Tool will continue to be available.
  • Smart Check – Provides health monitoring for your Citrix envrionment.
    • You get notifications about recommended fixes and issues found in your environment during regular health checks and health check reports.
    • Manage updates to your environment including which updates are pushed out and when.
  • Smart Scale – Usage and schedule based scaling on-premise or in the cloud helps to ensure that machines especially in the Cloud are only running when they are needed to avoid charges. You control resource availability and capacity during peak and off-peak times.
    • Smart Scale can run on Azure and AWS, or on-premise.

Note: For a list of what’s new to the Citrix Smart Tools suite, see https://manage-docs.citrix.com/hc/en-us/articles/212715303-What-s-new

The Citrix Cloud Status Portal


The status of all Citrix Cloud services and in our interest Smart Tools can be found at http://status.cloud.com/ – This is a live page that updates in real-time.

You have the option of subscribing to all alerts or specific ones by email, SMS, slack, or by other webhooks.

The Citrix Smart Tools Portal:


You’ll see a number of tabs when logged on to the portal:

  • Resources & Settings – Shows existing and allows you to add additional Resource Locations. Allows you to edit administrator roles.
  • Blueprint Catalog (Now renamed Checks and Blueprints) – A catalog of Blueprints and checks which you can search for and add to your library.
  • Smart Build – From here you kick off the deployment of Blueprints. You can also create new Blueprints, edit existing ones, create scripts, share or clone Blueprints, add your your own custom alerts to the Smart Check Alerts Database. This is where your Library is located. If you are a member of multiple Citrix Smart Tools accounts, you’ll have a library for each account.
  • Manage – This tab allows you to manage deployments and servers that have been provisioned to your Resource Location during Blueprint deployment. You can also scale deployments or tear them down.
  • Smart Migrate – Provides assistance in migrating application and policy settings from XenApp 6.x or VDI in a box 5.4 (now removed) to XenApp or XenDesktop 7.x.
  • Smart Check – From here you can view existing sites, or add new Citrix sites. You can upload site diagnostic data to Citrix Insight Services, perform health checks for example site checks or apps and desktops health checks, perform update checks, perform LTSR checks (Preview) and and view health reports.
  • Smart Scale – Enable scaling. Define if you want to scale based on schedule, based on load or both. You can specify to scale based on the Load Index of VDAs or based on session count. Create schedules and more.

Licenses:


The Smart Tools features (Smart Build, Migrate, Check, Scale) are available for:

  • XenApp and XenDesktop service customers are entitled to all tools.
  • Citrix Workspace service customers are entitled to all tools.
  • XenApp/XenDesktop customers with Customer Success Services – Select (previously Software Maintenance) are entitled however only Platinum customers are entitled to Smart Scale.
  • XenMobile customers with Customer Success Services – Select (previously Software Maintenance) are entitled to everything but Smart Build.
  • NetScaler customers with Customer Success Services – Select (previously Software Maintenance) are entitled to everything but Smart Build.
  • Citrix partners are entitled to the tools.

Smart Tools Agents:


There are a couple of different agent types available. Agents can be installed automatically during Blueprint deplyoment or manually on machines that already exist in your Resource Location that you now want Smart Tools to manage. You can also install the agent manually at the end of a 7.14+ Delivery Controller installation (more on that later).

  • Smart Tools Agent – Can be installed manually or automatically when Blueprints provision machines. If installed manually, you add the machine to Smart Tools afterwards. The agent is there to perform configuration tasks such as installing SQL, installing XenDesktop, creating a Citrix Site, perfoming scaling activies, data gathering and so on.
  • Smart Tools Connector Agent (Connector) – When you create a Resource Location, you manually install a Smart Tools Agent on machines in your Resource Location and then promote those machines to Connectors. Machines that are designated as a Connector will broker communication from Citrix Cloud/Smart Tools to your Resource Location. If you have multiple Resource Locations for example XenServer and vSphere, a Connector on XenServer can act as the Connector for the vSphere environment also providing the connector can communicate with machines from both Resource Locations. If you have a Resource Location that is accessible from the Internet, you don’t need a Connector.
  • Smart Tools Site Agent – This type of Connector is installed on one or more (for high availability) Delivery Controllers in your site. One agent will always be active on a Controller in a Citrix Site and others will be passive. The Site Agent allows Citrix Smart Tools to monitor the Citrix Site performing health checks, searching for applicable updates and scaling the environment.

The Smart Tools Agent can be installed on Windows 7 through to Windows 10 desktop OS (excluding Windows 8.1) or Windows Server 2008 through to Windows Server 2016 server OS. It can also be installed on a mixture of Linux OS.

When a Blueprint installs Smart Tools Agent, port 22 (SSH) should be open on Linux devices and TCP port 3389 (RDP) on Windows devices. These ports must be open to facilitate agent deployment but can be closed once the blueprint deployment is complete. HTTPS port 443 is used for communication to Citrix Cloud thereafter.

Note: There have been some instances where Windows UAC has caused agent installs to fail. If you encounter a Failed to install agent error during blueprint deployment try disabling UAC on the template VM before.

If an Agent stops communicating with Smart Tools after a reboot, check to make sure the Smart Tools Agent Service is running. If it is, restart it and then check if communication is restored.

What information does Smart Tools have on your site?


Communication always flows from the Connector Agent on your Resource Location to Citrix Cloud. Because all machines reside in your Resource Location, Citrix Cloud does not store any sensitive data on their side. Smart Tools does however store the following information:

  • Delivery Group and Machine Catalog GUIDs and names.
  • Master VM names.
  • Delivery Controller FQDNs, product version and IP addresses.
  • VDA DNS names, UUIDs, the Load Index, Maintenance Mode status and power state of VMs to perform power management duties via Smart Scale.
  • Site data uploaded to CIS by the customer through Call Home in XenApp and XenDesktop, Smart Check or through Citrix Scout.

The above data is stored in separate database instances for each customer.

The Citrix Cloud and Smart Tools service also stores other information, including passwords and usernames for authentication to Citrix Cloud, access to Resource Locations such as AWS and deployment of Blueprints to your Resource Location.

  • Citrix Cloud credentials – The credentials you use to authenticate to Citrix Cloud are sent to the Citrix Online system. This process generates a one-time signed JSON Web Token and grants access to Smart Tools using this token.
  • Resource Location Passwords and Secret Keys – Passwords (for on-premise) and Secret Keys (for cloud) needed for authentication to Resource Locations are stored, encrypted and salted in the Citrix Cloud service database. Citrix own the keys used to encrypt these credentials. After a customer enters a password or secret key through the Smart Tools portal, the password or key is masked and cannot be rendered in plain text.
  • Credentials used in Blueprints – Blueprints can store credentials as an input parameter. These credentials are stored, encrypted and salted in the Citrix Cloud service database. Citrix own the keys used to encrypt these credentials.
  • Citrix Site Administrator credentials – If you use Smart Scale and/or Smart Check on your Citrix Site, you are required to provide credentials to a Citrix Full Administrator account from that site. This allows Smart Tools to perform health checks, perform scaling actions and apply fixes and updates to Delivery Controllers and Machine Catalogs on your behalf. These credentials are stored, encrypted and salted in the Citrix Cloud service database. Citrix owns the keys used to encrypt these credentials. After a customer enters the password through the Smart Tools portal, the password is masked and canot be rendered in plain text.
  • AWS key pairs – If AWS EC2 is one of your Resource Locations, Smart Tools prompts you to create a key pair if one does not exist. This key pair enables you to access any Smart Tools Blueprint provisioned resource. The public key is stored in your AWS account while the private key is managed by the customer and should be kept somewhere safe. Smart Tools does not store the private key.
  • Machine image credentials – When deploying a Blueprint, the local administrator credentials you supply from the image template are stored in Citrix Cloud if you create a Deployment Profile. Smart Tools stores these credentials in a separate database instance for each customer. All encryption used by Citrix use standard-based encryption algorithms.

Note: Note that whilst some operations require credentials or keys, you do have the option of provisioning your own machines and using existing machines in the Resource Location when deploying Blueprints. Using existing machines will reduce the need to supply such information to Smart Tools if you prefer. Make sure each machine has the Smart Tools Agent installed before deploying a Blueprint. To download the Agent, visit Resources & Settings, begin to add a Resource Location but after downloading the Agent, cancel the Resource Location creation.

Adding users to Smart Tools


Firstly navigate to Identity and Access Management and then invite users of your choice. If invited users do not have a Citrix Cloud account they will be asked to create one.

Type an email address and then click Invite. You can integrate Citrix Smart Tools with Azure AD. In this case you would have the ability to invite other Active Directory users. For a how-to see https://www.jgspiers.com/azure-active-directory-authentication-citrix-cloud/

Once the invited user has signed up to Citrix Cloud they will be given the Admin role in Smart Tools. To change this, within Smart Tools navigate to Resources & Settings -> Users -> select a user and under Actions click Edit.

From there select the role of Admin, Architect or Operator. Click Save.

To remove a user from Citrix Cloud, navigate back to Identity and Access Management.

Create a Resource Location (Hyper-V) and install the Smart Tools Connector Agent (example):

As mentioned before, a number of pre-created templates (Blueprints) are available from Citrix Cloud that you can use to deploy full Citrix farms among other deployments. If a pre-created template doesn’t suit, you can customise it or create your own. In this example, I’ll show you how to configure a Deployment Profile, and use a pre-created Blueprint to deploy a fully configured Citrix farm. The farm consists of one VDA and one StoreFront/DDC bundled together server.

Log on to Citrix Cloud and under Smart Tools click Manage.

You’ll first need to deploy a Resource Location. The Resource Location is where your VDA and Citrix infrastructure servers will reside. The Resource Location can be on public (Azure/AWS) clouds or private clouds running Hyper-V, XenServer or vSphere. You can have multiple Resource Locations.

Click on Resources & Settings.

Click Add Resource Location.

Check your hypervisor or cloud. In my case, Hyper-V.

Click on Next.

Click Download Agent. This downloads the Smart Tools Agent which you install on a dedicated machine within your resource location which will act as the connector. For high availability deploy pairs. These machines being connectors will broker communication from Citrix Cloud/Smart Tools to your Resource Location over HTTPS.

If you have multiple Resource Locations for example XenServer and vSphere, a connector on XenServer can act as the connector for the vSphere environment also providing it can communicate with machines in both Resource Locations.

The Smart Tools Agent can be installed on Windows 7 through to Windows 10 desktop OS (excluding Windows 8.1) or Windows Server 2008 through to Windows Server 2016 server OS. It can also be installed on a mixture of Linux OS.

Note: Also keep in mind that every machine the Citrix Cloud Smart Tools service has management over (machines deployed via Blueprints or manually added) will have a copy of the Smart Tools Agent installed. The agent is there to perform configuration tasks such as installing SQL, installing XenDesktop, creating a Citrix Site, running health checks for monitoring, gathering information and so on.

The installation instructions and requirements will be displayed. Along with a Waiting for you to install the Agent message.

Within your Resource Location, on a connector machine, launch CitrixLifecycleManagementAgent.exe

Accept the License Agreement and click Install.

Click Finish.

A log file is produced in case you need it. Return to the Citrix Cloud portal.

At this stage Smart Tools should detect that a connector agent has been installed. You can now click Next.

The new machine displays. To make it a connector, click on Use Selected Machine as Connector. A couple of additional scripts will be ran on the selected machine to promote it to a connector.

Making machine a connector. Please wait displays.

Once done enter Resource Location information. This includes a host (can be a connection to System Center Virtual Machine Manager/vCenter for example) or single host. Enter a username/password and domain name for an account that has permissions to manage the Resource Location. Click Add.

Once the Resource Location has been added, click Done.

The Resource Location will always appear as below and can be edited. You can also add additional locations.

Enrolling site to Smart Tools when installing Delivery Controller (7.14+):


When installing a 7.14 or newer Delivery Controller, you are offered the option of joining Smart Tools at the end of the installation. This installs the Smart Tools Site agent and is not the same as the Site Agent connector you just installed previously when creating a Resource Location.

Before connecting to Smart Tools, disable IE ESC (IE Enhanced Security Configuration) for users and administrators via Server Manager. Once the Delivery Controller is connected to Smart Tools it is recommended to turn IE ESC back on.

Select I want to connect to Smart Tools and Call Home. (Recommended) and click Connect.

Enter your Citrix Cloud credentials and click Sign In.

Once you see the success message, click Next. Finish the Delivery Controller install as normal, the site should now appear in Smart Tools.

Citrix Smart Build (to be discontinued in near Future):


Using “Blueprints”, Smart Build allows you to automate the deployment and configuration of XenApp/XenDesktop etc. to various Resource Locations of your choice.

Smart Build: Automated deployment of Citrix XenDesktop farm (example):

Now that we have a Resource Location, we want to build out a Citrix XenDesktop Site. To do that we use Blueprints either created by ourselves or via a pre-created template. In this example, I’ll use a simple PoC pre-created Blueprint. Click on Blueprint Catalog (now called Checks and Blueprints) and then choose the + symbol next to the Blueprint you want to use. From here forward the guide will reference the (Existing Domain) XenApp and XenDesktop Proof of Concept Blueprint created by Citrix.

You’ll get a message indicating that the Blueprint has been added to your library.

Note: If a new update of a Blueprint is released, Smart Tools displauys an indicator so that you can update the existing Blueprint to the newer version.

To access your library click Smart Build. To start a deployment using the newly added Blueprint click Actions -> Deploy.

Click Start deployment setup.

Enter a Deployment Name. You won’t have any created Deployment Profiles yet however during the next steps you do create one which can also be used in future deployments. Click Next.

Select the Resource Location where you want to deploy to. The Resource Location you choose must be supported by the Blueprint you are deploying. Click Next.

You have the option to configure NetScaler as part of the deployment. Something I am not going to do at this time. Click Next.

A number of pre-deployment checklist points will be displayed to help you prepare for the deployment.

Also the recommended hardware specs for each machine you are deploying will be displayed.

During the deployment, the machines created by the Blueprint are built off a template disk(s) that you create. On your Resource Location, you create a template virtual machine and configure it as per the requirements listed below for Hyper-V. This includes:

  • Patching the image with the latest updates.
  • Ensuring the WMI service is enabled and started.
  • Ensuring outbound connections on TCP 443 are possible.
  • Allowing inbound WMI traffic through Windows firewall.
  • Ensuring the Hyper-V Integration Services are installed on the machine. Ensuring a local administrator account is created with a password that does not prompt for change on next log on.

As with any automated deployment, a number of parameters are needed for the configuration piece. Using the Export parameter list (.csv) option allows you to fill out any parameters in to CSV format and upload them to the deployment wizard. Instead I will define the parameters during the wizard manually. Before clicking Continue on the wizard, let’s create a template machine.

Create a template machine for Blueprint deployment:


Over on your Resource Location, create a template machine using hardware configurations of your choice. Later in the deployment you’ll be able to choose the hardware specifications for each machine the Blueprint deploys. Also make sure to patch Windows with the latest updates. You can use seperate templates for DDC and VDA if you wish. In my example, I am using a Windows Server 2012 R2 image for both machines.

An example where you would have two is if you are using a different OS for your VDAs, or you want the blueprint to deploy applications on your behalf to Delivery Groups. This would require you install applications on the VDA template machine.

Note: Do not install the Smart Tools Agent on the machine. The Agent is deployed automatically during Blueprint deployment.

Make sure the local admininstrator account is not set to change password at next logon. Also do not join the machine to your domain.

Make sure the Windows Management Instrumentation service is running and automatic.

Check that the Hyper-V Integration Services component is installed and up-to-date. Also make sure the services are up and running.

Launch Windows Firewall with Advanced Security and right-click Inbound Rules -> New Rule.

Under Predefined select Windows Management Instrumentation (WMI). Click Next.

Check all three rules and click Next. The rules already exist but they are disabled. Completing this wizard will enable them for you.

Click Finish.

If you don’t want to run through the wizard, highlight all three rules and right-click then select Enable Rule. Allowing WMI traffic through the firewall allows the Smart Tools Agent to install.

Make sure you have an unattend file created. As an example, the file I used is below.

Example unattend file:

language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>TABpAHYAZQByAHAAbwBvAGwAMAAxAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
            </UserAccounts>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ProductKey>D2N9P-3P6X9-2R39C-7RTCD-MDVJX</ProductKey>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/users/g_liv/downloads/install.wim#Windows Server 2012 R2 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Open CMD and change directory to C:\Windows\System32\Sysprep. Run command sysprep /generalize /oobe /shutdown /mode:vm /unattend:c:\unattend.xml. At this stage unattend.xml file will be copied to the C:\Windows\Panther directory, the machine will be sysprepped and shut down. Return back to the Citrix Cloud portal.

Now you can click Continue.

On the scaling screen nothing can be changed when using this Blueprint because the functionality to change has been disabled on this Blueprint. You can edit the Blueprint as previously mentioned to further suit your requirements. Click Next.

Under XenDesktop Delivery Controller choose the Resource Location you had created earlier.

Specify a computer name for the Delivery Controller. Click Next.

Now you have to specify the location to your template virtual disk (.vhd) file that has been prepared for imaging. The Blueprint deployment will make copies of this disk when creating the DDC and VDA. By default copies of this disk will also be stored on E:\ however you can use the Edit button to change this location to elsewhere. Once you have filled out your VHD location, click Get Disk Info. If the disk is found, you’ll be displayed with disk specific information such as Disk Type, Disk Size, Disk Format. Click Next.

Here you get to configure the machine system hardware and a static IP if desired. Obviously a static IP is a must for the Delivery Controller so enter the required information and click Next.

As mentioned before, any machine deployed by a Blueprint will receive an install of the Citrix Smart Tools Agent so that it can be managed. You can see the checkbox towards the top states that an agent will be installed. Enter credentials to the local administrator account of the template machine and click Next.

Review your configuration information and click Finish.

Now you have to perform the same steps for the VDA machine.  Select your Resource Location. As you can probably tell, it is possible to deploy machines to multiple Resource Locations.

Enter the VDA machine name, click Next.

Enter disk information, click Next.

Enter hardware specification, select DHCP. Click Next.

Enter local administrator credentials. Click Next.

Click Finish.

Click Next.

There are some more configuration parameters needing entered before we can start the depoyment.

  • Fill out the IP of a Domain Controller.
  • FQDN of domain name.
  • Administrator account that has the privileges to install XenDesktop on the VDA/DDC and join those machines to the domain.
  • XenDesktop site name.
  • Computer name for the DDC.
  • ISO location of XenDesktop 7.13/7.14 media.

You may also need to enter credentials if you use a CIFS share. Finally the remaining field allow you to change the ComputerName, create a VDI server desktop and change the PowerShell Execution Policy.

The execution policy can be changed on your server VDA to one of the following values. I will leave all values at default. Click Next.

You’ll be asked to specify a Deployment Profile name and to save it. This profile can be used to redeploy this Blueprint at a later time. You don’t have to save it. Enter a name, description and click Save.

Now click Deploy.

As the Blueprint deploys, you’ll see a number of deployment steps being performed containing valueable information. Click each step and you can view the Step Details and Step Output. In this example, the initial task involves making a copy of the template machine disk to accomodate deploying our Delivery Controller.

The Delivery Controller will be created over on your Resource Location, with the disk attached and hardware configuration complete.

The machine goes through a number of configuration steps, one involving the installation of the Smart Tools Agent on to the Delivery Controller. 

As you can see here the Delivery Controller was renamed to BPDDC01. That step took 21 seconds.

The Step Output tab shows the old machine name and the new machine name.

Reboots are a frequent step in the deployment process. Here you can see a reboot and check for successful reboot occuring.

The machine goes through a number other configuration steps such as the configuration of DNS settings and joining to the domain.

Once the machine is ready for a XenDesktop install, the ISO is copied from the share you provided earlier to the machine locally in C:\Installers.

Just to confirm, the XenDesktop 7.13 media shows under the Installers folder on the DDC that is being deployed by Smart Build.

After a number of steps, the Delivery Controller install is complete, a SQL instance (in this case SQL Express) is installed and a Citrix site created along with the require databases. The XenDesktop Delivery Controller machine has at this stage finished installing and is configured with a XenDesktop Site. Next up is the install and configuration of the VDA, it goes through a number of the same steps so I’ll not repeat any of that process.

Once the VDA is complete, the deployment will return as complete. You can now perform a quick check to make sure everything looks OK.

Here are the two machines the Blueprint deployed, showing the correct amount of memory.

Launching Citrix Studio on the Delivery Controller, you can see a BPPOCSite was created (that name was specified in the Deployment Profile) and that a Delivery Group has been created.

Inside the Delivery Group is the VDA, registered successfully.

In this example StoreFront is also installed on the Delivey Controller and an HTTP store created.

To confirm connections can be made, connect to Receiver for Web and check you can successfully launch a desktop.

Pausing or retrying failed Blueprint deployment steps:


If your Blueprint fails at any step, you might want to pause the deployment to correct or retry the same step again. This is just a case of telling the Blueprint what action you want it to take on failure. Navigate to Smart Build, click Actions on your desired Blueprint and click Edit.

Now under Options click on the On failure drop-down box to select your desired outcome. During the deployment you will have more options on how you wish to proceed based on the On failure option you choose.

Troubleshooting a failed Blueprint Deployment:


Citrix have published a number of tips to diagnose deployment issues. See https://manage-docs.citrix.com/hc/en-us/articles/212715043-Troubleshoot-blueprint-deployment-issues

How to delete a Deployment Profile:


To delete a Deployment Profile, click Smart Build and start to deploy a Blueprint until the stage where it asks you if you want to use an existing Deployment Profile. Click the drop-down and click X beside the Deployment Profile you want to delete.

Citrix Smart Check:


Smart Check is a new Smart Tools product that is currently in preview. From a high level Smart Check provides health monitoring for your Citrix environment.

  • You get notifications about recommended fixes and issues found in your environment during regular health checks and health check reports.
  • Smart Check can manage updates to your environment including which updates are pushed out and when.
  • You can schedule a range of health checks, which are then ran automatically.
  • View health reports for your Citrix sites and upload diagnostic data to Citrix Insight Services.

How does Smart Check work?:


Smart Check works by running one or more collectors on Delivery Controller(s) within your Resource Location. A collector is no more than a script or tool mostly run within PowerShell which is run by the Smart Tools Agent. The data collected in this step is formatted mostly in JSON files but at times XML files and then uploaded to Citrix Insight Services for analysis. Based on the analysis results, alerts may be generated for a number of conditions.

What data does Smart Check collect?:


JSON files that are generated by Smart Checks are very small in size containing little data other than information to identify your Site, the issues that have been alerted and the names of affected VDAs.

For example the Apps and Desktops Health Check gathers your version of XenApp/XenDesktop, the Site name, any affected VDAs including name, OS version and what errors exist on those VDAs.

Smart Check System Requirements:


Smart Check is supported on the following platforms:

  • XenApp and XenDesktop 7.6 LTSR and 7.11.
  • XenApp and XenDesktop deployments running on:
    • Azure ARM.
    • AWS.
    • XenServer 6.2 -> 7.1.
    • VMware vSphere 5.1, 5.5 and 6.0.
  • Machine Catalogs that use MCS.
  • Smart Check is not supported on deployments that use the XenApp and XenDesktop Service in Citrix Cloud.
  • To use Smart Check, Delivery Controllers that run the Smart Tools Site Agent must support PowerShell 3.0 and be able to communicate with Citrix Cloud over HTTPS 443.
  • Smart Check reports on XenApp and XenDesktop Delivery Controllers, Delivery Groups and Machine Catalogs only.

What checks does Smart Check perform?:


Smart Check runs the following types of health checks:

  • Site Health Checks – These checks are run on your Delivery Controllers. It is recommended that you run this check daily. Some of the checks include:
    • Checking that Windows Firewall rules are enabled.
    • Host connection is not in Maintenance Mode.
    • Citrix Monitor Service can access the Monitoring database.
    • Recent database backup exists.
    • Connectivity to core XenApp or XenDesktop services are established.
      • Site Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdsitescout-<timestamp>. Log files are deleted after 5 days.
  • Apps and Desktops Health Checks – This check ensures that your Delivery Groups are available to serve applications and/or desktops.
    • Apps and Desktops Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xaxdscout-<timestamp>. Log files are deleted after 5 days.
  • Update Checks – This check runs on your VDAs and Delivery Controllers to see if they have the latest patches installed. If not, patches are recommended.
    • Update Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdscout-<timestamp>. Log files are deleted after 5 days.
  • LTSR Checks – Checks your Delivery Controllers and VDAs to determine if they are LTSR compliant. This check runs the LTSR Assistant tool against your site – https://support.citrix.com/article/CTX209577. For this check to run successfully, make sure the following conditions are met on your VDAs and Delivery Controllers:
    • PowerShell 2.0 and above is supported.
    • ICMP is allowed inbound through Windows Firewall.
    • WinRM is enabled through Windows Firewall and the service is started (also an Agent requirement).
    • Port 80 is allowed on Delivery Controllers for the XenApp and XenDesktop PowerShell SDK.
    • Port 5985 is allowed on VDAs and Delivery Controllers for Windows RM.
  • StoreFront Checks
    • Validates certificates for StoreFront.
    • Validates StoreFront service status, AD connectivity, base URL setting, and IIS Application Pool version.
  • Provisioning Services Checks
    • Validates PVS status and checks several aspects of the Provisioning Services configuration.
  • Citrix License Server Checks
    • Verifies License Server status, Subscription Advantage eligibility date compatibility and provides license upgrade suggestions.
  • Life-cycle Checks
    • Verifies End-of-Life and End-of-Maintenance status on Delivery Controllers and other Site components.
    • Provides LTSR and Current Release update recommendations.

Note: There are some custom checks that can be run such as a VDA health check. This check makes use of the VDA health assistant tool found here.

Note: For a list of Citrix provided alerts included in Smart Check see https://manage-docs.citrix.com/hc/en-us/articles/115000817343-Smart-Check-alerts-reference

Additional custom health checks (VDA Health Check)


You can add custom health checks to Smart Check by way of blueprints. This allows you to add some additional checks on top of the four main checks that are already available. In this example, I’ll add the VDA Health Check blueprint to my list of checks that can be performed via Smart Check. This health check uses the VDA Health Assistant tool.

Browse to Blueprint Catalog (now called Checks and Blueprints), scroll to the bottom and click the + under VDA Health Checks.

Now navigate back to Smart Check and under Perform Check you’ll have the new option to run VDA Health Checks.

When you click to run this check, you can pick and choose which VDAs you want to run it against. Enter credentials and click Perform Checks Now.

Add Site to Smart Check:


Note: Sites can be added the following ways:

  • A site deployed via Blueprints that has the Register Site step is added to Smart Check for you.
  • If you use Call Home or upload Citrix Scout reports to CIS using the same MyCitrix account you use for Smart Tools. Likewise if you upload diagnostic files to CIS via Smart Check (explained later).
    • Note: Automatic Site Discovery is switched off by default for Call Home or Citrix Scout diagnostics uploads to CIS. Previously, it was enabled by default.

Alternatively, you can add an existing site manually.

To manually add an existing site to Smart Check, click Start Check -> Add Site.

Click Download Agent to download the Start Check Site Agent.

Install the Site Agent on a Delivery Controller in the site you want managed. It is recommended to install the Site Agent on multiple Delivery Controller’s in your site for high availability.

Once the Site Agent is installed on a Delivery Controller, return to the Citrix Cloud portal and you should receive the Agent was successfully installed message. Click Next.

Enter credentials to a Citrix Full Administrator account in your site. This account will be used to run health checks and analyse the site for updates. Click Add Site.

After a few moments the site will appear under Smart Check. The site will also be added to Smart Scale. Click on Get Started.

Shortly after adding a site to Smart Check, health checks will be performed.

Note: Make sure your Delivery Controllers are allowed to run PowerShell scripts.

Once you navigate to a Site within Smart Check you’ll see if there are any outstanding warnings and when the next scheduled checks are due to commence. You can also View Reports, perform manual checks, configure the site and more. I’ll go through each section. For my site, 1 warning is outstanding. Click on the arrow beside 3 Checks set performed for more information.   

You can see that 3 different checks have ran, two completed without issue but the Site Health Checks found an issue.

There will be a display of each component that checks have been run against, the Controllers, Machine Catalogs and Delivery Groups along with errors or warnings. As you can see my Controller has a warning. I can click on it to see what the warning is.

Upon exanding the Delivery Controller, the warning states that no recent backups have been taken of the Site database. Clicking on the right arrow beside the date and time the warning was found displays further information.

The alert displays more information including a recommended fix.

You will also be emailed when issues have been found from Health Checks.

If you want to turn email notifications off, click Resource and Settings -> My Profile -> change Enabled to Disabled beside Smart Check issues summary.

Update: Smart Check can now discover License Servers, PVS Servers and StoreFront servers and allows you to run custom created health checks against them.

Back over in Smart Check, clicking on a site and then clicking on Site Details displays your Delivery Controllers and gives you the option to synchronise site data, remove the site or change the Full Administrator credentials.

Those same options are available by clicking on the verticle ellipsis. The Sync Site Data option allows Smart Check to detects additional infrastructure that has recently been added to your site. Click on Edit Site Credentials.

You can change credentials to another Full Administrator then click Done.

If you want to perform a manual health check, click Perform Check. You can perform individual checks or all using the Perform all Checks option. I’ve purposely powered off my VDA so I’ll click on Apps and Desktops Health Checks.

Click Perfom Checks Now.

The appropriate checks begin to run.

One error has been found on my Delivery Group. Click the Delivery Group.

The error shows that there is 1 Unregistered VDA against the Delivery Group and that the Delivery Group is not able to serve connections. Click on the > arrow for more information.

Here the additional information displays recommendations to fix and the time the error was found. If you want to hide the alert, click Hide Alert.

Click Hide Alert. Notice that it will not appear again until we restore the alert.

To restore the alert, click on the vertical ellipsis and select Show Hidden Alerts.

The alert will appear back against the Delivery Group, click the > arrow beside the error date and time found and then select Restore Alert.

Smart Check Schedules:


If you want to change Health Check schedules or disable them, click on Configure.

You’ll be given a list of the four checks possible. You can configure the health checks to run on a schedule (or not). By default all schedules apart from LTSR Checks run every day between 12AM and 5AM based on the Time Zone of the first Delivery Controller Smart Check discovers. You can choose to run the checks Every Day or Every Week.

The LTSR Check is not scheduled to run. You can run the check manually. To the top-right, click Return to Health Report.

Click Perform Check -> LTSR Checks -> Perform Checks Now.

Once the LTSR check is complete, if your Site it not compliant, an issue will flag.

The issue found states that Components of target machine incompatible with Citrix LTSR.

More information displays information on what to do. My XenDesktop site was running 7.13, so the site was not compatible with XenDesktop 7.6 LTSR (7.15 LTSR was not released at the time).

You can view a report of the LTSR check by clicking on View Reports. Click Download Report next to the LTSR report.

A number of different files will download in a packages folder. Most of them CSV. I’ll open a couple as examples.

The licenseserver.csv report shows that my License Server version is newer than the required LTSR version.

The same goes for the citrixdirector.csv report.

The ReportHtmlFile.html shows an overall report indicating that the site is not compliant with XenApp/XenDesktop 7.6 LTSR.

The ComplianceReport.csv file lists all components found in the site, their version and the version they should be for LTSR compliance.

Upload Site diagnostics to CIS via Smart Check:


The Smart Check section of Smart Tools allows you to upload diagnostic files to Citrix Insight Services at the request of Citrix support. You can also copy and send Citrix support generated links to your support files. Click Diagnostics -> Upload Diagnostics.

Click Select File to upload a diagnostics file.

As the diagnostics file uploads you should not navigate away from this page.

Click Done.

After the file has been uploaded it is analysed by CIS.

When analysis completes you’ll see some basic information about the file. Click on the > arrow to display more information.

You’ll be presented with slightly more information including a report link to share with Citrix support. Whilst you can upload any type of diagnostics file, Smart Check currently only supports running health checks on XenApp and XenDesktop.

If you were to upload a XenApp or XenDesktop support file, the site if not already known to Smart Check will be added to Smart Check. You can then install the Smart Check site agent on Delivery Controllers in that site to allow health checks to be performed. If you remove a site from Smart Check, make sure the diagnostic data is also removed from Citrix Insight Services or else the site may be re-added to Smart Tools.

If you click View Report against any site added to Smart Check, you can get some site specific information such as the number of Delivery Groups, Controllers and Machine Catalogs in that site.

If you click further into the site components i.e. Delivery Groups, you are presented with the names of each group along with any known issues.

Here you can see both Delivery Group names.

Looking at the Delivery Controller of a particular site displays the product version, name of the DDC and any outstanding alerts.

Install Smart Tools Site Agent on multiple Delivery Controllers:


As mentioned before it is advisable to install the agent on multiple Delivery Controllers for high availability. After you have added your site to Smart Check, if you click on Site Details the Delivery Controller which already has an installed agent displays along with any other discovered Delivery Controllers. You have the option of installing the agent on additional Delivery Controllers from this portal.

Remove Site from Smart Check:


To remove a Site click View Report on the site of your choice, now either click the verticle elipsis -> Remove Site or click Site Details -> Remove Site.

Click Remove.

You can also remove the Site Agent which unregisters the site from Smart Tools. If the unregister operation is not possible due to communication issues with Citrix Cloud then use the above Remove Site method.

 Smart Check Log Files:


Smart Check checks output log files in the following locations:

  • Site Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdsitescout-<timestamp>. Log files are deleted after 5 days.
  • Update Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xdscout-<timestamp>. Log files are deleted after 5 days.
  • Apps and Desktops Health Check log files are stored on your Delivery Controller(s) in C:\Program Files (x86)\Citrix\LifecycleManagement\proc\xaxdscout-<timestamp>. Log files are deleted after 5 days.

Citrix Smart Migrate (to be discontinued in near future):


Citrix Smart Migrate can assist you in migrating XenApp 6/6.5 to XenApp/XenDesktop 7.x. You used to be able to migrate VDI-in-a-Box 5.4 to XenApp/XenDesktop 7.x but this ability was removed August 2017. For XenApp 6.x migrations Smart Migrate helps by exporting existing farm policies and settings and imports them to your new 7.x site.

You can migrate using an automated fashion by installing the Site Agent on one 6.x and 7.x controller, installing the XenApp 6.5 PowerShell SDK on all 7.x controllers or manually by runnnig migration scripts and uploading policies and settings to Citrix Tools for migration.

For more information see https://manage-docs.citrix.com/hc/en-us/articles/212714903-Prepare-to-migrate-your-XenApp-6-x-or-VDI-in-a-Box-5-4-deployment

To kick off a deployement, in Smart Tools click on Smart Migrate and then Add a Migration Project.

Using the drop-down select the migration you wish to perform.

Note: Ability to migrate VDI-in-a-Box 5.4 was removed in August 2017.

Upon selecting the migration type (in this case XenApp 6.5 to 7.x) you’ll be presented with some pre-requisite checks so make sure you have completed them before continuing. Click Add.

Select Fully Automated:

or Partially Automated:

If you select Fully Automated you’ll be asked to select your XenApp 6.5 environment and controller. The 6.5 farm should be added to Smart Tools. You can choose to connect an existing deployment at this stage.

If you chose Partially Automated you’ll be tasked with downloading the scripts, running them manually, collecting policies and settings related to your XenApp 6.5 farm and then uploading them back to Smart Tools.

XenApp 6.x Migration Tool:


The XenApp 6.x Migration Tool is a collection of PowerShell scripts designed to migrate policy and farm data from XenApp 6.0 or 6.5 farms to 7.x.

You firstly run the scripts on a 6.0 or 6.5 controller, and then run import cmdlets on a XenApp 7.x controller. This tool will continue to be available after Smart Migrate has been discontinued.

For more information see: https://docs.citrix.com/en-us/xenapp-and-xendesktop/7-15-ltsr/upgrade-migrate/xenapp-worker-upgrade.html

Citrix Smart Scale:


Smart Scale is designed particularly to scale up and down Citrix VDAs per schedule and power manage them to save on the costs of running workloads on public clouds such as Azure or AWS. The amount of VDAs running in a Delivery Group monitored by Smart Scale can be based on session demand of Load Index value. Alternatively you can specify how many VDAs minimum you want running at any given time of the day to ensure adequate availability of resources for your user base.

Smart Scale requirements:

  • Smart Scale is supported on Amazon EC2, Azure Resource Manager and Classic, and Citrix XenServer 6.2, 6.5, 7.0.
  • You must configure hosting in XenApp or XenDesktop for Smart Scale to work.
  • Your Site Delivery Controller(s) must support atleast PowerShell 3.0.
  • Smart Scale supports XenApp, XenDesktop, XenApp and XenDesktop Service, XenApp Essentials and XenDesktop Essentials. Up to 2,000 VDAs per Site can be power managed (1,000 per Delivery Group) and up to 120 Delivery Groups can be power managed per Site. Monitoring data collection is supported for up to 5,000 VDAs per Site.
  • Smart Scale supports pooled and static persistent VDI desktops but this is currently in “preview” and best to be trialled in testing environments whilst Server OS is fully supported. You should disable any power management functionality within XenDesktop to avoid conflicts with Smart Scale. When using VDI desktops, Load and Load/Schedule based scaling is not supported. When using schedule based only scaling, it is supported but Citrix recommend you use Smart Scale only during times where users log on to machines that are already powered on such as during business hours. When outside of business ours where machies are likely to be powered off, do not use Smart Scale but instead use the XenDesktop built-in power management capabilities. Also with random desktops which power off each time a user logs on, Smart Scale may attempt to power off the machine as well and eventually display an error on the Events and Machine Activity pages.

As the front tile says, “Keep costs of your cloud based deployments under control with usage and schedule based scaling”.

To access Smart Scale, launch Smart Tools and click the Smart Scale tile.

Add Site to Smart Scale:


Any sites you have already added to Smart Tools via Smart Build (agent must be deployed as part of blueprint) or Smart Check will be displayed, including any site with a Site Agent installed on one or more of the Delivery Controllers. XenApp and XenDesktop Service sites do not need added as scaling is directly actioned through the XenApp and XenDesktop Service. If you need to add a site manually, you can always click Add Site. This will allow you to install the Smart Tools Site Agent to one of your Delivery Controllers. The process has been described under Smart Check.

Once your site is added it displays under Smart Scale. Click Get Started.                         

The main page displays each Delivery Group to the left and Delivery Group specific data along the middle pane. Here you can see estimated savings calculated based on the machine running cost per hour. Say for example you have an Azure subscription and run VDAs on machines that cost $1 per hour. If you tell Smart Scale the price, an estimated savings value is calculated based on the amount of time Smart Scale is able to keep a VM powered off. This is the benefit of Smart Scale as it power manages machines when they are not used rather than have all VDAs running at the same time incurring cost. This is quite like the on-premise Power Management capabilities of XenDesktop so nothing new.

In this screen you also have the total amount of VDAs in a Delivery Group, how many sessions are running, how many VDAs are powered on and so on. You also have four tabs below the site name. Smart Scale by default will be disabled on all Delivery Groups so it is up to you to enable on the Delivery Groups of your choice. To enable Smart Scale against a Delivery Group, select a Delivery Group to the left and click Configure.

There is a toggle switch to the right, beside Scaling Disabled. Click the toggle.

The text will change to Scaling Enabled. Scroll down.

Here you can configure capacity management for the Delivery Group.

Using Smart Scale you can control load as follows:

  • Load-based and schedule-based scaling – Create schedules and define how many VDAs you want to be powered on at that time and scale VDAs up or down based on session demand.
  • Schedule-based scaling only – Create schedules (blocks of time) and define how many VDAs you want to be powered on at that time.
  • Load-based scaling only – Based on Session Count or Load Index of the VDAs, scale up or down VDAs to meet demand. Keep in mind that a Delivery Group monitored by Smart Scale must have enough VDAs to meet demand. Smart Scale does not automatically provision and add extra VDAs to Delivery Groups.

By default Load-based and schedule-based scaling is selected with 1 Max session per host. Click the Advanced button.

Here you can adjust the capacity buffer which is by default at 10%. What this means is that if for example you have 20 VDAs in total with 10 users connected on a 1 to 1 basis, an 11th VDA will be powered on (assuming it is not already powered on) to be able to host an 11th session. If you had set the Capacity Buffer to 50%, 15 VDAs should be powered on as 50% of 10 sessions = 5. It is up to you to make sure the Delivery Group has enough VDAs to host session demand. If 100 user sessions are connected, VDA capacity is scaled to support 110 sessions. Power Off Delay is a newer option and specifies if machines should be powered off only after the initial delay has lapsed. Click OK.

You can also set the Scale metric to Load Index, the default value is 10000 and cannot be changed. Load Index is only applicable to Server OS. If the Load Index value is reached, VDAs are power managed appropriately. To read up on Load Index see https://www.jgspiers.com/vda-load-index-xenapp-session-load-balancing/

Create Smart Scale schedules and load scaling:


You also have the option of creating new schedules, which dictates the amount of VDAs minimum that should run at any given time. The Default schedule is used at times where a custom schedule is not active, so one VDA will be powered on during this time. The time is based on local time of your Delivery Controller(s). You can also enter the machine cost for estimated savings. By default this value is 0.06. Beside Schedules, click Create New.

Enter a name, a value for how many machines you want to run and when you want to run them. My Delivery Group has 4 VDAs, so I am telling Smart Scale that I want 2 VDAs to be powered on every day between 8AM and 9PM. Outside of these times the Default Schedule will keep just one VDA online and scale based on demand which is optional. You can instead specify a % of machines that must be powered on during the schedule. For example, 10% of 10 machines is 1 VDA and 10% of 100 VMs is 10 VDAs. As Delivery Groups scale up or down, Smart Scale follows and keeps the correct percentage of machines powered on. Click Create.

The new schedule shows as below. You can create multiple schedules but they cannot conflict with one another.

As a test I will set my Capacity Buffer to 50%.

I will also keep the Session Count at a maximum of 1 session per host.

Click Return to Site Monitoring.

To recap, my Delivery Group has 4 VDAs in total. I have restricted each VDA to only launch a maximum of 1 session and told Smart Scale to keep a minimum of 2 VDAs powered on during 8AM-9PM every day. I have also set the Capacity Buffer to 50% so that when a second session is launched a third VDA is powered on. To show this working, click on Machine Activity. Here you see two VDAs have been powered on to meet my schedule demands. The Machine Activity tab shows which machines have been powered on/off and been placed into maintenance mode.

If you click on the Events tab you will see similar information.

You can change the time range up to a month. The Machine Activity tab allows you to do the same.

Two sessions have now been launched against VDA2 and VDA4.

Shortly after VDA1 is powered on, as the previous two sessions triggered the Capacity Buffer.

As a third session connects to VDA1 and then logs off, VDA1 is placed in Maintenance Mode to prevent anyone else connecting and it is then powered off. Smart Scale selects the VDA with fewest sessions and places in maintenance mode. Once the machine has drained of sessions it is powered off. At this stage if the VDA was hosted in the public cloud we would be saving money.

Note: To ensure machines are adequately drained, create idle and disconnected session policies.

The Site Details tab shows brief information about your site Delivery Groups and Delivery Controller(s) including status as indicated by the green tick. You can force a site data sync, remove the site from Smart Scale or edit the Site Credentials.

Note: Site Credentials must be of an account that is a member of atleast the Delivery Group Administrator role in Citrix Studio and part of the Domain Users group. This account is used to impersonate the Site administrator and execute monitoring and scaling actions.

Using the verticle elipsis you can perform the same actions including turning off Smart Scale for a site. Smart Tools can automatically turn off Smart Scale on your Site if none of your Delivery Groups are configured for power management through Smart Scale or no Smart Scale events such as powering on or off have been generated in the last 30 days.

Smart Scale monitoring data is collected every 5 minutes for a Delivery Group when you enable Smart Scale for that Delivery Group. There may be a slight intial delay in displaying monitoring data when you first add a Site to Smart Scale. If Smart Scale is later disabled, no new monitoring data is captured but you can still view previously collected monitoring data.

Enable or Disable Smart Scale error event notifications:


Browse to Resources & Settings -> Notifications and enable/disable Smart Scale error events.

Remove Site from Smart Scale:


To remove a Site from Smart Scale you can either uninstall the Smart Tools Site agent from your Delivery Controller(s) which unregisters the Site completely from Smart Tools, or you can remove the Site from Smart Scale which also removes the Site from Smart Check but keeps the agent installed on your Delivery Controller(s).

Note: XenApp and XenDesktop Service sites cannot currently be removed from Smart Scale. It is recommended to just disable Smart Scale if you do not want to use it.

To do this click on the Site you want to remove and click Site Details -> Remove Site.

Click Remove.

Troubleshoot Smart Scale events:


For a list of events and troubleshooting tips see https://manage-docs.citrix.com/hc/en-us/articles/115002373886-Troubleshoot-Smart-Scale-events

Launch Citrix Desktops and Applications in Windowed Mode

$
0
0

This post explains how to launch Desktops and Applications in Windowed Mode using specific resolutions or a percentage of the screen.

By default when we launch applications and desktops they launch seamlessly as if running on the local endpoint. If applications and/or desktops behave in a way were seamless does not suit, you may want to consider launching those problematic resources in Windowed Mode instead.

Launching in Windowed Mode is easy and can be set up per resource. You can either define a static resolution or define a percentage of the screen.

On your StoreFront server(s), navigate to C:\inetpub\wwwroot\Citrix\CitrixStore\App_Data.

Note: Your path will be different depending on your Store name.

Now launch default.ica in a text editor.

To set a specific resolution underneath Application= type in brackets [] the name of your application as displayed in Citrix Studio. Underneath type the [Application] name type:

TWIMode=Off

DesiredHRES=

DesiredVRES=

The resolution is up to you.

Save the default.ica file. The next time youu launch a resource it will display as below in Windowed Mode:

To set the Windowed Mode as a percent of the screen, replace DesiredHRES= and DesiredVRES=with ScreenPercent=. This works well especially for published desktops.

Citrix Support Fix List

$
0
0

A list containing the majority of Citrix support articles collated to make this page a one stop place for you to search for and find information regarding any issues you have with the main Citrix products and their related dependencies.

The page is updated daily with new support articles and information. Articles will change from time and if information here is outdated or incorrect please let me know using the comments. Links may also expire or change so if you find broken links, please let me know. For each issue, known product versions affected are recorded however that does not mean products versions that aren’t listed are not affected.

Each product table has a search box that you can type in to if looking for a specific fault. For example if you have an error code or message, use that to perform a search. You can also use your browsers search feature which will perform a search against the whole page based on the words you enter.

♣ App Layering
♣ AppDNA
♣ Azure, Citrix XenApp Essentials and XenDesktop Essentials
♣ Citrix Cloud
♣ Desktop Lock
♣ Director
♣ Federated Authentication Service
♣ Internet Explorer/Firefox/Chrome
♣ Licensing
♣ Machine Creation Services
♣ NetScaler
♣ NetScaler Management and Analytics System
♣ Profile Management
♣ Provisioning Services
♣ Receiver for Android
♣ Receiver for HTML5
♣ Receiver for iOS
♣ Receiver for Linux
♣ Receiver for Mac
♣ Receiver for Windows
♣ SCOM Management Pack
♣ ShareFile
♣ Skype for Business
♣ StoreFront & Receiver for Web
♣ System Center Configuration Manager
♣ Thin Clients
♣ Universal Print Driver & Server, General Printing
♣ VMware ESX
♣ Windows 10
♣ Windows Server 2016
♣ Workspace Environment Management
♣ XenApp & XenDesktop (excluding Machine Creation Services)
♣ XenMobile
♣ XenServer

App Layering:

AppDNA:

Azure, Citrix XenApp Essentials and XenDesktop Essentials:

Citrix Cloud:

Desktop Lock:

Director:

Federated Authentication Service:

Internet Explorer/Firefox/Chrome

Licensing:

Machine Creation Services:

NetScaler:

NetScaler Management and Analytics System:

Profile Management:

Provisioning Services:

Receiver for Android:

Receiver for HTML5:

Receiver for iOS:

Receiver for Linux:

Receiver for Mac:

Receiver for Windows:

SCOM Management Pack:

ShareFile:

Skype for Business:

StoreFront & Receiver for Web:

System Center Configuration Manager:

Thin Clients:

Universal Print Driver & Server, General Printing:

VMware ESX:

Windows 10:

Windows Server 2016:

Workspace Environment Management:

XenApp & XenDesktop (excluding Machine Creation Services):

XenMobile:

XenServer:

Viewing all 85 articles
Browse latest View live