Is it possible for windows authentication to not prompt the user for credentials?

15,507

On IIS disable anonymous authentication and activate Windows auth:
- select your web application (or root if you app is place as root app)
- select Authentication
- disable Anonymous Authentication
- enable Windows Authentication

Remember: for "automatic" login both your server and client must be in the same AD domanin or trusted domains.

Share:
15,507
Smeegs
Author by

Smeegs

Updated on June 15, 2022

Comments

  • Smeegs
    Smeegs over 1 year

    I'm using iis 7, currently deployed on a test machine running windows 7 professional.

    The computer is logged into the domain of my company. In the past (at another company) I was able to use integrated authentication in ii6 and it wouldn't prompt the user if they were using IE. It would just absorb their domain credentials.

    However, that was initially setup by somebody else before I started. I'm doing this project from scrap, and I'm a software engineer without much IIS experience.

    This is the relevant snippit from my web.config file

    <authentication mode="Windows" />
    <identity impersonate="false" />
    

    I'm also running the app pool in v4.0 integrated.

    Any help would be appreciated. Thanks!