问题
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.
I have windows authenication 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?
回答1:
I got hit by this and it was something as simple as having not started IIS Manager with 'run as administrator'. Very frustrating, but I got there in the end!
回答2:
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. May be it helps someone.
回答3:
According to the comments above, you will need to Restart IIS.
回答4:
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://docs.microsoft.com/en-us/iis/configuration/system.webServer/security/authentication/windowsAuthentication/providers/add
回答5:
in Windows Server 2012,
Server Manager > Roles > Web Server (IIS) > Security > install windows authentication
reopen IIS
来源:https://stackoverflow.com/questions/8067448/in-iis-why-doesnt-window-authentication-show-up-as-one-of-the-options-for-my-w