{"id":8438,"date":"2024-11-26T20:40:01","date_gmt":"2024-11-26T20:40:01","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=8438"},"modified":"2024-11-26T20:40:03","modified_gmt":"2024-11-26T20:40:03","slug":"mars-agent-installation-verification-failed-cannot-reinstall-asr-agent-for-dr-on-server-2012r2","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/mars-agent-installation-verification-failed-cannot-reinstall-asr-agent-for-dr-on-server-2012r2","title":{"rendered":"MARS agent installation verification failed &#8211; Cannot reinstall ASR Agent for DR on Server 2012R2"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">2024-11-21T14:42:52.9831501+11:00\tAlways:\tTrace Session Started\n02:42:52:\n02:42:52:Application Started\n02:42:52:OS Version: '6.3.9600.0'\n02:42:52:Main : Current directory = e:\\01645b96024fe4171f59\n02:42:52:Setup action value = UserInterface\n02:42:52:Adapter name was not specified. Autodetection of adapter will be done.\n02:42:52:Installation for Microsoft Azure Site Recovery Provider not found\n02:42:53:Checking for VMM installation\n02:42:53:No compatible VMM installation found.\n02:42:53:Checking for InMage installation\n02:42:53:Check for InMageRcm appliance returned False.\n02:42:53:Check for VMWare appliance returned False.\n02:42:53:Checking for HyperV installation\n02:42:53:Checking for OS Type.\n02:42:53:OS Details Type -> 3\n02:42:53:Starting execution of cmdlet Get-WindowsFeature\n02:42:54:Installation for Microsoft Azure Site Recovery Provider not found\n02:42:54:RUNID: 56b3fb09-f697-4353-b9f4-342a4c3ca8c0\n02:42:54:OperationsLogger intialized with Installation type New and Adapter SingleHostAdapter.\n02:42:54:Checking for HyperV installation\n02:42:54:Checking for OS Type.\n02:42:54:OS Details Type -> 3\n02:42:54:Starting execution of cmdlet Get-WindowsFeature\n02:42:55:Checking for OS version to be greater than or equal to: 6.3.0\n02:42:56:OS Details Version -> 6.3.9600, Type -> 3\n02:42:56:Server OS Version Check Passed\n02:42:56:Checking for Powershell Installation.\n02:42:56:Powershell Version 4.0 Found\n02:42:56:Checking for Cluster Broker QFE installation.\n02:42:56:Start Mode of Service ClusSvc: Disabled\n02:42:56:HyperV Node does not belong to cluster\n02:42:56:Checking for Incompatible product installation for adapter - SingleHostAdapter\n02:42:56:Installation for Microsoft Azure Site Recovery Provider not found\n02:42:56:No Incompatible product installation found\n02:42:56:Adding Page LaunchPage\n02:42:56:Skipping stage addition. Stage Null\n02:42:56:Enter Microsoft.DisasterRecovery.Setup.LaunchPage\n02:42:56:Active navigation for \n02:42:56:Adding Page MicrosoftUpdatePage\n02:42:56:Adding Microsoft Update key to dictionary\n02:42:56:Adding Page InstallationPage\n02:42:56:Adding Installation key to dictionary\n02:42:56:Exit Microsoft.DisasterRecovery.Setup.LaunchPage\n02:42:56:Enabling clickable navigation for \n02:42:56:Inactive navigation for  \n02:42:56:Enter Microsoft.DisasterRecovery.Setup.MicrosoftUpdatePage\n02:42:56:Active navigation for Microsoft Update\n02:42:56:Checking if MU is opted in on this machine.\n02:43:11:Exit Microsoft.DisasterRecovery.Setup.MicrosoftUpdatePage\n02:43:11:Enabling clickable navigation for Microsoft Update\n02:43:11:Inactive navigation for Microsoft Update \n02:43:11:Enter Microsoft.DisasterRecovery.Setup.InstallationPage\n02:43:11:Active navigation for Installation\n02:43:12:Not able to find the service: Threw Exception.Type: System.InvalidOperationException, Exception.Message: Service dra was not found on computer '.'.\n02:43:12:StackTrace:   at System.ServiceProcess.ServiceController.GenerateNames()\n   at System.ServiceProcess.ServiceController.get_ServiceName()\n   at System.ServiceProcess.ServiceController.GenerateStatus()\n   at System.ServiceProcess.ServiceController.get_Status()\n   at Microsoft.DisasterRecovery.IntegrityCheck.EvaluateValidations.CheckServiceRunningStatus(String serviceName)\n02:43:12:InnerException.Type: System.ComponentModel.Win32Exception, InnerException.Message: The specified service does not exist as an installed service\n02:43:12:InnerException.StackTrace:\n02:43:12:Evaluate validation failed: Threw Exception.Type: System.InvalidOperationException, Exception.Message: Service dra was not found on computer '.'.\n02:43:12:StackTrace:   at System.ServiceProcess.ServiceController.GenerateNames()\n   at System.ServiceProcess.ServiceController.get_ServiceName()\n   at System.ServiceProcess.ServiceController.GenerateStatus()\n   at System.ServiceProcess.ServiceController.get_Status()\n   at Microsoft.DisasterRecovery.IntegrityCheck.EvaluateValidations.CheckServiceRunningStatus(String serviceName)\n   at Microsoft.DisasterRecovery.IntegrityCheck.EvaluateValidations.IsDraServiceRunning(DraServiceInput input)\n   at Microsoft.DisasterRecovery.IntegrityCheck.IntegrityCheckWrapper.Evaluate(Validations validationName, ValidationInput input)\n02:43:12:InnerException.Type: System.ComponentModel.Win32Exception, InnerException.Message: The specified service does not exist as an installed service\n02:43:12:InnerException.StackTrace:\n02:43:12:Checking for MARS agent installation\n02:43:16:Installing MARS agent\n02:43:35:MARS agent installation verification failed. Expecting Version 2.0.9940.0 Found 0.0\n<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Download the bin folder from below link, and replace C:\\Program Files\\Microsoft Azure Recovery Services Agent\\bin on the problematic server.<br><a href=\"https:\/\/github.com\/pariswells\/public-code\/blob\/master\/bin.zip\">https:\/\/github.com\/pariswells\/public-code\/blob\/master\/bin.zip<\/a><\/li>\n<\/ol>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Run below commands to remove failed manifest files:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Wevtutil.exe cl CloudBackup \n\nWevtutil.exe um \"C:\\Program Files\\Microsoft Azure Recovery Services Agent\\bin\\EventProvider.man\"\n\nWevtutil.exe cl MicrosoftAzureRecoveryServices-Replication \n\nWevtutil.exe um \"C:\\Program Files\\Microsoft Azure Recovery Services Agent\\bin\\HVRAzureAgentEventProvider.man\" <\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8438","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=8438"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8438\/revisions"}],"predecessor-version":[{"id":8439,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8438\/revisions\/8439"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=8438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=8438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=8438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}