Troubleshooting App Protection Posture Check
The following section describes some of the issues that you might face and how to troubleshoot them:
The session terminated without any error message
If your virtual app or desktop session terminates abruptly without displaying any error message, then do the following steps:
-
Check if your Citrix Workspace app version is earlier than one of the following versions:
- Citrix Workspace app for Windows 2309
- Citrix Workspace app for Mac 2308
- Citrix Workspace app for Linux 2308
Note:
If the Citrix Workspace app version is earlier than the versions listed in step 1 and the App Protection Posture Check feature is enabled, then the virtual app or desktop session terminates without displaying any error message. However, if the Citrix Workspace app version is greater than or equal to the versions listed in step 1 and the App Protection Posture Check feature is enabled, then the virtual apps or desktop session terminates displaying an error message.
-
Check whether the App Protection Posture Check feature is enabled.
-
If the Citrix Workspace app version is greater than or equal to the preceding versions and the Posture Check feature is also active, then collect the logs and contact Citrix Technical Support. For more information about collecting logs, see Log collection.
App Protection Posture Check is enabled but the session is not terminated for older versions
Generally, if the App Protection Posture Check feature is enabled and you are connecting through an older version of Citrix Workspace app, then the session must be terminated.
But if the session is not terminated, then do the following steps:
-
In the Virtual Delivery Agent, do the following:
-
Run the following command and check if the
ctxappprotectionsvc
service is running:sc query ctxappprotectionsvc
-
If the
ctxappprotectionsvc
service is not running, then do the following steps to start the service:-
Change the startup type of the
ctxappprotectionsvc service
to automatic by running the following command:sc config ctxappprotectionsvc start=auto
-
Start the service by running the following command:
sc start ctxappprotectionsvc
-
-
-
Check if the Posture Check values that you have entered have one of the following prefixes:
- For Citrix Workspace app for Windows,
windows-
- For Citrix Workspace app for Linux,
linux-
- For Citrix Workspace app for Mac,
mac-
- For Citrix Workspace app for Windows,
-
Check if the Posture Check values are correctly added as per the relevant platform as they are platform-specific.
-
Check the
reg
location (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\AppProtectionPolicies
) to verify if the Posture Check is synced with the Virtual Delivery Agent. -
If all the preceding conditions are met and the session is still connected for the older versions of Citrix Workspace app, then collect the logs and contact Citrix Technical Support. For more information about collecting logs, see Log collection.
App Protection Posture Check is working on one platform but not working on another
Sometimes, the App Protection Posture Check feature might work on one platform and not on another. For example, the App Protection Posture Check feature is working on Citrix Workspace app for Windows but not on Citrix Workspace app for Linux.
In scenarios like these, do the following steps:
-
Check if the Posture Check values that you have entered have one of the following prefixes:
- For Citrix Workspace app for Windows,
windows-
- For Citrix Workspace app for Linux,
linux-
- For Citrix Workspace app for Mac,
mac-
- For Citrix Workspace app for Windows,
-
Check if the Posture Check values are correctly added as per the relevant platform as they are platform-specific.
-
Check the
reg
location (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\AppProtectionPolicies
) on the Virtual Delivery Agent to verify if the Posture Check is synced with the Virtual Delivery Agent. They must match with what was configured on Studio. -
If all the preceding conditions are met and the session is still connected for the older versions of Citrix Workspace app, then collect the logs and contact Citrix Technical Support. For more information about collecting logs, see Log collection.