Finding in the Wild | Sometimes Old Citrix Problems Simply Return

Recently, with WEM 2507 CU1 on non-persistent VDAs , I encountered behavior that felt very familiar. And yes, I observed it myself. The VDA starts correctly, registers and initially appears completely healthy. But the WEM Agent cache does

Recently, with WEM 2507 CU1 on non-persistent VDAs, I encountered behavior that felt very familiar.

And yes, I observed it myself.

The VDA starts correctly, registers and initially appears completely healthy.
But the WEM Agent cache does not initialize correctly, so the WEM configuration is not applied reliably.

Interestingly, similar cases are currently appearing in the community:

Golden image → WEM works ✅
Provisioned VDA → WEM cache issue ❌
Cache reinitialize → WEM works again ✅

According to a community report, Citrix Support also suspected a startup timing issue: the VDA and WEM Agent start before the local WEM cache database has initialized correctly.

The interesting part:
This topic is not new at all.
Back in 2017, BIS-F introduced a WEM cache refresh at system startup.
A feature added later is particularly interesting for non-persistent images:
“Move WEM Agent Cache to the PVS or MCSIO persistent disk”

This places the WEM cache on a persistent location rather than the non-persistent system disk, for example:

PVS/MCSIO CacheDisk
↓
Citrix
↓
WEMCache

At system startup, BIS-F can also run commands such as:

-RefreshCache -RefreshSettings -RefreshCache -Reinitialize

.

To be honest, I had not paid much attention to this functionality for a long time, until I observed the behavior again myself.

A useful reminder:
Just because an old workaround once appeared unnecessary does not mean the underlying architecture no longer matters.

Especially with PVS/MCSIO + WEM + non-persistent VDAs, I would therefore include the WEM cache and its persistence in a health check again.

Incidentally, I have not yet found a public Citrix bug ID explicitly linking the current behavior to WEM 2507 CU1. For now, it remains exactly that:

Finding in the Wild. 🔎

Finding in the Wild | Citrix WEM – Backup Available, Restore Impossible

An uncomfortable scenario in Citrix Workspace Environment Management: The WEM configuration was backed up correctly before the upgrade. After the update, an older configuration set needs to be restored. But the restore suddenly fails. ❌ Unable to restore.

An uncomfortable scenario in Citrix Workspace Environment Management:

The WEM configuration was backed up correctly before the upgrade. After the update, an older configuration set needs to be restored.

But the restore suddenly fails.

❌ Unable to restore. Try again later.
❌ Upload reports invalid content
❌ The backup was created with an older WEM version
❌ Importing it again produces the same result

🔍 Root cause – WEM-54462

Citrix documents a compatibility issue between older WEM configuration backups and the new schema.

In particular, this affects:

* Backups created before WEM 2.44 (schema 2605 or earlier)
* Restores into WEM 2.44 or later (schema 2606 or later)

Backups already created with schema 2606 or later, however, can be restored normally.

The problem is therefore not necessarily a corrupted backup file, but the processing of older backup formats.

🛠️ My troubleshooting approach

First, I check the origin of the backup and the version of the target environment.

Next, I check:

1. Is the JSON file syntactically valid?
2. Was the backup created before or after the schema change?
3. Can a current backup be restored?
4. Does the error occur during upload or only during restore?

This helps distinguish a corrupted backup from a version incompatibility.

✅ A safe migration strategy

My preferred approach:

1. Preserve the original backup unchanged.
2. Also document the existing WEM configuration.
3. Test restoration only in an isolated test environment.
4. Request the official Citrix Support workaround for an older backup.
5. After a successful migration, create a new backup using the current schema.
6. Validate the restore and configuration assignments before moving to production.

Important: do not manually change the JSON structure or apply untested schema modifications in production.

🛠️ Citrix Support workaround

Citrix tracks the issue as WEM-54462 and explicitly directs customers to technical support for the corresponding workaround script.

There is no generally applicable, publicly documented script for this.

💡 My takeaway

A successfully created backup is not proof that restoration will work.

For WEM upgrades in particular, migration planning must include both an export and a tested restore.

Backup successful ≠ restore guaranteed.

Finding in the Wild | Citrix WEM – When One User Blocks Other Users’ Applications

An unusual issue on Citrix multi-session VDAs: Applications initially work normally. Another user logs on to the same session host, and suddenly certain applications can no longer be launched in existing sessions. ❌ Applications are unexpectedly blocked ❌

An unusual issue on Citrix multi-session VDAs:

Applications initially work normally. Another user logs on to the same session host, and suddenly certain applications can no longer be launched in existing sessions.

❌ Applications are unexpectedly blocked
❌ Different behavior on identically configured VDAs
❌ The issue appears random
❌ Logging on again may change the behavior

🔍 Root cause: WEM Application Security + Windows AppLocker

Citrix WEM can assign application security rules on a per-user basis.

Windows AppLocker, however, uses a machine-wide policy.

If enforcement mode Overwrite is enabled in WEM, another user’s logon can replace the existing AppLocker policy.

If the new policy lacks previously present allow rules, applications are suddenly blocked, including for users who are already logged on.

🛠️ My troubleshooting approach

First, I check AppLocker events on the affected VDA:

* Event ID 8004 – EXE/DLL blocked
* Event ID 8007 – script/MSI blocked
* Event ID 8001 – AppLocker policy applied

Then I export the effective AppLocker rules:

Get-AppLockerPolicy -Effective -Xml

Comparing the rules before and after another user’s logon is particularly revealing.

In the WEM Agent logs, I look for:

AgentHostProxyService.ProcessAppLockerRules()

and:

Mode Overwrite will be applied

✅ The solution

In WEM Application Security, change Rule Enforcement Mode from Overwrite to Merge.

This combines rules for different users instead of replacing the existing policy at each logon.

Important: first check existing AppLocker rules for unintended permissions. Merge must not inadvertently allow applications.

💡 My takeaway

When applications on a Citrix session host are suddenly blocked, the cause does not have to lie with the application itself.

Sometimes another user’s logon is enough to change the effective security policy.

Multi-session operation and machine-wide security policies are a combination that must be considered when working with WEM.

Installing Workspace Environment Management

Workspace Environment Management optimizes Citrix workers for the best possible performance (user density, logon time and application response time).

WEM is subject to the Current Release Lifecycle (Additional Component) and therefore there is no LTSR version of WEM available.

To use WEM, you must have an active Customer Success Services (CSS) for one of the following licenses:

  • Citrix Virtual Apps Advanced
  • Citrix Virtual Apps Premium
  • Citrix Virtual Apps and Desktops Advanced
  • Citrix Virtual Apps and Desktops Premium
  • Citrix Workspace Premium
  • Citrix Workspace Premium Plus

Technical Overview

Workspace Environment Management (WEM) is based on the following architecture:

WEM architecture

Continue reading “Installing Workspace Environment Management”

WEM Administration Console – Part 1 (Actions, Filters & Assignments)

Current version is Workspace Environment Management 2206.

Workspace Environment Management 2206

Known problems

  • When VUEMRSAV.exe is used to display results on actions applied through an action group for the current user, the Applied Actions tab may display the wrong source of actions. [WEM – 20002]
Continue reading “WEM Administration Console – Part 1 (Actions, Filters & Assignments)”