Installation and Upgrade Guides › Policy Server Installation Guide › Installing the Policy Server on Windows Systems › How to Uninstall the Policy Server
How to Uninstall the Policy Server
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.
Copyright © 2012 CA.
All rights reserved.
|
|