How to enable Windows Authentication in IIS if it is missing
19 July 2022
|
Viewed 17348 times
To enable in Windows in ASP.NET websites you need to do
Enabling Windows Authentication on asp.net website
- Open Internet Information Services (IIS) Manager
- Navigate to Server -> Sites -> Default Website -> Click on your website
- In Right-side panel, under IIS section double click on "Authentication"
- Select Windows Authentication and "Enable it.
If "Windows Authentication" is missing in IIS manager, proceed for next steps.
Enabling Windows Authentication feature in IIS
- Open Control Panel
- Click on Programs
- Click on Turn Windows features on or off
- Navigate to "Internet Information Services"
- Expand "World Wide Web Services"
- Under "Security" select Windows Authentication
- Click Ok, and then Restart your computer
If "Windows Authentication" is missing in Windows Features, proceed for next steps.
Enabling Windows Authentication in Windows Features
Windows Home editions doesn't include Windows Authentication (and a bunch of other IIS security features). However, the package with these features is sitting right there in your OS and you can manually install it.
- Open an command prompt in Administration Mode
- Run below command
dism /online /norestart /add-package:%SystemRoot%\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.22000.282.mum
PreviousNext