How to check or set the password of the IUSR and IWAM local accounts
First we need to change the settings so we can see the password. Go to: C:\Inetpub\AdminScripts\ And open adsutil.vbs in notepad or any text editor.
Search ""IsSecureProperty = True"" and replace with ""IsSecureProperty = False""
You may revert the above changes once you see the password.
To see IUSR password:
Start up command prompt (Start -> run -> cmd)
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/anonymoususerpass
Results should be something like:
anonymoususerpass : (STRING) “:tu*gu866IGHJK”
To see IWAM password:
Start up command prompt (Start -> run -> cmd)
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/wamuserpass
How to change the IUSR or IWAM password:
Instead of running a ‘get’ command in your cscript , run a ’set’ command to set new password.
How to set the password for the IUSR account.
C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/anonymoususerpass “NewPass”
Sync passwords between IIS and MTS:
Now sync the passwords. Run
C:\Inetpub\AdminScripts>cscript.exe synciwam.vbs -v
First we need to change the settings so we can see the password. Go to: C:\Inetpub\AdminScripts\ And open adsutil.vbs in notepad or any text editor.
Search ""IsSecureProperty = True"" and replace with ""IsSecureProperty = False""
You may revert the above changes once you see the password.
To see IUSR password:
Start up command prompt (Start -> run -> cmd)
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/anonymoususerpass
Results should be something like:
anonymoususerpass : (STRING) “:tu*gu866IGHJK”
To see IWAM password:
Start up command prompt (Start -> run -> cmd)
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/wamuserpass
How to change the IUSR or IWAM password:
Instead of running a ‘get’ command in your cscript , run a ’set’ command to set new password.
How to set the password for the IUSR account.
C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/anonymoususerpass “NewPass”
Sync passwords between IIS and MTS:
Now sync the passwords. Run
C:\Inetpub\AdminScripts>cscript.exe synciwam.vbs -v
No comments:
Post a Comment