Change to the directory PolicyAgent-base\iis6\bin
Run the following VB script to unconfigure the agent (be aware that the command is case sensitive):
cscript.exe IIS6AuthAdmin.vbs -unconfig defaultConfig
is a VB script that uses the output of the IIS6CreateConfig.vbs script. The output was saved to a configuration file, which for this example is represented by defaultConfig.
is the option that allows the output to be used to unconfigure Agent for Microsoft IIS 6.0 to protect Microsoft Office SharePoint or Outlook Web Access.
represents the agent configuration file created previously as described in To Create Configuration Files: Agent for Microsoft IIS 6.0.
The script unconfigures the agent and displays the following message:
Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Copyright c 2004 Sun Microsystems, Inc. All rights reserved Use is subject to license terms Enter the Agent Resource File Name [IIS6Resource.en] : Removing the Agent Config Directory Removing the entries from Windows Product Registry Unloading the IIS 6.0 Agent Completed Unconfiguring the IIS 6.0 Agent
The unconfiguration does the following:
Removes the agent configuration directory
Removes the entries from Windows registry.
Removes the wild card application mappings in Microsoft IIS 6.0.
Accept the default when presented with the following prompt:
Enter the Agent Resource File Name [IIS6Resource.en]:
Once you have completed the unconfiguration process, see Agent Uninstallation for Microsoft IIS 6.0 to uninstall the agent.