Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


July 2001

IIS Informant: Passwords for IUSR and IWAM

RSS
Subscribe to Windows Web Solutions | See More Domains Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

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.

End of Article



Reader Comments
I can delete all accounts named IUSR and IWAM imported from the SAM of WinNt4.0 to a Windows2000 Active Directory?

Christian May 26, 2004


x

jjrollette July 30, 2004 (Article Rating: )


Great! Thanks!

Anonymous User October 28, 2004


Very helpful!

Anonymous User June 10, 2005 (Article Rating: )


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.

Anonymous User August 02, 2005 (Article Rating: )


Extremely useful! Thanks for the wonderful tip!

Anonymous User August 06, 2005 (Article Rating: )


good article

Anonymous User August 07, 2005 (Article Rating: )


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.

ListDaddy February 22, 2007 (Article Rating: )


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

mpitfield May 11, 2007 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Task Automation Whitepapers Essential Guide to E-discovery and Recovery for Microsoft Exchange

Continuous Data Protection and Recovery for Microsoft Exchange

Protecting (You and) Your Data with Exchange Server 2007

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Delivering Reliable and Effective Web-Based Applications

Making Web Application Perform Better: What to Watch, How to Watch It, and How to Fix It

Check out our list of Free Email Newsletters!

Task Automation eBooks Spam Fighting and Email Security for the 21st Century

A Guide to Windows Certification and Public Keys

Keeping Your Business Safe from Attack: Patch Management

Related Task Automation Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing