How to uninstall UiPath Remote Runtime from the command prompt?

How to uninstall UiPath Remote Runtime from the command prompt?

Resolution

The uninstallation of UiPath Remote Runtime requires administrator rights and can be performed in these ways:

Approach #1 - Using msiexec with the standard commands for any msi

Open cmd.exe as an Administrator and run the below command (provide the local path of the installer in double quotes):

msiexec /uninstall "C:\Users\username\Downloads\UiPathRemoteRuntime.msi" /quiet

This article describes standard command-line options for the Microsoft Standard Installer msiexec.exe.

Approach #2 - Using WMIC: WMI command-line utility

Open cmd.exe as Administrator and run these two commands one after another:

wmic
product where name="UiPath Remote Runtime" all uninstall /nointeractive

For a successful uninstallation, it should display a similar message:

Executing (\\xxx\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{xxx-xxx-xxx-xxx-xxx}",Name="UiPath Remote Runtime",Version="xxx.xxx.xxx.xxx")->Uninstall()

Method execution successful.

Out Parameters:

instance of __PARAMETERS

{

ReturnValue = 0;

};

Example:

If the UiPath Remote Runtime is not installed on the system, you should receive the"No Instance(s) Available." message.

Example:
image.png