Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

How to configure if MFStatus.exe is kept running and user logged in when a Citrix session is closed

Last updated on 31 March 2022

Admin
M-Files Desktop

Overview

M-Files Online August '21 Update (21.8.10524.3) introduced a change in the way how user sessions are handled in Citrix environment. Earlier the user specific MFStatus.exe process didn't shut down and the user wasn't logged out from M-Files when user's Citrix session was closed. Now M-Files catches the remote session disconnected event in the Citrix environment and user's MFStatus.exe process will be shut down and hence the user is logged out from M-Files.
This is especially useful e.g. when concurrent M-Files licenses are used. However, in some cases this might not be a desired behavior and that's why the following registry setting was also implemented.

Products and versions

Since M-Files version 21.8.10524.3
 

Solution

If you rather would like to keep the user specific MFStatus.exe process running and users logged in in M-Files when their Citrix sessions are closed, you can add this registry setting on each Citrix server.
Registry key: HKEY_LOCAL_MACHINE\Software\Motive\M-Files\<version>\Client\MFClient
Value name: CitrixKeepMFStatusAfterDisconnecting
Value type: REG_DWORD (DWORD 32-bit Value)
Value data:
0 = MFStatus.exe is shut down after disconnecting from the Citrix server (default)
1 = MFStatus.exe is not shut down after disconnecting from the Citrix server.
No restarts are needed after applying the setting.
 

Still need help?