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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes and the password is already filled in, I don't know what the password is though??
ASKER
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
go through this article for resetting password using script.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;297989
ASKER
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.
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.Fi leSystemOb ject")
Set objFile = objFSO.OpenTextFile("outpu t.txt", 8, True)
Set IIsObject = GetObject ("IIS://localhost/w3svc")
objFile.WriteLine "According to the metabase, the anonymous credentials are:"
objFile.WriteLine "AnonymousUserName = " & IIsObject.Get("AnonymousUs erName")
objFile.WriteLine "AnonymousUserPass = " & IIsObject.Get("AnonymousUs erPass")
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.
Set objFSO = CreateObject("Scripting.Fi
Set objFile = objFSO.OpenTextFile("outpu
Set IIsObject = GetObject ("IIS://localhost/w3svc")
objFile.WriteLine "According to the metabase, the anonymous credentials are:"
objFile.WriteLine "AnonymousUserName = " & IIsObject.Get("AnonymousUs
objFile.WriteLine "AnonymousUserPass = " & IIsObject.Get("AnonymousUs
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.
ASKER
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.