Subscribe to Windows IT Pro
June 18, 2001 12:00 AM

IIS Informant: Passwords for IUSR and IWAM

Windows IT Pro
InstantDoc ID #21222
Rating: (15)
Downloads
21222.zip

How can I determine the password for the IUSR and IWAM accounts that IIS installation creates?

The passwords for these accounts reside in the user account database (i.e., SAM) on Windows 2000 (without Active Directory—AD) and Windows NT 4.0 or in AD on Win2K domain controllers (DCs). As a result, obtaining passwords from those data stores is a severe breach of security. Although you can obtain those passwords by using a few tools, you don't have to work that hard because the passwords also reside in the metabase. Enter the script that Listing 1 shows in a text editor such as Notepad, then save the script as getpass.vbs (any name will do as long as it ends .vbs). When you execute the script, you'll see the username and password of the default IUSR and IWAM accounts.

Related Content:

ARTICLE TOOLS

Comments
  • Michael
    5 years ago
    May 11, 2007

    Fantastically simple, such an obvious oversight on Microsoft's behalf...thanks to this user community for another great solution!

  • Steve
    5 years ago
    Feb 22, 2007

    That was a great way to check those passwords. I never knew about that. Mine accidentally got changes then my ISAPI apps that send e-mail, send soap, request XML web services quit working.

  • Anonymous User
    7 years ago
    Aug 07, 2005

    good article

  • Anonymous User
    7 years ago
    Aug 06, 2005

    Extremely useful! Thanks for the wonderful tip!

  • Anonymous User
    7 years ago
    Aug 02, 2005

    Worked great to solve the following error:

    DCOM got error "Logon failure: the user has not been granted the requested logon type at this computer. " and was unable to logon .

    On W2K, IIS 5.0, used info in Microsoft article Q255770 to re-enter this password in Component Services for IWAM_servername account.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.