# Software Uninstallation

# Uninstalling Through the Windows Installer Interface

  1. Run the openit_[version]_server_windows_[architecture].msi installer file used to uninstall the software.

  2. A setup wizard will be displayed. Click Next.

    WCS Uninstall: Setup Wizard

    WCS Uninstall: Setup Wizard

  3. Click Remove to remove the Open iT Core Server from the computer.

    WCS Uninstall: Selection

    WCS Uninstall: Selection

  4. Click Remove to uninstall the software.

    WCS Uninstall: Remove

    WCS Uninstall: Remove

  5. A notification dialog should be displayed. Read the message, then click Uninstall to proceed.

    WCS Uninstall: Confirm

    WCS Uninstall: Confirm

  6. Click Finish to complete the uninstallation process.

    WCS Uninstall: Complete

    WCS Uninstall: Complete

# Uninstalling through the Command Line

  1. Open a command prompt with Administrative level privileges.

  2. Execute the following command:

    msiexec /x openit_[version]_server_windows_[architecture].msi

    Required:

    Name Description
    /x [msi_file] The Windows installer file (with full path) used to install the Open iT Windows Core Server.
    /l*v [log_file] The log file (with full path) that contains the detailed uninstallation messages.

    Optional:

    Name Description
    /quiet Run the command in silent mode.
    /passive Run the command in unattended mode - progress bar only.

    Example
    msiexec /x openit_9_19_0_server_windows_x64
  3. When using the passive mode, wait until the process bar dialog disappears. When using the quiet mode, verify if the installation is complete by opening the Task Manager and checking in the Details tab if the msiexec process is still running.

# Uninstalling Through the Control Panel

  1. Go to the Control Panel.

  2. Under Programs, click Uninstall a program.

    WCS Uninstall: Control Panel

    WCS Uninstall: Control Panel

  3. In the list of programs, select Open iT Core Server and click Uninstall.

    WCS Uninstall: Control Panel Program List

    WCS Uninstall: Control Panel Program List

  4. Wait for Windows to configure the Open iT Core Server.

    WCS Uninstall: Configure

    WCS Uninstall: Configure

  5. A confirmation will appear stating that the server was successfully uninstalled. Click OK to complete the process.

    WCS Uninstall: Control Panel Confirm

    WCS Uninstall: Control Panel Confirm

# Uninstalling the Software Manually

  1. Go to dist folder or to /opt/openit/bin.

  2. Run the uninstall script.

    ./uninstall

    Or run the uninstall script directly from the directory.

    /opt/openit/bin/uninstall

    or

    dist/uninstall
  3. Press y and Enter until the uninstall process finished.

                    Open iT Uninstall 
               ===========================
    
    This script will remove all installed Open iT software.
    
    Host '_`your-hostname`_' has installed: 
    
    	Open iT Base
    	Open iT Client
    
    Continue uninstall of Open iT? \[n\] : **`y`**
    
    \---------- Note on pacct status file ---------------
    The Pacct status file /var/opt/openit/etc/Pact\_Already\_Runs 
    does not exist. This script will not change the pacct status. 
    You may, if necessary, manually change it.
    
    Stopping Open iT Daemons
    Sending Open iT Daemons: stop
    Stopping httpd ...
    Stopping openit\_serverd ...
    Stopping openit\_scheduler ...
    Stopping openit\_loggerd ...
    		\* Removing any crontab entries.......done
    		\* Removing server startup scripts....done
    
    The following scripts will be removed:
    _(Scripts to be removed should be listed here.)_
    Proceed? \[n\] : **`y`**
    
    The following directories contain data that must be saved when
    uninstalling and doing an upgrade of the current version:
    
    DATA\_DIR/database
    DATA\_DIR/incoming
    DATA\_DIR/archives
    ROOT\_HTML\_DIR/periodic\_reports
    ROOT\_HTML\_DIR/results
    
    (These directories will only be removed by uninstall script if
    installed under /opt/openit or /var/opt/openit)
    
    Open iT configuration files and directories that should be saved
    are:
    
    /etc/opt/openit/openit.cfg
    /var/opt/openit/etc
    
    These files/directories are now going to be REMOVED!
    
    Continue removing Open iT software and configuration? \[n\] : **`y`**
    
    \* Removing installed files. . . . . . . . . .done
    
    Uninstall done. There seems to be some Open iT processes still
    running. Please kill them exclusively and verify that there are no 
    more Open iT processes running on your system, before you proceed 
    with further operations

For uninterrupted uninstall, run:

./uninstall -b -n

For more information regarding the arguments, type in:

./uninstall --help

This shows the manual page for the uninstall script:

Usage: uninstall \[ -b \] \[ -n \]
    -b batch uninstall (without user input)
    -n don't transfer client data to server before uninstall

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close