Sessionright

FSLogix Logs Location: Where They Are and How to Read Them

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.

Users having trouble loading their profiles? Talk it through with a Sessionright engineer: 15 minutes, free.

When a user gets a temporary profile, a failed sign-in or a slow sign-in on an FSLogix host, the cause is usually in a text file on that session host, not in the Azure portal. FSLogix writes its text logs to C:\ProgramData\FSLogix\Logs by default, and Microsoft calls them "the first place to look when troubleshooting FSLogix" (logging and diagnostics). They matter more this year: Microsoft's FSLogix pages warn that the April 2026 Windows Server update changes the default Kerberos encryption type from RC4 to AES-SHA1, and that file shares holding containers that haven't been moved to AES-SHA1 "might have access issues" (logging and diagnostics).

By the end of this guide you will know where every documented FSLogix log lives, which registry values control them, how to follow one user's sign-in through the Profile log, where the event logs sit, and how to package all of it for a support case.

The FSLogix log folder

FSLogix produces three kinds of logs: Windows event logs, text log files and Event Trace Logging (ETL) files. The text logs require the logging settings to be configured (logging and diagnostics); with LoggingEnabled at its default of 2, all log files are enabled (configuration settings). These are the locations Microsoft documents:

What Path Notes
Text log root C:\ProgramData\FSLogix\Logs Set by LogDir, default %ProgramData%\FSLogix\Logs
Profile log C:\ProgramData\FSLogix\Logs\Profile\Profile_%date%.log The most common log for troubleshooting
ETL traces C:\ProgramData\FSLogix\Logs\trace.etl.001 and trace.etl.002 Round-robin, 100 MB maximum each, rotated at restart
Support Tool output C:\ProgramData\FSLogix\Support Zip archive for a support case

Microsoft states that ETL tracing "is intended for Microsoft Internal Use only", so leave those two files for support engineers (logging and diagnostics). Cloud Cache also keeps a local cache in C:\ProgramData\FSLogix\Cache, but that is not a log: Microsoft says its auxiliary files aren't meant to be opened, and anything relevant is surfaced "through our log files or event log entries" (Cloud Cache overview).

The per-component logs

The configuration reference lists one on/off REG_DWORD per component under the same Logging key. They are only honoured when LoggingEnabled is 1 (configuration settings):

Enabled by default (1) Disabled by default (0)
ConfigTool, Profile, Search IEPlugin, RuleEditor, JavaRuleEditor, Service, FrxLauncher, ODFC, RuleCompilation, Font, Network, Printer, AdsComputerGroup, DriverInterface, SearchPlugin, ProcessStart

Microsoft prints a folder and file name only for the Profile log. It doesn't document the folder or file names for the other components, so don't guess them. List what is actually on the host:

Get-ChildItem 'C:\ProgramData\FSLogix\Logs' -Recurse -File |
  Sort-Object LastWriteTime -Descending |
  Select-Object -First 20 FullName, LastWriteTime, Length

FSLogix creates a new log file each day, and LogFileKeepingPeriod sets how many it keeps (configuration settings). With the default of 2, a failure a user reports a few days late may already have rotated out.

The logging registry settings

All logging settings live in HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix\Logging and apply to the whole product, not just Profile or ODFC containers (configuration settings). One naming detail: Microsoft documents the level setting as LoggingLevel. There is no LogLevel value in the reference.

Value Type Default What it does
LoggingEnabled REG_DWORD 2 0 disables all log files. 1 creates only the component logs switched on individually. 2 enables all log files and ignores the per-component values.
LoggingLevel REG_DWORD 1 0 verbose (DBG, INFO, WARN, ERROR). 1 default (INFO, WARN, ERROR). 2 minimal (WARN, ERROR). 3 errors only.
LogDir REG_SZ %ProgramData%\FSLogix\Logs Local or UNC path. Requires a reboot or a restart of the FSLogix service after a change.
LogFileKeepingPeriod REG_DWORD 2 Number of daily log files to keep. Maximum 180.
RobocopyLogPath REG_SZ None File for robocopy output, for example while data is mirrored in or out of a VHD. Troubleshooting only.

Source for every row: FSLogix configuration settings. FSLogix doesn't create any of these value names at install. If a value is absent, it uses the documented default.

Turn on verbose logging for a reproduction

  1. Pick one session host where the user can reproduce the problem. Verbose logging on every host produces a lot of text you won't read.

  2. On that host, from an elevated prompt, set verbose output and keep more days of files:

    reg add "HKLM\SOFTWARE\FSLogix\Logging" /v LoggingLevel /t REG_DWORD /d 0 /f
    reg add "HKLM\SOFTWARE\FSLogix\Logging" /v LogFileKeepingPeriod /t REG_DWORD /d 14 /f
    
  3. Have the user sign out and sign in again, and note the time.

  4. Read or collect the logs (next sections).

  5. Remove the values so the host returns to the defaults:

    reg delete "HKLM\SOFTWARE\FSLogix\Logging" /v LoggingLevel /f
    reg delete "HKLM\SOFTWARE\FSLogix\Logging" /v LogFileKeepingPeriod /f
    

Two behaviours to plan for. First, a new install, or an install after an uninstall, resets logging levels to default, while an upgrade install keeps your logging settings (configuration settings). Second, if you push these values with the FSLogix Group Policy templates, settings under HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix are preferences, not policies. Removing the GPO or setting it to Not Configured leaves the value on the VM, and Microsoft names Logging as one of the affected areas (Group Policy templates). Set verbose logging back explicitly.

Writing logs to a share

LogDir accepts a UNC path. Logging to a local drive runs as SYSTEM; logging to a network share runs as the computer object, so grant the session hosts' computer objects access to the share and the folder (configuration settings).

Reading a sign-in in the Profile log

Microsoft's procedure, with the search strings exactly as it prints them (logging and diagnostics):

  1. Open the latest C:\ProgramData\FSLogix\Logs\Profile\Profile_%date%.log.
  2. At the top, note the Computer Name, the FSLogix version(s) and the service status.
  3. Search for LoadProfile: %samaccountname%, for example LoadProfile: jdoe.
  4. Check that the sign-in time matches the time of the reported problem.
  5. Note the process ID for that user. It is used for the whole sign-in or sign-out sequence, and other users' sessions are interleaved in the same file.
  6. Mark these strings: Begin Session: Logon, Begin Session: Logoff, Milliseconds, loadProfile time: and unloadProfile time:.

Every line has a prefix: [INFO] for information, [WARN:xxxxxx] for warnings and [ERROR:xxxxxx] for errors. Warnings and errors carry an error code. Microsoft suggests Notepad++ for keyword highlighting. PowerShell gets you the same lines without installing anything:

$user = 'jdoe'
$log  = Get-ChildItem 'C:\ProgramData\FSLogix\Logs\Profile\Profile*.log' |
  Sort-Object LastWriteTime -Descending | Select-Object -First 1
Select-String -Path $log.FullName -Pattern "LoadProfile: $user", 'Begin Session: Logon',
  'Begin Session: Logoff', 'loadProfile time:', 'unloadProfile time:',
  'Status set to', 'Reason set to', '\[WARN', '\[ERROR'

The open, attach and mount lines

Microsoft doesn't publish a line-by-line reference for every message FSLogix writes while it opens, attaches and mounts a container. It does print example lines on its codes page, and they show the shape of a sign-in (FSLogix codes). A healthy sign-in moves through these status lines:

[INFO]  Status set to 100: Waiting for the Windows Profile Service to determine the user's profile folder
[INFO]  Status set to 200: Setup in progress
[INFO]  Status set to 0: Success

When the disk is mounted, the log records the volume and the reason code:

[INFO]  Volume name: \\?\Volume{...}\
[INFO]  Reason set to 0: The container is attached

Failures look like these examples from the same page:

[WARN: 00000002]  Failed to query size of VHD(x): \\fslfileserver\profiles\...\Profile_jdoe.vhdx (The system cannot find the file specified.)
[ERROR:00000005]  VirtualDiskAPI::CreateFormattedDisk failed to create vhd(x): ...\Profile_jdoe.vhdx (Access is denied.)
[ERROR:000000b7]  LoadProfile failed. Version: 2.9.8308.44092 User: jdoe. ... FrxStatus: 31 (Cannot create a file when that file already exists.)

The hex code in the prefix is a Windows System Error Code, because FSLogix made a Windows API call that failed. 00000005 is ERROR_ACCESS_DENIED (5, "Access is denied.") and 000000b7 is ERROR_ALREADY_EXISTS (183, 0xB7) (System Error Codes 0–499).

The status numbers you are most likely to see around open, attach and mount, from Microsoft's code table (FSLogix codes):

Status Name Meaning
9 ERROR_CREATE_VHD Can't create virtual disk
11 ERROR_OPEN_VHD Can't open virtual disk
12 ERROR_ATTACH_VHD Can't attach to virtual disk
19 ERROR_SET_MOUNT_POINT Can't set up directory mount point
25 ERROR_PER_SESSION_VHD Maximum sessions reached
27 ERROR_FIND_VHD Can't find virtual disk at the provided location

FSLogix also stores the current Status, Reason and Error for each signed-in user under HKLM\Software\FSLogix\Profiles\Sessions\%sid%. That lets you check a live session without opening the log:

Get-ChildItem 'HKLM:\SOFTWARE\FSLogix\Profiles\Sessions' | Get-ItemProperty

For what to do once you have the code, see our FSLogix profile troubleshooting guide and the FSLogix logon failure guide.

The FSLogix event log channel

In Event Viewer, open Applications and Services Logs > FSLogix. Most data goes to the Admin or Operational log under Apps. Cloud Cache data goes to the Admin or Operational log under CloudCache (logging and diagnostics). Microsoft's known-issues page shows the full channel name, Microsoft-FSLogix-Apps/Operational, with the source Microsoft-FSLogix-Apps (known issues).

List the FSLogix channels on a host, then pull recent errors (Get-WinEvent):

Get-WinEvent -ListLog *FSLogix*
Get-WinEvent -LogName 'Microsoft-FSLogix-Apps/Operational' -MaxEvents 200 |
  Where-Object LevelDisplayName -eq 'Error' |
  Select-Object TimeCreated, Id, Message

One expected error to recognise: on devices that are only Microsoft Entra joined, FSLogix logs two Event ID 26 errors ("Failed to get computer's group SIDs" and a failed query for the computer's distinguished name). The rule-set LDAP lookup to a domain controller fails. Microsoft says these "can be safely ignored", lists the issue as affecting all versions, and its status was "In progress" when updated on 8 July 2025 (known issues). Our FSLogix event ID 26 guide covers the other cases.

To hand the channel to someone else, export it with wevtutil epl (wevtutil):

wevtutil epl Microsoft-FSLogix-Apps/Operational C:\Temp\FSLogix-Apps-Operational.evtx

Collecting FSLogix logs for support

The FSLogix Support Tool collects text logs, event logs, registry settings (including the Cloud Cache driver and service keys and ProfileList), gpresult, filter drivers, file share permissions, system information and HTML error-analysis reports into one zip. Optionally it also collects rule set files and crash or memory dump files. Microsoft lists the current version as 2.6, dated 28 October 2020 (Support Tool).

One host

  1. Make sure logging is enabled on the problem VM and the logs exist. Reproduce first if you raised LoggingLevel.
  2. Download or copy the Support Tool to the problem VM, right-click the zip and select Extract All....
  3. Run Support Tool(1).exe.
  4. Enter your company name.
  5. Select Gather Rule Files and Gather Dump Files, then Gather FSLogix Content.
  6. Collect the zip from C:\ProgramData\FSLogix\Support.

Several hosts

Create servers.txt next to Support Tool(1).exe, with one NetBIOS name or FQDN per line, and run the same steps. The account needs local Administrator rights on each remote computer. Remote data lands in a Remote Servers folder inside the zip. Check SupportToolLog.txt to confirm each remote host was collected (Support Tool).

Before you open the case

  • Record the version. Run frx version from C:\Program Files\FSLogix\Apps (frx utility). Microsoft requires customers to stay on the latest release to be supported, and it doesn't backport fixes (product support).
  • Pick the right portal path. For Azure Virtual Desktop, open the request under Help + Support with Issue Type Technical, Service Azure Virtual Desktop and Problem Type FSLogix (product support).
  • Expect a reproduction request. If the cause can't be found in the Support Tool logs, a memory dump or the trace ETL files, Microsoft support asks for steps to reproduce from a clean Windows install (product support).
  • Review before you share. Microsoft's own examples show that log lines contain user names, SIDs and UNC paths (FSLogix codes). Handle the zip according to your data policy.

FAQ

Where are FSLogix logs located?

Text logs are in C:\ProgramData\FSLogix\Logs by default, with the Profile log at Logs\Profile\Profile_%date%.log. The location is set by LogDir under HKLM\SOFTWARE\FSLogix\Logging, so check that value if the folder is empty.

How do I enable verbose FSLogix logging?

Set LoggingLevel (REG_DWORD) to 0 under HKLM\SOFTWARE\FSLogix\Logging. That adds DBG lines to INFO, WARN and ERROR. Delete the value afterwards to return to the default of 1.

Where are FSLogix logs in Event Viewer?

Under Applications and Services Logs > FSLogix, in the Apps and CloudCache folders, each with Admin and Operational logs. The documented channel name is Microsoft-FSLogix-Apps/Operational.

How long does FSLogix keep its log files?

FSLogix creates one file per day and keeps the number set in LogFileKeepingPeriod. The default is 2 and the maximum is 180.

Can FSLogix write its logs to a network share?

Yes. LogDir accepts a UNC path. Grant the computer objects access to the share and folder, then reboot or restart the FSLogix service so the change takes effect.

Why did my FSLogix logging settings reset?

A new install, or an install after an uninstall, resets logging levels to their defaults. An upgrade install keeps your existing logging settings.

Want a second pair of eyes?

If FSLogix sign-in problems keep coming back across host pools, a Sessionright assessment reviews your Azure Virtual Desktop estate read-only by default, and a Sessionright engineer walks you through the findings. If you later want changes made, each one is planned, approved by you and logged (how we handle security). 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.