• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Show / Hide Table of Contents
  • Installation Guide for NCache
  • Installation Guide for .NET
    • Getting Started
    • Command Line Installation
    • Interactive Windows Installation
    • Network Install with PowerShell
      • Remote Installation
      • Remote Uninstallation
      • Activate NCache Purchased License
    • Evaluation Period Expiration & Extension
    • Activate NCache Purchased License (GUI)
      • Online Activation
      • Manual Activation
    • Deactivate NCache Purchased License (GUI)
      • Online Deactivation
      • Manual Deactivation
    • Command Line License Activation
  • Installation Guide for NCache Java Client
    • What is NCache Java Client?
    • Getting Started
    • Installation Steps for UNIX
    • Post Installation License Management for UNIX
    • Post Installation Client/Server Configuration for UNIX
    • Uninstall NCache Java Client from UNIX
    • Troubleshooting Common Install/Uninstall Problems
  • Licensing Model

Remote Uninstallation

NCache provides another PowerShell script called UninstallNCache.ps1 which helps to uninstall NCache from remote machine in silent mode. You should find the UninstallNCache.ps1 script at %NCHOME%/Integrations/PowerShell.

To remote uninstall NCache, do the following:

  1. From the machine from where you’re uninstalling NCache remotely, search for Windows PowerShell and select Run as Administrator.

  2. Go to the directory %NCHOME%/Integrations/PowerShell.

  3. Execute the following commands, modifying the values according to your environment. Note that the server names must be separated by BLANK space. The names can be computer names or IP addresses of the systems. It is assumed that that NCache is installed on the default path C:/Program Files.

    • Single Server Uninstallation

    This example uninstalls NCache on remote machine 20.200.20.29. Please replace the server IP “20.200.20.29” with your own remote machine IP.

    ./UninstallNCache.ps1 20.200.20.29
    
    • Multiple Server Uninstallation

    This example uninstalls NCache on three machines (20.200.20.29,20.200.20.30 and 20.200.20.31). Please replace these server IPs with your own remote cache server machine IPs.

    ./UninstallNCache.ps1 20.200.20.29 20.200.20.30 20.200.20.31
    
  4. Upon successful installation you will see a message with "Return Value:0" or 1614.

Back to top Copyright © 2017 Alachisoft