Link to home
Start Free TrialLog in
Avatar of landislund
landislund

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of dnojcd
dnojcd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of landislund
landislund

ASKER

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.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes and the password is already filled in, I don't know what the password is though??
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.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;297989
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")
objFile.Close
Set objFile = Nothing
Set objFSO = Nothing
Set IIsObject = Nothing

Works like a charm.