68

I'm reading about how to set up windows authentication for my web application on IIS 7. In the description they have Window Authentication as an option in IIS. enter image description here

I have Windows authentication turned on for my machine (I'm on Windows 7 Professional 64bit) and I still don't see it as one of the authentication options for my web application. Why?

enter image description here enter image description here

I have tried disabling Anonymous Authentication as well, but that didn't make a difference.

TylerH
  • 20,799
  • 66
  • 75
  • 101
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
  • 8
    Have you stopped and started IIS? Restarted the box etc? You should have it in the list as far as I can see. – starskythehutch Nov 09 '11 at 16:53
  • 3
    @starskythehutch damn it, that was it. I swear I restarted my machine after enabling windows authentication. After restarting my machine windows authentication does show up in the list. – dev.e.loper Nov 09 '11 at 17:17
  • 1
    FYI: After installing IIS features iisreset is sufficient. You don't have to reboot the computer. – Gregory A Beamer Nov 09 '11 at 22:25

7 Answers7

72

I had to run IIS Manager as an administrator to resolve this.

TylerH
  • 20,799
  • 66
  • 75
  • 101
Chris
  • 721
  • 5
  • 2
  • 1
    I didn't even have to restart my computer, I just restarted *Internet Information Services Manager* and it appeared. – Niklas Dec 21 '15 at 12:06
18

I stumbled upon this, but couldn’t find Security feature under “Turn Windows feature on or off”.

In Windows Server 2008 R2, this is located under Server Manager -> Roles -> Web Server (IIS) -> Add Role Services.

TylerH
  • 20,799
  • 66
  • 75
  • 101
Riz
  • 1,119
  • 15
  • 23
  • This doesn't answer the question OP has asked. They don't need to know where to go to install it. – TylerH Oct 25 '22 at 20:37
8

You can fix this by stopping and restart IIS.

TylerH
  • 20,799
  • 66
  • 75
  • 101
Tom Hubbard
  • 15,820
  • 14
  • 59
  • 86
8

in Windows Server 2012,
Server Manager > Roles > Web Server (IIS) > Security > install windows authentication

reopen IIS

Masoud Sadeghi
  • 357
  • 3
  • 15
  • This doesn't answer the question OP asked. They don't need to know where to go to install it. – TylerH Oct 25 '22 at 20:39
3

I had this problem in my windows 7 professional. I found that the "Windows Authentication" option was not enabled from "Turn windows feature on and off".

Open "Turn windows feature on and off" window. The "Windows Authentication" option is available under Internet Information services" -> World wide web services -> security. Click the check box for "Windows Authentication". More information is available at https://learn.microsoft.com/en-us/iis/configuration/system.webServer/security/authentication/windowsAuthentication/providers/add

KurioZ7
  • 6,028
  • 13
  • 46
  • 65
  • This doesn't answer the question that was asked. They don't need to know where to go to install it. – TylerH Oct 25 '22 at 20:38
0

In Windows Server 2022, go to "Server Manager" -> "Add roles and features"

Web Server (IIS) -> Web Server -> Security -> Windows Authentication

Milana
  • 557
  • 9
  • 20
-1

Windows Server 2016, IIS 10: Restart the IIS management tool.

LosManos
  • 7,195
  • 6
  • 56
  • 107