SetDpmServer failed with errorcode

I needed to add a new server for protection to DPM. I went to install the agent on the server and it failed. I then went and attached the agent and then went to do a manual install of the agent on the server itself. When I got to the point of running SetDpmServer I got an error. This is the error I got:

“C:\Program Files\Microsoft Data Protection Manager\DPM\bin>SetDpmServer.exe -dpm
ServerName DPM.DOMAIN.com
Configuring dpm server settings and firewall settings for dpm server =[DPM.DOMAIN.com]
Configuring dpm server settings and firewall settings for dpm server =[DPM.DOMAIN.com]
SetDpmServer failed with errorcode =0x80004005, error says: Unspecified error
To further troubleshoot failures with SetDpmServer, go to  http://go.microsoft.c
om/fwlink/?LinkId=169142″

This error is not very helpful. This is what I did to fix it.

From an elevated command prompt stop the Windows firewall service by running:

  • Net stop mpssvc

go ahead and run again

  • SetDpmServer.exe -dpmServerName DPM.DOMAIN.com

start the Windows firewall again by running

  • Net start mpssvc

You should be able to go back to the DPM admin console and see that your protected servers agent is “OK” now. This should work on DPM 07,10, and 2012.

Leave a reply