Sessionright

Citrix® Slow Logon: A Methodical Troubleshooting Guide

By Jay H.Published Updated 10 min read

Jay H. · Founder, Sessionright
Founder of Sessionright. Twenty years running Citrix, NetScaler, Citrix Cloud, NetScaler Console, Azure and Azure Virtual Desktop estates; writes the guides and reviews the platform's rules.

Stuck on this right now? Talk it through with a Sessionright engineer: 15 minutes, free.

Citrix's Director documentation, last published on 9 November 2026, calls Interactive Session "normally the longest duration out of all the phases of the logon process" (Citrix docs). That doesn't make it your problem: a slow logon is a chain of phases with different owners.

This guide starts with measurement, then takes each phase in order for Citrix Virtual Apps and Desktops (CVAD) and Citrix DaaS. You'll finish with a named phase, evidence and a documented fix.

Measure first: Director logon duration phases

Director's phase data has two limits. It covers initial HDX connections only, not RDP or reconnects, and it supports only the default explorer.exe shell (Citrix docs). The DaaS Monitor page describes the same view.

  1. Check the prerequisites on the VDA: Citrix User Profile Manager and its WMI Plugin installed, and the Citrix Profile Management Service running.
  2. Create a GPO that sets Computer Configuration > Windows Settings > Security Settings > Local Policies > Audit Policy > Audit process tracking to Success, and link it to the VDAs.
  3. Increase the Group Policy operational log. Its default size is 4 MB, and the GPO drilldown reads from it, so older entries can be overwritten.
  4. Open User Details view > Session Logon tab and hover over each bar. The tooltip shows the current session, the user's 7-day average and the delivery group's 7-day average.
  5. Read the gap. One user far above the group average suggests their profile. Citrix lists new applications, OS updates, configuration changes and large profiles as causes.
  6. Check the Logon and Reconnect Performance tab in Trends for a site-wide pattern.

Phases overlap, so the bars won't sum to the total.

Phase What it measures Go to
Brokering Choosing the desktop to assign Brokering and VM start
Machine Start-up Power On, then Boot-up and registration Brokering and VM start
HDX connection, Authentication Client-to-VM connection, then authentication Session startup metrics below
GPOs, Logon scripts Policy and script run time GPOs and scripts
Profile load Loading the user's profile Profile section
Interactive Session Profile loaded (VDA event 2) to desktop ready (VDA event 1000) GPOs and scripts, WEM, black screen

Director's session startup metrics cover the client side too, on Delivery Controller 7 1906 or later and VDA 1903 or later with the End User Experience Monitoring service running. High Launch Page Web Server Duration (LPWD) points at StoreFront, and high Ticket Response Web Server Duration at an overloaded STA or Controller. High ICA File Download Duration with a normal LPWD points at the network between client and StoreFront.

For fleet-wide numbers, the Monitor Service API exposes these timestamps per connection. This read-only query uses the documented on-premises URL form and NTLM (DaaS uses the cloud endpoint and a bearer token):

$base = 'https://ddc01.example.local/Citrix/Monitor/OData/v4/Data'
$from = (Get-Date).ToUniversalTime().AddDays(-1).ToString('yyyy-MM-ddTHH:mm:ss.fffZ')
$q = "Connections?`$filter=LogOnStartDate ge $from and IsReconnect eq false" +
     "&`$select=SessionKey,BrokeringDuration,GpoStartDate,GpoEndDate,ProfileLoadStartDate,ProfileLoadEndDate,InteractiveStartDate,InteractiveEndDate"
(Invoke-RestMethod -Uri "$base/$q" -UseDefaultCredentials -Headers @{ Accept = 'application/json' }).value

Other tools measure the same chain, and the method here doesn't depend on one. uberAgent integrates with Director to add AppX load phases, and Citrix's WEM how-to runs analyzeLogonDuration.ps1, a script for a per-phase breakdown.

Brokering and VM start

Machine Start-up appears only when the session needed a machine started. Citrix says a slow bar might be a hypervisor issue, so escalate to that administrator. If Boot-up and registration dominates, use the VDA unregistered guide.

List machines the Broker already flags (SDK):

Get-BrokerMachine -FaultState FailedToStart
Get-BrokerMachine -FaultState StuckOnBoot

If users regularly wait for power-on, the fix is capacity. The default Autoscale Weekdays schedule keeps one machine on from 07:00 AM to 06:30 PM during peak and none off-peak, with a 10% capacity buffer (Citrix docs). A larger buffer shortens the wait and costs more.

For published applications, session prelaunch starts sessions before they are requested. It is off by default and needs Citrix Workspace app for Windows with extra client configuration.

GPOs and scripts

Director's GPO bar reports time per client-side extension (CSE), and those figures don't add up to the GPO total. To cross-check on the VDA, filter the Group Policy operational log for events 4016 and 5016, which mark a CSE starting and finishing, and generate a report:

gpresult /h gp.html

Synchronous processing

In synchronous mode, the user logon process doesn't complete until user policy is applied. Multi-session VDAs differ from clients here. Microsoft says "Always wait for the network at computer startup and logon" takes effect on a server only if it is a terminal server with "Allow asynchronous user Group Policy processing when logging on through Terminal Services" enabled. Otherwise the policy is ignored and processing at user logon is synchronous.

On non-persistent machines, the registry value that selects asynchronous mode is machine-level and doesn't roam. Citrix's Enable asynchronous processing for user Group Policy on logon policy roams it with the user. On Windows Server it needs the RDSH role, "Always wait for the network" set to Disabled and the Allow asynchronous policy set to Enabled.

Logon scripts

Printers and drives

Session startup metrics include printer creation and drive mapping durations. Citrix ties long printer times to auto-creation policy and the number of client printers. By default all client printers are auto-created, and Citrix warns that the "Held in profile only if not saved on the client" retention option can slow logon. Check whether Wait for printers to be created has been enabled, because it deliberately delays the connection.

Profile: Citrix Profile Management and FSLogix

Click Details on the Profile Load bar for each root folder's size and file count, excluding redirected folders. Then read the Profile Management log, #computername#.#domainname#_pm.log in %SystemRoot%\system32\LogFiles\UserProfileManager, and find the total:

DispatchLogonLogoff: ---------- Finished logon processing successfully in [s]: <10.22>.

Profile Management event 22 records slow file access from the user store, and event 5 records the selected store and its network latency.

By default, Profile Management fetches the entire profile at logon, so size matters.

Policy Effect at logon Note
Profile streaming, Enable profile streaming for folders Files fetched when accessed; registry always fetched at logon Confirm with PSEnabled=<1> in the log
Accelerate folder mirroring Recommended alongside streaming Disabled by default from 2603 and 2507 CU2
Large File Handling Files created as symbolic links Citrix calls large files a common cause of slow logon
Profile container VHDX mounted, folders available immediately Default capacity 50 GB

The streaming page says it is enabled by default from 2402, yet also says it is disabled if not configured, so check the log. If you edit the streaming exclusion list by hand, keep the default excluded folders, or logons can hang.

Citrix reports logon falling from 53.81 s to 1.80 s with streaming and folder mirroring, and to 2.66 s with a profile container. That test used a profile holding a 2.6 GB ISO, so it isn't a forecast.

For FSLogix, follow the FSLogix troubleshooting guide. On VDA 2407 or later, the Profile Load bar includes FSLogix time, so a bigger bar after an upgrade isn't necessarily a regression.

WEM: what the agent does during logon

Workspace Environment Management can lengthen logon when configured to hold the user. Check these Advanced Settings:

  • Await policy and JSON file processing on logon: users wait until GPOs and JSON objects are processed.
  • Process printers asynchronously and Process network drives asynchronously: the agent doesn't wait for other actions.
  • Use cache to accelerate actions processing: on by default. Confirm nobody turned it off.

An external task set to wait for completion has a default 30-second timeout. And with the agent install value SyncForegroundPolicy set to 1, the WEM Agent User Logon Service delays logons until user Group Policy processing completes.

Agent Insights shows logon duration and the Tool Hub offers Windows Logon analysis. The agent writes Citrix WEM Agent.log to %userprofile% (log files).

Shell and black screen

Interactive Session has three subphases: Pre-userinit overlaps GPOs and scripts, Userinit runs to the start of the user interface, and Shell runs to keyboard and mouse handover.

CTX695116 explains why slow shells can look like display faults: logonui.exe exits after a 30-second timeout if Explorer hasn't shown the desktop, leaving nothing to render the screen. So measure Userinit and Shell before you touch graphics policy.

Symptom Documented cause Fix
Same-length black screen after Welcome, every new session, non-persistent VDI DelayedDesktopSwitchTimeout set to 1 under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Remove the value, then update the catalog (CTX695116)
Static black screen after Welcome, after moving to a Windows 11 image Incorrect or missing NTFS permissions on profile folders migrated to a new user store Correct the permissions (CTX696702)
Black screen at launch with FSLogix 2201 HF1 2402 LTSR known issue HDX-46159 Upgrade FSLogix (known issues)
Grey screen on first ICA session after a reboot CVADHELP-25955 Fixed in 2402 CU2
Black screen during launch on Windows 11 24H2 CVADHELP-28459 Fixed in 2402 CU3

CTX696702's title names 2402 CU3 and later, but its stated cause is permissions, so check those before planning an upgrade.

To see where a session is stuck, enable Display highly detailed status messages. Microsoft's black screen guide adds checking that the Winlogon Shell value is explorer.exe.

Black hole machines

A black hole machine is registered and looks healthy but doesn't service the sessions brokered to it. Citrix's Insights page defines it as four or more consecutive failed session requests, and excludes failures due to capacity or licence availability. Named causes include insufficient RDS licences and intermittent networking issues. In Citrix Analytics for Performance, the Machine Statistics page says three or more but the Alerts page says four, so check your alert conditions.

  1. In Director's Filters > Machines view, add the Consecutive Failures Count and Is Blackhole columns.
  2. Check the default Black hole alert policy. It scans every 15 minutes, but it has no notifications configured out of the box, and disabling it can stop the Insights panel refreshing. Alerts need a Premium licensed site.
  3. Follow Citrix's actions: check the RDS licence, put the machine in maintenance mode, then reboot.

Without alerts, this read-only query counts failures per machine from the connection log. It counts failures, not consecutive ones, and entries are removed after 48 hours by default:

$when = [DateTime]::Now - [TimeSpan]::FromHours(24)
Get-BrokerConnectionLog -Filter {BrokeringTime -gt $when} -MaxRecordCount 10000 |
  Where-Object { $_.ConnectionFailureReason -and $_.ConnectionFailureReason -ne 'None' } |
  Group-Object MachineDNSName, ConnectionFailureReason | Sort-Object Count -Descending

The only state-changing command here is maintenance mode, which makes a machine unavailable for new sessions:

$m = Get-BrokerMachine -MachineName 'DOMAIN\VDA01'
Set-BrokerMachineMaintenanceMode -InputObject $m $true

No Citrix page checked for this guide describes a Broker feature that pulls a black hole machine out of rotation by itself. The closest automatic behaviour concerns registration: per CTX137376, a VM that fails to register three times in succession goes into maintenance mode, under the default MaxFailedRegistrationsAllowed of 2.

FAQ

What is a good Citrix logon time?

Director's logon documentation gives no target. Its method is relative: compare each phase with the user's and delivery group's 7-day averages.

Why is Interactive Session slow on Citrix?

It runs from profile load to desktop ready, so it overlaps GPOs and scripts. Enable Audit process tracking to separate the subphases, then check logon scripts and WEM actions.

Does WEM cause slow logons?

It can when configured to wait. Check "Await policy and JSON file processing on logon", SyncForegroundPolicy and external tasks first.

Why does a Citrix VDA show a black screen at logon?

One documented cause is Explorer not showing the desktop before logonui.exe times out. Also check DelayedDesktopSwitchTimeout, profile folder permissions and your VDA and FSLogix versions.

What is a Citrix black hole machine?

A registered machine that has failed four or more consecutive session requests. Director flags it; the remedy is manual.

FSLogix vs Citrix Profile Management: which logs on faster?

The Citrix and Microsoft pages checked for this guide publish no head-to-head result. Microsoft says the function is similar but the underlying technology differs, so test both with your own profiles and compare Profile Load.

Want a second pair of eyes?

The Sessionright assessment is a read-only review of a Citrix environment. Sessionright for Citrix is read-only by default too: every change it proposes waits for your approval and is logged (security model). For a wider baseline, work through the Citrix health check checklist. If you would rather talk it through, book a 15-minute call: no install, no sales deck.

Sources

Want these checks and evidence reviewed with an engineer?

Sessionright assesses Citrix sites and NetScaler® Gateway with read-only access and attaches the evidence to its findings. Citrix assessment is read-only today; a Sessionright engineer guides manual work. Nightpatch provides NetScaler upgrade plans. 90-day free Operator pilot, then 50% off year 1; list price at signing held to month 24. Engineer-led assessments are 50% off for design partners. It has run against simulated estates and Sessionright's own Azure lab tenant so far. Outside the program the onboarding assessment is $5,500, one site, up to 1,000 users, up to 2 HA pairs.

Not ready for that? Talk to a Sessionright engineer: 15 minutes, free, and you leave with a next step.

Or get the next guide by email. One email per new guide, no marketing list.

New Sessionright guides by email. No marketing drip; unsubscribe in one click.

Related guides

Citrix and NetScaler are trademarks of Citrix Systems, Inc. and/or its affiliates. Azure is a trademark of the Microsoft group of companies. Sessionright is not affiliated with or endorsed by Cloud Software Group, Citrix or Microsoft.