Its a technical blog by pcsmitpra to discuss about ASP.NET and IIS related Tricks and Tips. Every solution given here is tested in some environment which may or may not apply to your. ****AS IS**** Please apply at your own risk.
Monday, August 15, 2011
Friday, August 12, 2011
How to check or set the password of the IUSR and IWAM local accounts , Sync passwords between IIS and MTS
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
Subscribe to:
Posts (Atom)