Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a website that needs to use Basic Authentication. I want to host it on a Windows Server 2012 box. But in IIS in the Authentication page for the web site, Basic Authentication is not available.

How do I enable Basic Authentication for IIS 8 in Windows Server 2012?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Open an elevated command-prompt or PowerShell:

dism /online /enable-feature /featurename:IIS-BasicAuthentication

Now you will have the Basic Authentication option in the Authentication page in IIS Manager.

This works in Server Core and is much quicker than using the GUI.

share|improve this answer

In server manager, in Web Server (IIS)/Security, add Basic Authentication which then should show up in IIS web site authentication settings.

share|improve this answer
Where is the security option? –  epotter Feb 7 '13 at 3:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.