Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

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

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

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