Error HTTP 401.2 — Unauthorized

If you get error “Error HTTP 401.2 — Unauthorized” you can locally disable authentication in following steps:

Open regedit and go to: HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Lsa > MSV1_0

Add multiline key value (“REG_MULTI_SZ”) with name “BackConnectionHostNames”. As value enter hostnames of your IIS applications.

2016-02-23_15h58_23

Inside IIS application in authorization section select ” Windows authentication” and change providers order into following:

  1. NTLM
  2. Negotiate

After these steps your error should be gone.