I got this error today:
SetDpmServer failed with errorcode =0x80070005, error says: Access is denied.
Cause was the protected server could not be reached over the network.
I opened my explorer, typed \\DPMserver and logged in with the right credentials.
Tried the SetDpmServer command again, worked!
Looks like a trust issue?