On the Windows 2008 Server instance, open a command window. For example, click Start, Run, and then type cmd.
Change to the PolicyAgent-base\bin directory.
where PolicyAgent-base depends where you unzipped the IIS 7.0 agent distribution file. For example:
For example: C:\Agents\web_agents\iis7_agent\bin
Configure the Web site for the IIS 7.0 agent by running the IIS7Admin.vbs script with the -config option.
For example: cscript IIS7Admin.vbs -config IIS7Config.txt
where IIS7Config.txt is the agent configuration file that you created in Creating a Configuration File for the IIS 7.0 Agent.
Notes:
The script name and options are case-sensitive.
For the Agent Resource File Name prompt, accept the default value (IIS7Resource.en).
The IIS7Admin.vbs script displays the progress of the configuration, as shown in the following sample:
Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved. Copyright c 2009 Sun Microsystems, Inc. All rights reserved Use is subject to license terms Enter the Agent Resource File Name [IIS7Resource.en] : Creating the Agent Config Directory Creating the OpenSSOAgentBootstrap.properties and OpenSSOAgentConfiguration.properties File Updating the Windows Product Registry Completed Configuring the IIS 7.0 Agent
Ensure that the IIS 7.0 authentication method is set to Anonymous.
Restart IIS 7.0 using the iisreset command. For example, in a command prompt, type iisreset.
To view the agent log file (amAgent), see PolicyAgent-base\debug\Identifier_site-identifier\logs\debug, where site-identifier is a number such as 1 that identifies the Web site where the IIS 7.0 agent is being configured.