Installation and Upgrade Guides › Policy Server Installation Guide › Installing the Policy Server on Windows Systems › How to Uninstall the Policy Server on Windows
How to Uninstall the Policy Server on Windows
To uninstall the Policy Server complete the following procedures:
- Set the JRE in the Path System Variable.
- Shut down all instances of the Policy Server Management Console.
- Remove Policy Server References from Agent Host Files.
- 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:
- “Could not find a valid Java virtual machine to load. You need to reinstall a supported Java virtual machine.”
- "No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program."
To set the JRE in the path variable
- Open the Windows Control Panel.
- Double-click System.
- 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
- Navigate to web_agent_home/config.
- web_agent_home
-
Specifies the installation directory of the Web Agent.
- Open the SmHost.conf file in a text editor.
- Delete the line that begins with "policyserver=".
Note: This line contains the IP address and port numbers for the Policy Server you are uninstalling.
- 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:
- Log in to the Windows system.
- From the Administrative Tools, open the Services.
- 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:
- Open the Windows Control Panel and go to the list of programs.
- Right–click CA CA SiteMinder® Policy Server.
- Click Uninstall/Change.
- Follow the instructions of the wizard.
Note: If you are prompted to remove a shared file, click No to All.
- 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:
- CA SiteMinder® Health Monitor Service
- CA SiteMinder® Policy Server
- SNMP Agent
To manually remove leftover services
- Stop each service.
- 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.
Copyright © 2014 CA.
All rights reserved.
|
|