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.

WEM Administration Console – Part 2 (System Optimization, Policies & Profiles and Security)

Current version is Workspace Environment Management 2206.

Workspace Environment Management 2206

In the following I will give an insight into the menu items System Optimization, Policies & Profiles and Security.

System Optimization, Policies & Profiles and Security

System Optimization

These settings are used to reduce resource usage on the host. They are used to free up resources and make them available for other applications, thereby increasing the user density per host.

While the System Optimization settings are machine-based and apply to all user sessions of a machine, the Process Optimization under CPU Management is user-based.

That is, when a process triggers CPU Spike Protection in user A’s session, the event is recorded and limited for user A only. When user B starts the same process, the behavior of process optimization is determined only by process triggers in user B’s session.

System Optimization CPU Management Memory Management I/O Management Fast Logoff Citrix Optimizer Multi-session Optimization
Continue reading “WEM Administration Console – Part 2 (System Optimization, Policies & Profiles and Security)”

WEM Administration Console Version 1906 – Part 4 (Administration & Monitoring)

Update of the article to the Workspace Environment Management Version 1906.

Citrix Workspace Environment Management Console 1906

In the fourth (and last) part of the series about the WEM Administration Console, I give you an insight into the menu items Administration & Monitoring.

Administration

These settings control administrative functions such as delegation, user statistics, and change logging.

WEM Administration Console - Part 4 (Administration & Monitoring)
Continue reading “WEM Administration Console Version 1906 – Part 4 (Administration & Monitoring)”

Workspace Environment Management Version 1811 is out now

The new Current Release of WEM is out now. It does not include many new features, but a lot of bug fixes.

What’s new

A Profile Management health status column is provided on the Administration > Agents > Statistics tab. As of this release, Workspace Environment Management supports performing automated status checks on your agent hosts to determine whether Profile Management is configured optimally. You can view the status in the column.

Continue reading “Workspace Environment Management Version 1811 is out now”

WEM Administration Console Version 1906 – Part 3 (Active Directory Objects, Transformer Settings and Advanced Settings)

Update of the article to the Workspace Environment Management Version 1906.

About Citrix Workspace Environment Management Console Version 1906.0.1.1

In the third part of the series about the WEM Administration Console, I give you an insight into the menu items Active Directory Objects, Transformer Settings and Advanced Settings.

Active Directory Objects

You use this Menu Item to specify the users, computers, groups and organizational units managed by Workspace Environment Management.

WEM Administration Console - Part 3 (Active Directory Objects, Transformer Settings and Advanced Settings)
Continue reading “WEM Administration Console Version 1906 – Part 3 (Active Directory Objects, Transformer Settings and Advanced Settings)”