Datto Windows Agent Error: "Install of the Datto Agent Service Failed. Uninstall and run the install again"

Issue

When you attempt to install the Datto Windows Agent on a production machine, you receive the error message "Install of the Datto Agent Service Failed. Uninstall and run the install again."

Environment

  • Datto Windows Agent
  • Windows Server 2012R2

Cause

This error message can be caused by missing Windows updates in Windows Server 2012R2.

Resolution

To resolve this error, make sure that the following Windows updates are installed on the protected system:

1. KB2919422
2. Clearcompressionflag.exe
3. KB2919355
4. KB2932046
5. KB2959977
6. KB2937592
7. KB2938439
8. KB2934018
9. Visual C++ Redistributable for Visual Studio 2015

After installing any missing updates, re-run the Datto Windows Agent installer.

Further Troubleshooting

  • For any error encountered during a DWA installation, check the Windows Event Logs for any corresponding events.
  • If Visual C++ 2015 runtime is not up to date or not installed properly, this could prevent an install. Make sure that your Visual C++ runtme is up-to-date and fully-installed.
  • If the GUI install fails, you can run the following from an administrator command prompt (if installed to a non-default location, replace the install location below)
    "C:\Program Files\Datto\Datto Windows Agent\DattoBackupAgent.exe" -install'

Additional Resources