Home Home    Forum    Blog    Feed your aggregator (RSS 2.0)

The Johnnynine Weblog - How to get the IUSR and IWAM account passwords set in IIS
A weblog by Johnny Hughes
 
 Tuesday, September 09, 2008

Obtain the IUSR account password:  cscript.exe adsutil.vbs get w3svc/anonymoususerpass
Obtain the IWAM account password:  cscript.exe adsutil.vbs get w3svc/wamuserpass

Set the IUSR account password:  cscript.exe adsutil.vbs set w3svc/anonymoususerpass "password"
Set the IWAM account password:  cscript.exe adsutil.vbs set w3svc/wamuserpass "password"

 

If the password appears as asterisks, edit the adsutil.vbs file and

change

IsSecureProperty = True

to

IsSecureProperty = False

Reference:

See PRB: Configured Identity Is Incorrect for IWAM Account for details.

 

Example:

C:\Inetpub\AdminScripts>cscript adsutil.vbs get W3SVC/anonymoususerpass

Microsoft (R) Windows Script Host Version 5.6

Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

anonymoususerpass               : (STRING) "mypassword"

Tuesday, September 09, 2008 10:22:39 AM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]   Technical  | 
Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Copyright © 2010 Johnny Hughes. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.