Today I receive a request that the DPM agent was installed into a protected computer is no longer needed and needs to be remove from the DPM.
Somehow, they hit an issue. They can’t uninstall the Agent from the DPM server.
First of all, you need to check that there’s no protection group exist for that particular server anymore in the DPM.
Next is go to the Protected Computer and ensure that there’s no DPM agent installed. Go to the Add or Remove Programs and uninstall the DPM agent.
Once this is done, go back to the DPM server and launch the PowerShell for DPM.
- Key in remove-productionserver.ps1 from the powershell and hit <Enter>
- Key in the DPM Server name that is protecting the server in the DPM Server name after the DPMServer:: and hit <Enter>
- Key in the Protected Server (that is to be remove from the DPM database) after the PSName:: together with the FQDN (meaning the computername plus the full domain name) and hit <Enter>
Once it’s removed, just bring back the DPM Console and go to the Management – Agents. You’ll no longer see the computer that was removed using the PowerShell anymore.
Thank you and hope this helps you as much it helps me.
keynote : remove DPM agent manually, can’t remove agent from DPM Console, Can’t remove DPM agent from DPM console. remove-productionserver.ps1 PSName DPMServer.