How to get the IUSR and IWAM user account passwords
Open up command prompt and navigate to C:\Inetpub\AdminScripts. Then type:
And the following command is to view the IWAM user password
cscript.exe adsutil.vbs get w3svc/anonymoususerpassIf everything goes well, you will see the following with the password in ***** format:
C:\Inetpub\AdminScripts>cscript.exe adsutil.vbs get w3svc/anonymoususerpas
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
anonymoususerpass : (STRING) "**********"
To display the IUSR and IWAM account passwords in cleartext, you need to open C:\Inetpub\AdminScripts and edit Adsutil.vbs in Notepad. Find this line:
If (Attribute = True) Then
IsSecureProperty = True
Else
IsSecureProperty = False
End If
and change it to:
If (Attribute = True) Then
IsSecureProperty = False
Else
IsSecureProperty = False
End If
Now run the script commands above again and you will see the passwords in clear text. Of course, please make sure to put Adsutil.vbs back to the way it was.And the following command is to view the IWAM user password
cscript.exe adsutil.vbs get w3svc/wamuserpassAfter you get these password, you can update the local account passwords by navigating to “My Computer”, right clicking “Manage” option to Computer Management console. And select “Local Users and Groups” node, then highlight the user “IUSR_SERVERNAME” and select reset password option. Do the same to the IWAM user, and restart the IIS Admin service then you are done.
Comments
Post a Comment