This is an article about an issue that a see on a regular basis on (customer) locations, and sometimes even in our own environment. The behaviour is as follows. You are working on your (lap)desktop and suddenly a pop-up comes up in front of your screen asking for your (companies)(intranet) credentials. The cause is the IIS website functionallity that, under water, wants to keep on verifing who you are. Cached credentials or not, the pop-up keeps coming back from time to time, at least a couple of times a day.

I put an example of such a pop-up here below, just for the record.

Internal website pop-ups / Get it away - OOstdam.Info Article 363 picture1

As I ran into this issue multiple times now, I decided to publish this article with the solution.
This way everyone is able to solve this, or to refer to this article when you are talking with your administrators about it. 


Resolving that irritating (company)(intranet) Pop-Up:
It is rather simple to solve this problem, as long as you have sufficiënt rights on the IIS website that is causing the trouble.
Logon to the server that hosts the IIS site. And open an evaluated command prompt. Browse to the followinw location:

C:\Windows\System32\Inetsrv       Now type in, or copy/paste the following command:

appcmd.exe set config -section:system.webServer/security/authentication/windowsAuthentication
-useAppPoolCredentials:true


Make sure that there is a space after windowsAuthetication by the way. The command is rather self-explaning. After logon at the website with your normal credentials, on reconnects during your session, the ApplicationPool credentials will be used. Bye, bye with that irritating pop-ups comming in front of your screen.  That all folks.  

Please, always test this solution in a proper acceptance environment.


I hope this has been informative for you, and have fun, and productive working, with Microsoft IIS !



-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ben OostdamBen Oostdam has been working with Windows systems since 1993. Worked for several companies as a system administrator, and is currently a Senior Support Engineer and a (Freelance) Trainer, for a large company in the Netherlands, specialized in Mail and and System Center Solutions.

Disclaimer: The information contained in this website/article is for general information purposes only. The information is provided as is, by Ben Oostdam and others, and while we endeavour to keep the information up to date and correct, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk. In no event will we be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website. Through this website you are sometimes able to link to other websites which are not under my control. I have no control over the nature, content and availability of those sites. The inclusion of any links does not necessarily imply a recommendation or endorse the views expressed within them. Every effort is made to keep the website up and running smoothly. However, I take no responsibility for, and will not be liable for, the website being temporarily unavailable due to technical issues beyond our control. All entries in these articles, are my individual opinion, or from co-writers, and they don't necessary reflect the opinion of my employer.


Wednesday the 17th, July 2019. All rights reserved.. // Oostdam WebDesign