Sessionright

FSLogix Profile Not Loading? Event IDs, Temp Profiles and Fixes

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 landing on temporary profiles? Talk it through with a Sessionright engineer: 15 minutes, free.

Every FSLogix troubleshooting page on Microsoft Learn now opens with the same warning. The April 2026 Windows Server update changes the default Kerberos encryption type from RC4 to AES-SHA1, and shares hosting FSLogix containers that haven't been upgraded "might have access issues" (FSLogix logging and diagnostics). That's now one more reason a user can land on a temporary profile on an Azure Virtual Desktop or Citrix® session host. The familiar causes still apply: permissions, a locked VHDX, a full container and antivirus.

This guide goes from evidence to fix. You'll read the logs, decode the codes Microsoft documents, check storage permissions and Kerberos, handle Cloud Cache and salvage a damaged container.

Where FSLogix logs live and how to read them

FSLogix writes three kinds of logs: Windows event logs, text logs and ETL traces. Microsoft says the ETL traces are "intended for Microsoft Internal Use only", so work with the first two (logging and diagnostics).

Step 1: Read the profile log

Text logs are in C:\ProgramData\FSLogix\Logs, and the one you need is Profile\Profile_%date%.log. Search for LoadProfile: <samaccountname>, check that the time matches the user's complaint, and note the process ID. Then follow that ID from Begin Session: Logon through to loadProfile time:. Each line starts with [INFO], [WARN:xxxxxx] or [ERROR:xxxxxx], and warnings and errors carry an error code (logging and diagnostics).

Select-String -Path 'C:\ProgramData\FSLogix\Logs\Profile\Profile*.log' `
  -Pattern 'LoadProfile', '\[ERROR', 'Status set to', 'Reason set to', 'ErrorCode set to'

Logging settings are under HKLM\SOFTWARE\FSLogix\Logging. LogFileKeepingPeriod defaults to 2 daily files, with a maximum of 180. Raise it if users report failures days after they happen (configuration settings).

Step 2: Check the event logs

In Event Viewer, open Applications and Services Logs > FSLogix. Profile events go to the Admin and Operational logs under Apps. Cloud Cache events go to the logs under CloudCache (logging and diagnostics). Microsoft's known-issues page gives the full channel name, Microsoft-FSLogix-Apps/Operational, with source Microsoft-FSLogix-Apps (known issues).

Step 3: Read the session state

For each user, FSLogix records a Status, a Reason and a Windows Error under HKLM\Software\FSLogix\Profiles\Sessions\<SID> (FSLogix codes). These are the status codes you'll meet most often:

Status Name Meaning
0 STATUS_SUCCESS Success
1 ERROR Can't load user's profile
9 ERROR_CREATE_VHD Can't create virtual disk
12 ERROR_ATTACH_VHD Can't attach to virtual disk
25 ERROR_PER_SESSION_VHD Maximum sessions reached
26 ERROR_DETACH_VHD Can't detach virtual disk at the provided location
27 ERROR_FIND_VHD Can't find virtual disk at the provided location

Reason codes explain why FSLogix deliberately skipped a container:

  • 1: the user isn't in the include group.
  • 2: the user is in the exclude group.
  • 3: a local profile exists.
  • 7: Windows created a temporary profile.
  • 8: the session isn't an Azure Virtual Desktop session.
  • 9: the profile load failed.

If you see reason 8 on a Citrix host, check IgnoreNonWVD. When it's set to 1, FSLogix works only in AVD sessions (configuration settings).

The FSLogix Support Tool collects logs, event logs, registry settings and gpresult into a zip in C:\ProgramData\FSLogix\Support. To see the installed version, run frx version from C:\Program Files\FSLogix\Apps (frx reference). If the portal flags the host itself, start with our AVD session host troubleshooting guide.

Temp profile: the usual causes

Microsoft says the root cause of an old, temporary or local profile generally isn't FSLogix itself (old, temp or local profiles). Check these causes in order:

  1. Profile containers aren't enabled. Enabled under HKLM\SOFTWARE\FSLogix\Profiles defaults to 0.
  2. VHDLocations is wrong. Use REG_SZ (preferred) or REG_MULTI_SZ. Separate multiple REG_SZ entries with semicolons. Never set VHDLocations and CCDLocations at the same time.
  3. Permissions. Look for [ERROR:00000005] Failed to attach VHD. (Access is denied.) followed by LoadProfile failed. See the storage section below.
  4. The container is in use. The log shows Operation 'AcquireExclusiveLock' failed and ErrorCode set to 33. By default FSLogix retries 12 times, 5 seconds apart (LockedRetryCount and LockedRetryInterval), then gives the user a temp profile. PreventLoginWithTempProfile=1 blocks the sign-in instead. If abrupt sign-outs leave disks attached, set CleanupInvalidSessions=1 under HKLM\SOFTWARE\FSLogix\Apps (container locked).
  5. A local profile exists (reason 3). DeleteLocalProfileWhenVHDShouldApply=1 permanently deletes it at sign-in, so check what's in it first.
  6. Antivirus is scanning FSLogix files. Exclude frxsvc.exe and frxccds.exe, the frxdrv.sys, frxdrvvt.sys and frxccd.sys drivers, C:\ProgramData\FSLogix\, and the VHD(X), .lock, .meta and .metadata files on the share (prerequisites).

Watch for two traps:

  • PreventLoginWithFailure and PreventLoginWithTempProfile don't block RemoteApp users. Microsoft lists this as a known issue with no workaround.
  • Changing FlipFlopProfileDirectoryName, SIDDirNameMatch, SIDDirNamePattern, VHDNameMatch or VHDNamePattern after containers exist gives users a new, empty container. Their old data is still on the share. To fix it, revert the setting and restart frxsvc (old, temp or local profiles).

Size limits

Raising SizeInMBs extends existing containers at the next sign-in. Lowering it never shrinks them (configuration settings). Compare the VHDX's Size on disk with SizeInMBs: a container needs more than 200 MB free to attach. Microsoft also recommends an alert when the share falls below 20% free space. VHD disk compaction is on by default from 2210 (2.9.8361.52326) and reclaims space at sign-out (container size).

Attach failures and error codes

Microsoft documents three sets of codes: FSLogix status codes, FSLogix reason codes and Windows system error codes (FSLogix codes). The hex value in a line such as [ERROR:000000b7] is a Windows error. Convert it to decimal and run net helpmsg 183. The table covers the codes in Microsoft's FSLogix examples, plus the network and capacity codes you're likely to hit:

Log value Code Windows name: text Check
00000002 2 ERROR_FILE_NOT_FOUND: The system cannot find the file specified. VHDLocations, folder naming
00000005 5 ERROR_ACCESS_DENIED: Access is denied. ACLs, share or RBAC permissions
00000020 32 ERROR_SHARING_VIOLATION: ...being used by another process. Antivirus exclusions, open handles
00000021 33 ERROR_LOCK_VIOLATION: ...another process has locked a portion of the file. Session on another host
000000a7 167 ERROR_LOCK_FAILED: Unable to lock a region of a file. Logged with AcquireExclusiveLock
00000035, 00000043 53, 67 ERROR_BAD_NETPATH, ERROR_BAD_NET_NAME DNS, port 445, UNC path
00000070 112 ERROR_DISK_FULL: There is not enough space on the disk. Share capacity
0000052e 1326 ERROR_LOGON_FAILURE: The user name or password is incorrect. Storage authentication
0000052f 1327 ERROR_ACCOUNT_RESTRICTION MFA policy on Entra Kerberos storage

Names and texts come from Microsoft's system error code lists for 0-499 and 1300-1699. For network or DNS errors, test SMB from the host and from a second VM. Also disable any third-party firewall or IPS software temporarily to rule it out (attach or detach issues):

Test-NetConnection -ComputerName <server-fully-qualified-domain-name> -CommonTCPPort SMB

Storage: Azure Files and ANF permissions and Kerberos

Permissions

These are Microsoft's recommended NTFS ACLs for the share root (storage permissions):

Principal Access Applies to
CREATOR OWNER Modify Subfolders and files only
Admin group Full Control This folder, subfolders and files
Profile users 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 "CONTOSO\Domain Admins":(OI)(CI)(F)
icacls \\<server>\<share> /grant:r "CONTOSO\Domain Users":(M)

On Azure Files, also give all authenticated identities the default share-level permission Storage File Data SMB Share Contributor. To set ACLs, you need Storage File Data SMB Share Elevated Contributor or a mount that uses the storage account key. Azure NetApp Files relies only on Windows ACLs.

Kerberos on AD DS-joined Azure Files

The Azure Files docs describe a July 2026 Windows Server update that changes the AD DS default from RC4 to AES-256, and tell you to upgrade now (enable AD DS authentication). If the storage account is represented by a computer account, run:

Set-ADComputer -Identity <domain-object-identity> -Server <domain-name> -KerberosEncryptionType "AES256"
klist purge

Next, refresh the object's password from the kerb1 key using the script on that page. If the storage account is represented by a service logon account, set its UPN to cifs/<account>.file.core.windows.net@<suffix> first. If you don't, you'll get error 1396 and KRB_AP_ERR_MODIFIED. To check the setup, run Debug-AzStorageAccountAuth. It tests the object password, the SPN, port 445, RBAC, ACLs and ticket encryption (Azure Files authentication troubleshooting).

Microsoft Entra Kerberos (Entra-joined hosts)

  • Ticket retrieval: hosts need CloudKerberosTicketRetrievalEnabled=1 under HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters. In Intune, use the Settings Catalog, because the OMA-URI method doesn't work on AVD multi-session hosts (Entra Kerberos for Azure Files).
  • MFA exclusion: exclude the [Storage Account] <name>.file.core.windows.net app from MFA conditional access policies. Otherwise mounts fail with system error 1327.
  • Private endpoints: add the privatelink FQDN to the storage account's app manifest. Otherwise you'll get error 1326.
  • Encryption types: Entra Kerberos tickets are always AES-256, so a SupportedEncryptionTypes policy that leaves out AES breaks mounts.
  • 10-hour drop-off: Entra ID doesn't renew TGTs, so access stops after about 10 hours. FSLogix 26.08 refreshes the Cloud Kerberos ticket in the background and on reattach (release notes).

Orphaned handles

If qwinsta shows the user is signed out everywhere and the disk still won't attach, close the stale handles (open handles, Azure Files connectivity). On Azure Files (Close-AzStorageFileHandle):

$ctx = (Get-AzStorageAccount -ResourceGroupName '<rg>' -Name '<account>').Context
Get-AzStorageFileHandle -Context $ctx -ShareName '<share>' -Path '<sid>_<username>' -Recursive
Close-AzStorageFileHandle -Context $ctx -ShareName '<share>' -Path '<sid>_<username>' -Recursive -CloseAll -PassThru

On a Windows file server, use Computer Management > Shared Folders > Open Files. On Azure NetApp Files, use the Microsoft Management Console (MMC).

Cloud Cache considerations

Cloud Cache runs the profile from a local cache in C:\ProgramData\FSLogix\Cache and flushes changes to up to four CCDLocations (configuration settings). It fails differently from standard containers:

  • The syntax is case-sensitive. type=smb,connectionString=\\server\share works, but type=SMB doesn't. The first location is the only read source while it's healthy.
  • Sign-in succeeds, but sign-out can hang. HealthyProvidersRequiredForRegister defaults to 0, so users can always sign in. HealthyProvidersRequiredForUnregister defaults to 1 and CcdUnregisterTimeout to 0, so if no provider is healthy, sign-out "may be held infinitely".
  • Hydration failures are serious. If no provider can serve a read, Microsoft warns of a session hang "or worse a system crash (BSOD)" (Cloud Cache overview).
  • Cloud Cache needs more VM capacity. Microsoft suggests starting at 2 vCPUs per user, and says ping and Test-NetConnection results are poor indicators of provider performance (long or failed sign-ins).

Get-CloudCacheProvider shows the state of each provider. AccessMode : NoAccess means there's a storage problem or another machine holds the lock. A WriteQueueLength above 0 means some changes haven't been flushed to that provider yet (Get-CloudCacheProvider).

Corrupt container recovery

Microsoft names antivirus scanning data in or out of the container as one of the most common causes of corruption. An overly aggressive redirections.xml is the other cause it lists (container corruption). To recover a container:

  1. Make sure the user is signed out of every host, and close any open handles.
  2. Copy the VHDX somewhere safe before you change anything.
  3. Mount it offline with frx from C:\Program Files\FSLogix\Apps, and inspect the files and registry hive (frx reference):
frx begin-edit-profile -filename \\<server>\<share>\<sid>_<username>\Profile_<username>.vhdx
frx end-edit-profile -cookie <cookie-from-begin> -filename \\<server>\<share>\<sid>_<username>\Profile_<username>.vhdx
  1. To rebuild the disk, run frx migrate-vhd -src <old.vhdx> -dest <new.vhdx>. It creates a new disk (30 GB, dynamic, by default) and mirrors the contents into it.
  2. If nothing can be saved, rename the user's folder. FSLogix creates a new, empty container at the next sign-in (old, temp or local profiles). You can then copy data back from the old disk with frx edit-profile.

Microsoft's business continuity guidance is to keep critical data in OneDrive or SharePoint rather than the profile, because failovers can corrupt containers (BCDR options).

FAQ

Why does FSLogix keep creating a temp profile?

The usual causes are a container locked by another session (error 33), missing share permissions (error 5), an existing local profile (reason 3) or full storage. The LoadProfile failed line in the profile log tells you which one.

What is FSLogix event ID 26?

On hosts that are only Microsoft Entra joined, FSLogix logs two event 26 errors in Microsoft-FSLogix-Apps/Operational because it can't query a domain controller over LDAP. Microsoft says you can safely ignore them.

What does FSLogix error code 32 mean?

It's ERROR_SHARING_VIOLATION, which means another process is using the file. Check that antivirus excludes the FSLogix mount points, then look for open SMB handles.

Why is FSLogix not creating the VHDX?

Check that Enabled=1 is set, that VHDLocations is reachable, and that users have Modify on the share root with "This folder only". Reason codes 1, 2 or 3 mean FSLogix chose not to create one. Status 9 together with [ERROR:00000005] means a permissions problem.

How do I fix a corrupt FSLogix profile?

Sign the user out and back up the VHDX. Then inspect it with frx begin-edit-profile, or copy its contents to a new disk with frx migrate-vhd. If it can't be recovered, rename the folder so FSLogix creates a fresh container.

Why do users get a black screen at sign-in?

Microsoft is tracking explorer.exe crashes at sign-in after the September Windows update KB5124008, on FSLogix 2210 hotfix 4 and later. On 23 September 2026 the issue was still marked "In progress" (known issues). Windows release health lists it as resolved by the Windows updates released on 13 October 2026, KB5127648 for Windows 11 24H2 and 25H2 (Windows release health), so check the host's update level first.

More FSLogix guides

Want a second pair of eyes?

FSLogix fails the same way on Azure Virtual Desktop and Citrix hosts. If you'd like someone to look over your hosts and profile storage, a Sessionright assessment is a read-only review of your Azure Virtual Desktop or Citrix environment, with a written report. If you later let Sessionright make changes, you approve each one and every action is logged (security). If slow sign-ins are the bigger problem, see our Citrix slow logon guide. If you would rather talk it through, book a 15-minute call: no install, no sales deck.

Sources

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.

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.