Recently we were removing a decommissioned a server and went to remove its agent from DPM however we received the below error.

The agent operation failed on SERVERNAME because DPM could not communicate with the DPM protection agent. The computer may be protected by another DPM server, or the protection agent may have been uninstalled on the protected computer.
If SERVERNAME is a workgroup server, the password for the DPM user account could have been changed or may have expired.

To remove the decommissioned server from the console we had to do the following on the DPM server

  1. Open DPM Management Shell
  2. Run “Remove-ProductionServer.ps1 -DPMServername YourDPMServerName -PSName MachineToRemove

After running this command the Server was removed from the DPM consoleSmile

About the author