[SOLVED] How to Fix Agent Not Reachable Error in DPM

Here we will show the way to fix the error ‘Agent Not Reachable’ in DPM which prevents backing up guest virtual machines on Windows  Server Hyper-V. This is applicable to physical servers and client computers too. The backup of a Windows server/computer will fail when the DPM server loses the connectivity and access to take necessary actions on the protected computer.

There are a few things you need to check when you get this error in Data Protection Manager (DPM), but this post specifically solves the problem which is related to local user authentication that prevents backup in a different domain (untrusted) or workgroup setup.

Usually, when the DPM console shows an ‘Agent Not Reachable’ warning and backup and synchronization do not happen, you need to check the below points,

  1. Network connection
  2. The firewall on the protected computer
  3. The power status of the computer
  4. DPM Agent installation or service issue.

Microsoft basically says only two reasons for it here. If you are sure that the above 4 settings/status is meeting the requirement on a protected virtual or physical computer, then possibly the below reason is the culprit.

Read Also: How to do P2V in System Center Virtual Machine Manager (SCVMM)

Since we are talking about the DPM protection for the untrusted domain and workgroup setup scenario, the user name and password we set up during the configuration could be the issue. Mostly the password is expired or some issues with the local user account. This is the normal warning message when DPM lost access/connectivity.

Agent not reachable dpm error

The Solution to Fix Agent Not Reachable in DPM

Here we are not going to explain how to configure backup with DPM in an untrusted domain or workgroup environment. Basically, you need to create a local user account on the DPM server and protected computer to complete this task. You can follow this guide to set up the backup for a virtual or physical machine in this case.

Coming to the solution, the first thing you can do is simply update the password of the local account used during the setup.

If you have missed configuring the ‘do not expire’ password option and the password expiry policy is in place, then you will be facing this issue more frequently.

Under Management in the DPM console, you can see the error message below which indicates that there are some issues.

Connection error

 

Update Password on Protected Computer

Here we can update/change the password from the protected computer. You should know whether the computer is protected by using NetBIOS or FQDN.

This command is for the NetBIOS name, (Open the command prompt as  administrator and type the below command from the DPM-Bin folder)

SetDpmServer.exe -dpmServerName Server01 -isNonDomainServer –UpdatePassword

This is for the computer protected by the FQDN name,

SetDpmServer.exe -dpmServerName Server01.corp.contoso.com -isNonDomainServer –UpdatePassword

dpm password update on the client

Enter the new password and confirm it again.

Remember- The protected server/computer should resolve the computer name to an IP address. So, make sure it can resolve the NetBIOS or FQDN name to IP. You may need to modify the host file for that.

On the DPM server,

Again you have to see how the protection was set up earlier, either by FQDN or NetBIOS name. Here is an example of FQDN protection;

Update-NonDomainServerInfo –PSName Finance01.worlwideimporters.com –dpmServerName Server01.contoso.com

You should be running this command from the DPM installation folder as shown below.

update non-domain password in dpm server

You can find more information here about setting up a password for untrusted or workgroup computer/server protection by Microsoft System Center Data Protection Manager.

Type the same password you have entered earlier in the protected computer. This user credential will be used in future for DPM communication and the backup process.

Make sure the Windows firewall is set to allow DPM communication packets on these specific ports.

Once the same password is updated on both computers, do a refresh under Protected computers in the Management area of DPM. The connection will be active and the ‘Agent Not Reachable’ error will disappear from the DPM console. Now the backups should work perfectly.

After making the communication

Important Note

You must set ‘Password never expires’ for this particular local user account on both computers – the DPM server and the protected computer.

Hope this guide is helpful in solving the random agent not reachable error message in DPM while protecting untrusted domain or workgroup computers.

If any of the above solutions did not fix the Windows PC issues, we recommend downloading the below PC repair tool to identify and solve any PC Issues.

Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.