Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

PowerProtect Data Manager 19.12 Microsoft SQL Server User Guide

Troubleshooting the exit of agent service register.bat with error code 2

When you try to add a host to an existing virtual machine application-aware protection policy, the agent service register.bat script might exit with error code 2:

Unable to register PowerProtect Agent Service. Registration script returned with exit code 2.

To resolve this issue, complete the following steps.

  1. Edit the PowerProtect Data Manager protection policy, and remove the Microsoft SQL Server client.
  2. On the Microsoft SQL Server client, uninstall the Microsoft application agent and vProxy agent:

    • To uninstall the Microsoft application agent, refer to the uninstallation topics in Enabling the Microsoft Application Agent for Microsoft SQL Server.
    • To uninstall the vProxy agent, complete the following steps:

      1. Select Control Panel > Programs > Programs and Features.
      2. Right-click Dell EMC vProxy Agent in the list, and select Uninstall.
  3. Rename the DPSAPPS and vProxy installation directories. The vProxy installation directory is C:\Program Files (x86)\EMC\vProxy FLR Agent.
  4. Complete the following Microsoft instructions to change the default control manager timeout limit to 120000 (about 2 minutes):

    https://support.microsoft.com/en-in/help/922918/a-service-does-not-start-and-events-7000-and-7011-are-logged-in-window

  5. Reboot the Microsoft SQL Server client.
  6. In the PowerProtect Data Manager UI, edit the protection policy, add the Microsoft SQL Server client to the policy, and wait for the configuration job to finish.
  7. Confirm that the PowerProtect agent service is running on the Microsoft SQL Server client. Check the PowerProtect agent service status from the Services Manager.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\