Previous Topic: Reinstall the Policy ServerNext Topic: Scripting Interface


How to Uninstall the Policy Server on Windows

To uninstall the Policy Server complete the following procedures:

  1. Set the JRE in the Path System Variable.
  2. Shut down all instances of the Policy Server Management Console.
  3. Remove Policy Server References from Agent Host Files.
  4. Uninstall the Policy Server.
Set the JRE in the Path Variable

You set the JRE in path variable when uninstalling the Policy Server, Web Agent and SDK to prevent the uninstallation program from stopping and issuing one of the following error messages:

To set the JRE in the path variable

  1. Open the Windows Control Panel.
  2. Double-click System.
  3. Add the location of the JRE to the Path system variable in the Environment Variables dialog.
Remove Policy Server References from Agent Host Files

You remove the Policy Server reference from the SmHost.conf file to prevent unexpected results from the Web Agent once the Policy Server is uninstalled.

To remove the Policy Server reference

  1. Navigate to web_agent_home/config.
    web_agent_home

    Specifies the installation directory of the Web Agent.

  2. Open the SmHost.conf file in a text editor.
  3. Delete the line that begins with "policyserver=".

    Note: This line contains the IP address and port numbers for the Policy Server you are uninstalling.

  4. Save SmHost.conf.

    The SmHost.conf file no longer references the Policy Server you are uninstalling.

Stop All CA SiteMinder® Processes

Before you uninstall the Policy Server, stop all CA SiteMinder® processes so that Policy Server files are safely removed.

Follow these steps:

  1. Log in to the Windows system.
  2. From the Administrative Tools, open the Services.
  3. Scroll down to the SiteMinder Policy Server service and select Stop.

All CA SiteMinder® processes stop.

Uninstall the Policy Server

You uninstall the Policy Server when it is no longer required on the system.

Follow these steps:

  1. Open the Windows Control Panel and go to the list of programs.
  2. Right–click CA CA SiteMinder® Policy Server.
  3. Click Uninstall/Change.
  4. Follow the instructions of the wizard.

    Note: If you are prompted to remove a shared file, click No to All.

  5. If requested, reboot the system.

    The Policy Server is uninstalled.

Remove Leftover Items

Manually remove the following folders, files, registry settings, and virtual directories after uninstalling the Policy Server:

Remove Leftover Services

After uninstalling the Policy Server and rebooting the machine, the following services may not be removed:

To manually remove leftover services

  1. Stop each service.
  2. Remove the following Windows registry key, as necessary:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Registry_Key_Name>
    
    Registry_Key_Name

    Specifies the registry key name of the service that is to be removed:

    • SMServMon (CA SiteMinder® Health Monitor Service)
    • SMPolicySrv (CA SiteMinder® Policy Server)
    • Agent Service (SNMP Agent)

    The leftover services are removed.