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/Troubleshooting/FAQ/Administration of M-Files

Domain of "Specific Windows User" When Using Federated Authentication

Last updated on 12 May 2026

Admin
Microsoft Entra ID Authentication

Overview

When M-Files Desktop and M-Files Admin begin authentication to M-Files Server, they send a domain value to the server. The server uses the domain value to decide which authentication configurations to offer to the client.

Logging in as Current Windows User uses the domain of the client computer. This may affect the federated authentication configuration the client will receive from the server.

In some cases, you may want to change that domain, especially in situations where you have multiple federated authentication configurations and/or domains.

Solution

If the client computer domain is not suitable, you can define the domain for Specific Windows User logins manually with the following registry setting:

Registry key: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\AuthenticationConfiguration

Setting type: String

Setting name: SpecificWindowsUserDomain

Setting value: The name of the domain you want to pass to M-Files Server. For example, Contoso.

Logging in as Specific Windows User uses this value when it's available. If no value is defined, no domain is sent to the server when logging in as Specific Windows User.

When switching from one domain to another, it may be necessary to log out, reconnect with "Log In as..." (M-Files Desktop) or "Connect as..." (M-Files Admin), and select "Sign in as another user" in your login service (e.g. EntraID) if it suggests a logged-in account. That ensures user identity and access are recalculated properly.

There is no way to specify an authentication domain for Web or Mobile logins.

NOTE: This setting affects all vault connections on the computer.

Still need help?

On this page