Thursday, January 28, 2016

Setdpmserver, errorcode = 0x80070005, error says: access is denied

Hi,

So today I ran into an interesting problem when installing a DPM-agent on a Domain Controller in another trusted-domain.

The agent-installation completed successfully but when I ran:
   SetDpmserver.exe -dpmservername MyDPMServer.Bucatech.com
In a elevated command prompt I got received the error
   SetDpmServer failed with errorcode = 0x80070005, error says: Access is denied.

My solution, after some hours of troubleshooting, was to run a Enter-PsSession to the production server, from the DPM-server in my Bucatech.com-domain:

   Enter-PSSession ProdServer.Contoso.com -Credential Contoso\DomainAdminUser

*fill in my password in the authentication-box*

   CD 'C:\Program Files\Microsoft Data Protection Manager\DPM\bin'

   .\SetDPMServer.exe -dpmservername MyDPMServer.Bucatech.com

I hope this can help anyone of you!

Kind Regards
Markus Eliasson

2 comments :