FSLogix Logon Failure: Temp Profiles, "Cannot Load" and Black Screens
By Jay H.Published Updated 11 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.
Users having trouble loading their profiles? Talk it through with a Sessionright engineer: 15 minutes, free.
On 23 September 2026 Microsoft updated an entry in its FSLogix known issues: after the September Windows update KB5124008, users on FSLogix 2210 hotfix 4 (2.9.8884.27471) or later can get a black screen at sign-in because explorer.exe crashes during shell start-up. The entry is still marked "In progress" (FSLogix known issues), but Windows release health lists the same symptom as resolved by the Windows updates released on 13 October 2026, KB5127648 for Windows 11 24H2 and 25H2 and KB5127646 for 26H1 (Windows release health). Check the host's update level first. So a black screen is now one of three ways an FSLogix logon failure shows up on an Azure Virtual Desktop or Citrix® session host. The other two are older: a temporary profile, and a sign-in that FSLogix blocks with a "call support" prompt.
This guide shows how to tell the three apart, which Profile log line points to which cause, and the fixes for locks, permissions, size and a profile reset. For deeper container recovery, see our FSLogix profile troubleshooting guide.
The three failure shapes and how to tell them apart
Ask the user what they saw, then confirm it in the Profile log.
| Shape | What the user sees | What the Profile log shows | Settings involved |
|---|---|---|---|
| Temp profile | A desktop that isn't theirs, with their files missing | LoadProfile failed with an error in brackets |
PreventLoginWithFailure and PreventLoginWithTempProfile left at 0 |
| Cannot load | FSLogix's support prompt. Signing out is the only option | LoadProfile failed, then Begin Session: StartShell |
Either setting at 1 |
| Black screen | Black screen instead of the desktop | Often Status set to 0: Success and Reason set to 0: The container is attached |
None. Usually the shell, the network or storage |
Sources: configuration reference, temp profile article, error codes.
FSLogix has two lookalikes that aren't attach failures:
- A new, empty profile that isn't temporary. The folder under
C:\Users\has the user's normal name, but the desktop is unfamiliar. Microsoft's documented cause:FlipFlopProfileDirectoryName,SIDDirNameMatch,SIDDirNamePattern,VHDNameMatchorVHDNamePatternchanged after containers existed, so FSLogix created a new one. The original data is intact at the old path. Revert the setting, restartfrxsvcand have the user sign in again (old, temp or local profiles). Don't reset anything. - RemoteApp users aren't blocked. Remote applications don't start the Windows shell, so FRXShell can't hook them, and Microsoft lists no workaround (same article).
For the black screen, Microsoft documents two causes. The first is the KB5124008 issue above. The second was a fixed bug in 2210 (2.9.8361.52326), triggered by RoamRecycleBin; the fix is to install the latest version (known issues). A session can also look hung when the VM can't reach or resolve the container's UNC path, and it recovers if the connection comes back (hung sessions).
A decision tree from the Profile log and event IDs
Open the newest Profile_%date%.log in C:\ProgramData\FSLogix\Logs\Profile. Search for LoadProfile: <samaccountname> at the time of the complaint, note the process ID, and read from Begin Session: Logon to loadProfile time: (logging and diagnostics). Warning and error lines carry a hex Windows system error code; our FSLogix logs guide covers the format.
FSLogix also stores a Status, Reason and Error value for each session under HKLM\Software\FSLogix\Profiles\Sessions\%sid% (error codes). To read them:
Get-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles\Sessions\<user SID>'
Then work down this list and stop at the first match:
- No
LoadProfile:line for the user. FSLogix didn't handle the sign-in. CheckEnabledis1underHKLM\SOFTWARE\FSLogix\ProfilesandVHDLocationsis set (REG_SZ, semicolon-delimited, is preferred) (old, temp or local profiles). Reason set to 1,2or3. The user isn't in the include group, is in the exclude group, or already has a local profile on this host (error codes).Operation 'AcquireExclusiveLock' failedorErrorCode set to 33. The container is in use. See the next section.[ERROR:00000005]with(Access is denied.). Permissions.[ERROR:0000052e] FindFile failedwith(The user name or password is incorrect.)andStatus set to 27. The host can't authenticate to the share (old, temp or local profiles).- An attach error on a container close to
SizeInMBs. Size. See the size section. Status set to 0: Success, but the user saw a black screen. It's the shell. Check the known issues page and the FSLogix version.
In Event Viewer, FSLogix writes to Applications and Services Logs > FSLogix, mostly to the Admin and Operational logs under Apps (logging and diagnostics). Don't chase the two event ID 26 errors on Entra-only devices. Microsoft says they're expected and safe to ignore (known issues). Our event ID guide maps the other documented IDs.
Locked or in-use VHDX
By default, a user can use their container in only one connection. FSLogix holds an exclusive lock on it for the whole session (container locked or in use). If the user starts a session on a second host without signing out of the first, Microsoft documents this sequence (old, temp or local profiles):
[ERROR:000000a7] Operation 'AcquireExclusiveLock' failed. Retrying %x time(s) at %y second intervals (Unable to lock a region of a file.)
[INFO] Status set to 1: Cannot load user's profile
[INFO] ErrorCode set to 33 - Message: The process cannot access the file because another process has locked a portion of the file.
FSLogix retries LockedRetryCount times, 12 by default, waiting LockedRetryInterval seconds between tries, 5 by default (configuration reference). Raising them only makes users wait longer. Also note that Microsoft's access-denied example begins with Attach vhd(x) failed, file is locked and ends with (Access is denied.) (same article). Trust the text in brackets.
To release a lock (SMB open handles):
- Find the user's other sessions with
qwinsta, or check the Users tab in Task Manager, on every host that uses the same container. Sign those sessions out. - Windows file server: open Computer Management > Shared Folders > Open Files, find the user's container, then right-click it and choose Close Open File.
- Azure Files: list and close the handles. These cmdlets need Az PowerShell 2.4 or later (Azure Files SMB troubleshooting). The parameters come from Get-AzStorageFileHandle and Close-AzStorageFileHandle:
Get-AzStorageFileHandle -Context $ctx -ShareName '<share>' -Path '<user folder>' -Recursive | Sort-Object ClientIP,OpenTime
Close-AzStorageFileHandle -Context $ctx -ShareName '<share>' -Path '<user folder>' -Recursive -CloseAll -PassThru
- Azure NetApp Files: Microsoft points to managing SMB sessions and open files through MMC (SMB open handles).
Two settings prevent repeats. CleanupInvalidSessions (HKLM\SOFTWARE\FSLogix\Apps, DWORD 1, default 0) makes FSLogix clean up sessions that ended abruptly (configuration reference). In 26.01 (3.26.102.18413), turning it on with both Profile and ODFC containers stopped ODFC containers from being created or mounted. Microsoft marks it fixed and says to install the latest version (known issues). The other is ProfileType: concurrent or multiple connections need 3 (differencing disks), and you shouldn't mix 0 with other values. Concurrent connections are not supported on session hosts in an Azure Virtual Desktop host pool, and OneDrive doesn't support them at all (concurrent or multiple connections).
A user who reconnects before sign-out compaction finishes also finds the disk in use and, by default, gets a temp profile (FSLogix FAQ).
Permissions and share reachability
Microsoft calls storage permissions one of the most commonly misconfigured FSLogix settings (old, temp or local profiles). First, check the network path from the host (long or failed sign-ins):
Test-NetConnection -ComputerName <server-fully-qualified-domain-name> -CommonTCPPort SMB
For Azure Files, System error 53 or System error 67 can mean outbound port 445 is blocked. A proxy or NAT device can still break the connection even when Test-NetConnection succeeds on 445 (Azure Files SMB troubleshooting).
Next, browse to the VHDLocations path as the user and try to create a file. If you can reach the path but can't write to it, fix the ACLs. If you can't reach the path at all, suspect network or DNS (attach or detach). Microsoft recommends these ACLs (storage permissions):
| Principal | Access | Applies to |
|---|---|---|
| CREATOR OWNER | Modify | Subfolders and files only |
| Your admin group | Full Control | This folder, subfolders and files |
| Your user group | Modify | This folder only |
icacls \\<server>\<share> /inheritance:r
icacls \\<server>\<share> /grant:r "CREATOR OWNER":(OI)(CI)(IO)(M)
icacls \\<server>\<share> /grant:r "<DOMAIN>\<admin group>":(OI)(CI)(F)
icacls \\<server>\<share> /grant:r "<DOMAIN>\<user group>":(M)
On Azure Files, Microsoft recommends setting the default share-level permission to Storage File Data SMB Share Contributor. Setting Windows ACLs without the storage account key needs Storage File Data SMB Share Elevated Contributor (storage permissions).
The April 2026 Windows Server update changes the default Kerberos encryption type from RC4 to AES-SHA1, and shares not yet on AES-SHA1 "might have access issues" (attach or detach). If access-denied errors started after patching, check that first; Kerberos setup per storage type is in our FSLogix profile troubleshooting guide.
Size and disk-full
There are two separate limits: the container's own size and the free space on the share.
The container. SizeInMBs sets the maximum container size, 30000 by default. You can raise it at any time and existing containers grow at the next sign-in. Lowering it doesn't shrink them. With IsDynamic at its default of 1, the disk uses only the space it needs, but it still can't grow past SizeInMBs (configuration reference). To check a container (long or failed sign-ins):
- Read
SizeInMBson the session host. - Find the user's VHD(x) on the share, open Properties and note Size on disk.
- Compare the two. Microsoft notes that "the container must have more than 200 MB to attach successfully".
- If it's full, raise
SizeInMBs. The change applies to every user with a dynamic disk. Clean up the container out of hours. Disk compaction at sign-out, on by default since 2210 (2.9.8361.52326), then reclaims the space (container size).
Adding exclusions to redirections.xml won't remove data that's already in a container (container size).
The share. A full storage provider means no new containers (so a temporary or local profile), hung sessions, and failed attach or detach (old, temp or local profiles). Microsoft recommends an alert when free space drops below 20% (container size).
The documented reset procedure
Microsoft has no single "reset profile" page. These steps combine what the FSLogix docs state:
- Rule out the lookalikes first. If a folder-naming setting changed, revert it instead. The data is intact at the old path (old, temp or local profiles).
- Sign the user out everywhere (
qwinstaon each host) and close any open handles on the container, as in the locked VHDX section. - Move the container folder out of the
VHDLocationspath. Microsoft's wording is "Delete the user's profile container", with a data-loss warning (container size). We move or rename it instead, so the data stays recoverable. - Deal with leftover local profiles. If the log shows
Reason set to 3,DeleteLocalProfileWhenVHDShouldApply=1makes FSLogix permanently delete the local profile and attach the container instead. Check which local profiles exist before you turn it on (configuration reference). - Sign the user in. If no container is found, FSLogix creates one in the first listed
VHDLocationspath (configuration reference). ConfirmStatus set to 0: SuccessandReason set to 0: The container is attachedin the Profile log (error codes). - Restore data from the old container. The mount-and-copy steps are in the FSLogix profile troubleshooting guide linked above.
If the whole host is unhealthy, start with our AVD session host unavailable guide.
FAQ
Why does FSLogix keep creating a temp profile?
By default, FSLogix lets a user sign in with a temporary profile when the container fails to attach. The usual documented causes are a container in use elsewhere, storage permissions and a full share. The user's LoadProfile lines in the Profile log tell you which.
What does "Cannot load user's profile" mean in FSLogix?
It's status code 1, written to the Profile log as Status set to 1: Cannot load user's profile. It tells you the load failed, not why. The ErrorCode set to line and the bracketed error text that follow give the actual cause.
How do I stop users signing in with a temp profile?
Set PreventLoginWithTempProfile or PreventLoginWithFailure to 1 under HKLM\SOFTWARE\FSLogix\Profiles. Users then get FRXShell's support prompt and can only sign out. RemoteApp sessions aren't blocked.
How do I reset an FSLogix profile?
Sign the user out everywhere, close open handles and move the container folder out of the VHDLocations path. FSLogix creates a new container at the next sign-in.
Why do users get a black screen at logon with FSLogix?
Microsoft is tracking explorer.exe crashes at sign-in after KB5124008 on FSLogix 2210 hotfix 4 and later, "In progress" as of 23 September 2026. Windows release health lists the issue as resolved by the 13 October 2026 Windows updates (KB5127648 for Windows 11 24H2 and 25H2), so install those first. An unreachable profile share can also make a session look hung.
Does increasing SizeInMBs fix a full profile?
Yes, for the container limit: existing containers grow at the next sign-in. It doesn't help if the share itself is full.
Want a second pair of eyes?
Sessionright's assessment reviews your FSLogix settings, session host health and profile share configuration across your Azure Virtual Desktop host pools. You get an evidence-backed report reviewed by a Sessionright engineer. It's read-only by default. If you later act on the findings through Sessionright, every change is approved by a person and logged (security). If you would rather talk it through, book a 15-minute call: no install, no sales deck.
Sources
- Microsoft Learn: FSLogix known issues
- Microsoft Learn: Windows release health, resolved issues in Windows 11, version 24H2
- Microsoft Learn: Troubleshooting issues with old, temporary, or local profiles
- Microsoft Learn: FSLogix codes and what they mean
- Microsoft Learn: FSLogix configuration setting reference
- Microsoft Learn: FSLogix logging and diagnostics
- Microsoft Learn: Troubleshooting issues with container locked or in use
- Microsoft Learn: Troubleshooting issues with SMB file share open handles
- Microsoft Learn: Troubleshooting issues with container attach or detach
- Microsoft Learn: Troubleshooting issues with container size or low disk space
- Microsoft Learn: Troubleshooting issues with long or failed sign-ins
- Microsoft Learn: Troubleshooting issues with hung sessions
- Microsoft Learn: Concurrent or multiple connections to a single container
- Microsoft Learn: Configure SMB storage permissions
- Microsoft Learn: FSLogix FAQ
- Microsoft Learn: Troubleshoot Azure Files SMB connectivity and access issues
- Microsoft Learn: Get-AzStorageFileHandle
- Microsoft Learn: Close-AzStorageFileHandle
Want this watched for you, with the fix drafted before you ask?
Sessionright is an AI operator for Azure Virtual Desktop: it checks session hosts, scaling plans, FSLogix and cost continuously, attaches the evidence, and proposes fixes for a named approver to sign. It has run against simulated estates and Sessionright's own Azure lab tenant so far. To see what it finds on your own estate, run the free assessment: one command in Azure Cloud Shell reads your estate, never changes it, and writes an HTML report in about five minutes for a typical estate. Your estate data stays with you unless you choose to email yourself the HTML report through Sessionright. Design partner program: 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. Outside the program the onboarding assessment is $2,500, up to 500 users, one tenant.
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.
Related guides
- FSLogix Profile Not Loading? Event IDs, Temp Profiles and Fixes
Fix FSLogix profiles that fail to attach or fall back to a temp profile: read the logs, decode status codes, check Azure Files Kerberos and recover containers.
- Citrix Slow Logon: A Methodical Troubleshooting Guide
Fix a Citrix slow logon by phase: read Director's logon duration bars, then work through brokering, GPOs, profiles, WEM, black screens and black hole machines.
- FSLogix Event ID 26 and the Other FSLogix Event IDs That Matter
What FSLogix event ID 26 means, when Microsoft says to ignore it, the other event IDs it documents, and how to trace each event into the Profile log.
- FSLogix Profile Status Tool: Tray App, frx and PowerShell Checks
The FSLogix tray tool (frxtray.exe) is retired. Check container status with the Sessions registry key, frx commands, Cloud Cache cmdlets and event logs.
- FSLogix Logs Location: Where They Are and How to Read Them
Find FSLogix logs on a session host, set LoggingLevel, LogDir and retention, read one sign-in in the Profile log and collect everything for Microsoft support.
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.