WSUS and IIS causing HTTP 401.1 eror

We have a Win 2K3 Server DC, running Trend IMSS and Officescan. These both have web based management consoles hosted using IIS.

We wanted to take a look at Microsoft WSUS so installed it on this server, since we did this everytime we try to access the Trend management consoles or the default website we get:-

HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)

I have uninstalled WSUS and we still get the same error.

Any ideas?
Who is Participating?
dnojcdConnect With a Mentor Commented:
were you accessing the default web site with any username/password earlier? Is trend management we interface a virtual directory under IIS sites. Can you check what kind of authentication is there for the deafult web site now?
landislundAuthor Commented:
Yes we could access the default website using any username/password and from any workstation before installing WSUS.

One of the two Trend consoles is under the default website and the other is a virtual directory.

When I look in properties of the default website under directory security and then authentication methods, only "enable anonymous access" is ticked.

rrusteanConnect With a Mentor Commented:
Is there a user specified in the ' use the following user account for anonymous access' box?

This should be you IUSR_servername user.
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

landislundAuthor Commented:
Yes and the password is already filled in, I don't know what the password is though??
landislundAuthor Commented:
The IUSR_servername user's account was locked out, does WSUS change the password? Is it possible to reset the password?
You can change the password by going to User Management console under the Manage Your Computers.After resetting i t go to IIS Manager , there also you have to change the password

go through this article for resetting password using script.;EN-US;297989
landislundAuthor Commented:
I ran out of time and had no choice but to reload IIS and the applications that were causing the problem.

Thank you to those who posted.

If you need to find the password for the IUSR_<SERVER> account copy the follwoing into a script file and run it on the IIS Server:  It will output the credentials.

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("output.txt", 8, True)
Set IIsObject = GetObject ("IIS://localhost/w3svc")
objFile.WriteLine "According to the metabase, the anonymous credentials are:"
objFile.WriteLine "AnonymousUserName = " & IIsObject.Get("AnonymousUserName")
objFile.WriteLine "AnonymousUserPass = " & IIsObject.Get("AnonymousUserPass")
objFile.WriteLine "WAMUserName = " & IIsObject.Get("WAMUserName")
objFile.WriteLine "WAMUserPass = " & IIsObject.Get("WAMUserPass")
Set objFile = Nothing
Set objFSO = Nothing
Set IIsObject = Nothing

Works like a charm.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.