When the authentication is of type Windows, for in-domain users a login form is not needed. Still, in order not to lose the login information occasionally, some further
settings should be done:
Internet Information Services:
- go to Control Panel -> Internet Information Services -> Your_Project
- go to Properties, to the Access tab, to Access control -> Authentication, and set only "Integrated Windows
Authentication"

Figure 1
For Windows Vista:
- go to Internet Information Services Manager -> Your_Project. -> IIS -> Authentication. At Anonymous Users
click "disabled".
Internet Explorer:
- go to Tools -> Internet Options, Security tab -> Custom Level -> User Authentication
- choose: "Automatic logon with current username and password"

Figure 2
web.config Settings
Setting up Windows authentication is very close to setting up Forms authentication: the authentication mode should be set either to
"windows" or to "forms". Here is an illustration of that:
| Authentication Mode |
Copy Code |
|
<system.web>
...
<authentication mode="Windows" />
...
|
See Also