Tools
"Unable to remove Service System Error: 1722 System Message: The RPC server is unavailable." error After Upgrading the DMRC Client to the latest version
This article describes an issue when the Dameware agent/services cannot be removed/installed from the target computer and the error "Unable to remove Service System Error: 1722 System Message: The RPC server is unavailable" is being encountered.
First published date
Last published date
Overview
Beginning in Dameware 12.2, this new version is not compatible with older agent versions. Agents must be removed, and Dameware version 12.2 installed again through the application or re-installed via the agent installer.
However, on this issue, the administrator is unable to connect to any target computer. When trying to remove/uninstall the agent services, getting an error:
"Unable to remove Service
System Error: 1722
System Message: The RPC server is unavailable."
Product section
Cause
- Agent and Client Version incompatibility
- Access Right Limitation
Resolution
Please run the DMRC as a domain admin with local admin rights to the target remote machine when installing and removing the Dameware service/agent.
1. Hold the Shift Key + right-click the DMRC application
2. Run as a different user
3. Input the domain admin with local admin rights on the UAC
4. Retry the installation/uninstallation of the service.
If the target remote machine is reachable via another remote connection, apply the following to remove the service via CLI manually:
1. Remote into the Target Machine
2. Open the CMD, run as administrator
3. Stop the Dameware Services
-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.
net stop dwmrcs
4. Then run the 2 commands below to remove the agent
-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.
cd C:\Windows\dwrcs
dwrcs.exe -remove
5. Go back to Server or machine where Dameware Remote Mini Control was installed and launched the Console
6. Select the Target host and install the services
7. Perform a test login to confirm.
NOTE: You can also deploy this script via GPO, SCCM, etc., Window administrators can do it using the same procedure when uninstalling any other services.