1-800-691-1991 | 9am - 8pm ET
EN

How to force form-based authentication in Enterprise Manager

KB ID: 2089
Product: Veeam Backup & Replication
Version: 9.0, 9.5
Published: 2016-01-15
Last Modified: 2020-08-13
Languages: FR
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

In v9 of Enterprise Manager, you might get an authentication prompt similar to the one below (the look of the prompt depends on your internet browser).
To force the use of HTML form-based authentication, use the solution below.
User-added image

Cause

The window is shown due to the automatic NTLM-based authentication method introduced in v9.

Solution

For 9.5 update 4 and later form-based authentication can be disabled solely by changing value of the following parameter in web.config file ( default location C:\Program Files\Veeam\Backup and Replication\Enterprise Manager\WebApp) to false:
<add key="useWindowsAuth" value="true"></add>

For earlier versions:
  1. Open the Internet Information Services (IIS) Manager console on your Enterprise Manager server.
  2. Locate the VeeamBackup site.
  3. In the Default Document options, add Login.aspx to the top of the list.
  4. In the Authentication options, disable Forms Authentication method.
  5. In the Modules, remove the MixedAuthenticationModule2 module.
  6. Open the following files using notepad and replace "<a href="/">Home</a>" with "<a href="/default.aspx">Home</a>" :
    %programfiles%\Veeam\Backup and Replication\Enterprise Manager\WebApp\js\veeam-configuration.js 
    %programfiles%\Veeam\Backup and Replication\Enterprise Manager\WebApp\js\release\app.min.js 
  7. Restart the VeeamBackup website using IIS and clear the cache of your Internet browser.

More information

Alternatively, you can go directly to the page at https://enterprise-manager:9443/login.aspx.

NTLM-based method automatically logs in the current user if the following conditions are met:
1) The computer you are using to access Enterprise Manager and EM itself are in the same AD domain
2) The user has permissions to access Enterprise Manager
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.