WSUS and IIS causing HTTP 401.1 eror

Posted on 2006-05-09
Last Modified: 2008-06-04
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?
Question by:landislund
    LVL 10

    Accepted Solution

    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?

    Author Comment

    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.

    LVL 2

    Assisted Solution

    Is there a user specified in the ' use the following user account for anonymous access' box?

    This should be you IUSR_servername user.

    Author Comment

    Yes and the password is already filled in, I don't know what the password is though??

    Author Comment

    The IUSR_servername user's account was locked out, does WSUS change the password? Is it possible to reset the password?
    LVL 10

    Expert Comment

    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

    Author Comment

    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.


    Expert Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
    Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now