Uninstall KCM instance

This section describes how you can use RemoveInstance.exe to uninstall KCM instance from the server.

Overview

RemoveInstance.exe is a command-line tool intended to remove a stopped KCM instance from the server. This tool resides in: <deploy root>\KCM\Programs\<version>\Management\Uninstall.

The tool works as follows:

  1. It removes all Windows services, installation files and registry entries of the KCM instance.
    If there are other KCM components or other KCM versions on that server, they will be preserved.
  2. If there are no other KCM instances on the server, then the tool also removes the shared Tomcat services.
Removing an instance clears files, services, and settings specific to this instance. The content database is unaffected.

Before you start

Before running the tool, check the following prerequisites:

  1. All KCM instances on the server have been stopped, otherwise RemoveInstance will not proceed.
  2. Shared Tomcat instances have been stopped – this is required for the KCM instance web applications to be removed.
  3. The account used to run RemoveInstance.exe is included in the local Administrators group on the target server.

Parameters

Parameter

Required / Optional

Description

Instance!Number Required

Numeric ID (1-99) of the KCM instance to remove.

Must be an existing KCM instance.