Enabling the Login Account to Log In Automatically

Note: These instructions are only for the classic M-Files Web.

Finally, set M-Files to log in to the classic M-Files Web automatically:

  1. On the M-Files server, use Registry Editor to create this registry key, where <version> is the M-Files version number (for example 11.1.4310.92) and <website ID> is a unique ID given to the M-Files Web site by Internet Information Services (IIS):
    HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFWA\Sites\<website ID>\
    • If there is only one website, the site ID is usually 1.
    • If the M-Files Web site runs in the virtual directory of the website, add a colon and the name of the virtual directory after the site ID. For example, if the application is in the M-Files Web virtual directory of this single website, the website ID is 1:MFWA.
    • The IIS server software in Windows 2003 shows the ID as one column.
  2. Specify the registry key values to be used for automatic login. This table contains the values available for specification:
    Value Type Description
    Domain REG_SZ If the authentication method in use is Windows authentication, specify the domain in this value.
    Password REG_SZ The login password.
    UserName REG_SZ The login account name.
    Vault REG_SZ The document vault ID. The value can be for example {A8DCB561-913F-4318-A276-E7E171EAFBE6}. The value can be found in the Document Vault Properties window of a vault in M-Files Admin.
    WindowsUser REG_DWORD Specifies the authentication method. False is for M-Files authentication, and True is for Microsoft Windows authentication.
  3. Close Registry Editor.
  4. Use Windows Task Manager to restart the MFServer service:
    1. Right-click the taskbar and select Task Manager.
      Result:The Task Manager window is opened.
    2. Open the Services tab.
    3. Right-click the MFServer service and select Restart.
The selected login account can now automatically log in to the classic M-Files Web, and the account can access published documents without user credentials.