Many customers are prompted for passwords while accessing the sites hosted on Plesk windows servers. If you do not provide the password and cancel the password prompt, you will get the following error on browser:
HTTP Error 401.1 – Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)
You get this error while your domains anonymous username and passwords are out of sync with IIS. This can be fixed by running a Plesk tool (You will find it only if your server is managed via Plesk Panel) as follows:
C:\Program Files\SWsoft\Plesk\admin\bin\websrvmng.exe —update-anon-password —domain-name=
Please replace with your domain name. The above command syncs IIS.
What if it turns out to be a server wide issue?
Right. Check out the following command to see how you can sync all the website’s anonymous users passwords with IIS.
C:\Program Files\SWsoft\Plesk\admin\bin\websrvmng.exe —update-anon-passwords-all
Enjoy!