Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In IIS, why doesn't Window Authentication show up as one of the options for my web application?

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 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?
enter image description hereenter image description here

like image 829
dev.e.loper Avatar asked Nov 09 '11 15:11

dev.e.loper


People also ask

How do I enable Windows Authentication for my Web site?

In Control Panel, click Programs and Features, and then click Turn Windows features on or off. Expand Internet Information Services, expand World Wide Web Services, expand Security, and then select Windows Authentication. Click OK. Click Close.

What option do we use in Web config to enable Windows Authentication for the Web application?

Select File >> New >> select ASP.NET Core Web Application, and change the authentication to Windows Authentication. We can also configure the existing application for Windows Authentication by selecting the option of WA. To configure the authentication manually, open Visual Studio project properties >> go to Debug tab.

How does Windows Authentication work in IIS?

Authentication: The client generates and hashes a response and sends it to the IIS server. The server receives the challenge-hashed response and compares it to what it knows to be the appropriate response. If the received response matches the expected response, the user is successfully authenticated to the server.


2 Answers

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!

like image 97
Chris Avatar answered Oct 15 '22 20:10

Chris


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.

like image 32
Riz Avatar answered Oct 15 '22 19:10

Riz