<p>I've been having trouble getting my ASP.NET application to automatically log users into the Intranet site I'm building.  No matter the googling or the experimentation I applied, there is always a login box displayed by IE7.</p>

<p>I've got Windows authentication mode set in the Web.config, disabled anonymous access and configured the correct default domain in IIS, but it's still asking the user to log in and, more annoyingly, the user is required to provide the domain too (<em>DOMAIN\auser</em>), which is causing problems with non-technical visitors.  Thank Zeus for password remembering functionality.</p>

<p>I'm not the network administrator so it's possible that something about Active Directory is set up incorrectly, or it could just be me missing something very simple.  Please note that I don't want to impersonate the user, I just need to know that the IPrincipal.Name property matches that of a valid record in my user database, hence authenticating the user to my application.</p>

<p>To this end, it would be very useful to have a checklist of all configuration requirements for AD, ASP.NET and IIS to work together in this manner as a reference for debugging and hopefully reducing some user friction.</p>

[{'answer_id': 725, 'author': 'Mike Powell', 'author_id': 205, 'author_profile': 'https://Stackoverflow.com/users/205', 'pm_score': 5, 'selected': True, 'text': "<p>It sounds like you've covered all the server-side bases--maybe it's a client issue?  I assume your users have integrated authentication enabled in IE7?  (Tools -> Internet Options -> Advanced -> Security).  This is enabled by default.</p>\n\n<p>Also, is your site correctly recognized by IE7 as being in the Local Intranet zone?  The IE7 default is to allow automatic logon only in that zone, so users would be prompted if IE thinks your site is on the internet.  I believe using a hostname with a dot in it causes IE to place the site into the Internet zone.</p>\n"}, {'answer_id': 2629, 'author': 'GateKiller', 'author_id': 383, 'author_profile': 'https://Stackoverflow.com/users/383', 'pm_score': 0, 'selected': False, 'text': '<p>In IIS, enable annonymous access and allow the web.config to handle user authentication.</p>\n'}, {'answer_id': 90759, 'author': 'Dani', 'author_id': 17330, 'author_profile': 'https://Stackoverflow.com/users/17330', 'pm_score': 1, 'selected': False, 'text': '<ol>\n<li><p>Open <code>Active Directory Users and Computers</code> MMC snap in </p></li>\n<li><p>Expand <code>computers</code> section from <code>TreeView</code> (left side)</p></li>\n<li><p>Check if the computer is registered in your domain.</p></li>\n</ol>\n\n<p>Also, you have to login with a domain account on that computer, otherwise that authentication box will be shown.</p>\n'}]
['https://Stackoverflow.com/questions/651', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/192/']