Tuesday, July 13, 2010

How to see IWAM / IUSR account passwords

* As these passwords will be automatically created by the system itself, we will nowhere see these passwords.
* You can use the following method to know them
- Backup c:\inetpub\adminscripts\adsutil.vbs file
- Open c:\inetpub\adminscripts\adsutil.vbs file and search for IsSecureProperty = True and change the property to False.
- Open command prompt and change the directory to c:\inetpub\adminscripts and type the following command.

IUSR - C:\Inetpub\AdminScripts>adsutil.vbs get w3svc/anonymoususerpass
IWAM - C:\Inetpub\AdminScripts>adsutil.vbs get w3svc/wamuserpass

FYI, Tested in Windows 2003 Server. :)