Uninstalling the NICE DCV Server - NICE DCV

Uninstalling the NICE DCV Server

The following topic describes how to uninstall the NICE DCV server.

Uninstalling the NICE DCV Server on Windows

To uninstall the NICE DCV server on Windows

  1. Using an RDP client, connect to the NICE DCV server as the administrator.

  2. Ensure that there are no running NICE DCV sessions. Use the dcv list-sessions NICE DCV command to check for any running sessions. If there are running sessions, use the dcv close session NICE DCV command to stop them.

  3. After you confirm that there are no running sessions, stop the NICE DCV server. For more information, see Stopping the NICE DCV Server on Windows.

  4. Open the Windows Settings application and navigate to the Apps & Features panel.

  5. Select NICE DCV server and then press Uninstall.

  6. (Optional) You might also want to remove any log files that were generated by the NICE DCV server. After the uninstallation is complete, navigate to C:\ProgramData\NICE\dcv\ and delete the log folder.

Uninstalling the NICE DCV Server on Linux

The NICE DCV server is installed using a series of RPM or .deb packages, depending on your host server's operating system.

Note

You must be signed in as the root user to uninstall the NICE DCV server.

To uninstall the NICE DCV server on Linux

  1. Ensure that there are no running NICE DCV sessions. Use the dcv list-sessions NICE DCV command to check for any running sessions. If there are running sessions, use the dcv close session NICE DCV command to stop them.

  2. After you confirm that there are no running sessions, stop the NICE DCV server. For more information, see Stopping the NICE DCV Server on Linux.

  3. Uninstall the NICE DCV server packages. Depending on how you performed the installation, some of the packages might not be installed on your system and can be omitted from the command. For a list of optional packages, see Installing the NICE DCV Server on Linux.

    Amazon Linux 2 and RHEL/CentOS 7.x/8.x
    $ sudo yum remove nice-dcv-server nice-xdcv nice-dcv-gl nice-dcv-gltest nice-dcv-simple-external-authenticator
    SLES 12.x/15.x
    $ sudo zypper remove nice-dcv-server nice-xdcv nice-dcv-gl nice-dcv-gltest nice-dcv-simple-external-authenticator
    Ubuntu 18.04/20.04
    $ sudo apt remove nice-dcv-server nice-xdcv nice-dcv-gl nice-dcv-gltest nice-dcv-simple-external-authenticator
  4. (Optional) You might also want to remove any log files that were generated by the NICE DCV server. After the uninstallation is complete, navigate to /var/log and delete the dcv folder.