Mattermost always lose server connection after windows updtade

Hello,
everytime windows updtates on end users pcs , on the next boot mattermost disconnects from the server and its needed to input server adrress again .

This is a fairly common issue with the Mattermost Desktop app on Windows after OS updates. There are a couple of reasons it happens.

The most likely cause is that Windows Update triggers a profile reset or app data clearing for Mattermost’s app-specific config. The server URL in Mattermost Desktop is stored in a servers.json file in the user’s AppData folder. On some Windows versions, updates can cause this folder to be partially cleared or recreated, especially if the user profile is being refreshed.

The quickest fix for individual users is to locate the servers.json file at %APPDATA%\Mattermost\ and back it up before updates run. After an update resets it, you can restore the file.

For a proper enterprise fix, if you’re deploying to multiple users you should be using a managed Mattermost Desktop installer with a preconfigured server URL so it can’t be lost. The MSI installer supports pre-populating the server address via a managed-config.json file in the app’s install directory, not in the user profile, so it’s not affected by profile resets. The documentation for managed resources is at Redirect

The managed resources approach means users never have to type the server URL manually in the first place, and a Windows update can’t touch it because the config is in Program Files not AppData.

One other thing worth checking: is this happening consistently after every Windows update or only sometimes? If it’s sporadic, it might actually be the Mattermost app self-updating at the same time as Windows, and the app updater is overwriting its own config.