Archive for the ‘IIS’ Category

Where are My IIS Log Files Stored?

Monday, December 1st, 2008

To determine where your IIS log files are stored, please perform the following steps on your server:

  1. Go to Start -> Control Panel -> Administrative Tools
  2. Run Internet Information Services (IIS).
  3. Find your Web site under the tree on the left.
  4. Right-click on it and choose Properties.
  5. On the Web site tab, you will see an option near the bottom that says “Active Log Format.” Click on the Properties button.
  6. At the bottom of the General Properties tab, you will see a box that contains the log file directory and the log file name. The full log path is comprised of the log file directory plus the first part of the log file name.

For example, if the dialog box displayed the following values:

  • Log file directory: C:\Windows\System32\LogFiles
  • Log file name: W3SVC1\exyymmdd.log

Then your full log path would be something like this:
C:\Windows\System32\LogFiles\W3SVC1

Rating: 6.0/10 (1 vote cast)

How can I check or set the password of the IUSR and IWAM local accounts

Friday, November 14th, 2008

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 and replace: IsSecureProperty = True
With: IsSecureProperty = False

Alright we have now set the Secure Property to False so we can see the password in plain text.

To get the 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) “:NX^+N49:67j5$”

To get the IWAM password:
Start up command prompt (Start -> run -> cmd)
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/wamuserpass

Changing the IUSR or IWAM password:
Instead of running a ‘get’ command in your cscript we’re going to run a ’set’ command to set our password.  So below is an example of how to set the password for the IUSR account.
C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/anonymoususerpass “P@ssword”

Sync passwords between IIS and MTS:
Last but not least we need to sync the passwords.  Simply run the following line and you’re all set:
C:\Inetpub\AdminScripts>cscript.exe synciwam.vbs -v

Rating: 0.0/10 (0 votes cast)