MABS v4 fail to install on Windows server 2019 - Setup cannot query the system configuration

MarcAF 45 Reputation points
2024-07-31T17:40:31.9233333+00:00

MABS v4 fail to install on Windows server 2019 standard due to a WMI error.

User's image

Here is the Error

Setup cannot query the system configuration. Verify that the Windows Management Instrumentation (WMI) service is running. If the WMI service is not running, in Control Panel, click Administrative Tools, and then click Services. Right-click Windows Management Instrumentation, and then click Start. To troubleshoot this issue further, refer to http://go.microsoft.com/fwlink/?LinkId=167898 ID: 820

The WMI service is running and the startup type is automatic.

I followed steps in https://learn.microsoft.com/en-us/previous-versions/system-center/data-protection-manager-2010/ff399025(v=technet.10)

1 - Validate consistency

WMI-Consistent

2 - Disable the custom password filter

3 - Finally register certain WMI components.

WMI-REgisterMOF

It still does not install.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,264 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 45,276 Reputation points Microsoft Employee
    2024-08-02T12:36:25.2533333+00:00

    @MarcAntoineFecteau-1499 Thank you for reaching out to us!

    <<<Posting on behalf of @Amardeep Saini>>>

    Please check the setup logs and see if it is matches with below stack.

     

    [6/4/2021 9:14:28 AM] * Exception :  => System.Runtime.InteropServices.COMException (0x80070056)

       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

       at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)

       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Helpers.WmiHelper.ChangeSqlServiceConfiguration(String serviceName, Int32 serviceType, String userAccountName, String password)

    [6/4/2021 9:14:28 AM] * Exception :  => Setup cannot query the system configuration.Verify that the Windows Management Instrumentation (WMI) service is running. If the WMI service is not running, in Control Panel, click Administrative Tools, and then click Services. Right-click Windows Management Instrumentation, and then click Start.

     

    This scenario is this is caused by security setting in one of our GPOs. So, you need to check Local GPO Computer>Windows Settings>Security Settings>Local Policies>User Rights Assignment>Deny access to this computer from the network and check if deny local accounts is added into it.

     

    To fix the issue remove local accounts from GPO "Deny access to this computer from the network" and update the policy on MABS server.

    ---------------------------------------------------------------------------------------------------------------If the suggestions were helpful, click “Accept Answer” and Up-Vote it.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Amardeep Saini 1,175 Reputation points Microsoft Employee
    2024-08-02T11:36:19.5966667+00:00

    Thank you for contacting us on Microsoft Q&A platform. Happy to help!

    Seems you are facing an issue due to a group policy issue. Please check DPM setup logs located on C:\Program Files\Microsoft Azure Backup Server V4\DPM Setup and match if you are getting similar snip for the failure.

    [6/4/2021 9:14:26 AM] Information : Change service configurations

    [6/4/2021 9:14:26 AM] Information : [SQLSetupHelper.GetWMISqlServerNamespace]. SQL Namespace found. SQL Namespace : \localhost\root\Microsoft\SqlServer\ComputerManagement14

    [6/4/2021 9:14:28 AM] * Exception : => System.Runtime.InteropServices.COMException (0x80070056)

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)

    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Helpers.WmiHelper.ChangeSqlServiceConfiguration(String serviceName, Int32 serviceType, String userAccountName, String password)

    [6/4/2021 9:14:28 AM] * Exception : => Setup cannot query the system configuration.Verify that the Windows Management Instrumentation (WMI) service is running. If the WMI service is not running, in Control Panel, click Administrative Tools, and then click Services. Right-click Windows Management Instrumentation, and then click Start.

    To troubleshoot this issue further, refer to http://go.microsoft.com/fwlink/?LinkId=167898Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception ---> System.Runtime.InteropServices.COMException

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)

    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Helpers.WmiHelper.ChangeSqlServiceConfiguration(String serviceName, Int32 serviceType, String userAccountName, String password)

    --- End of inner exception stack trace ---

    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Helpers.WmiHelper.ChangeSqlServiceConfiguration(String serviceName, Int32 serviceType, String userAccountName, String password)

    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.PrerequisiteInstallation.SqlConfiguration.ConfigureServices()

    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.PrerequisiteInstallation.PrerequisiteInstaller.Configure()

    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.VenusProgressPage.ConfigureRequiredPrerequisites()

    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.VenusProgressPage.InstallerThreadEntry()

    *** Mojito error was: CouldNotQueryWmi; 0; None

    [6/4/2021 9:14:28 AM] *** Error : Setup cannot query the system configuration.

    Also check your security events and see if you are getting below mentioned error:

    User's image

    If the above scenario matches then this is caused by security setting in one of our GPOs. So, you need to check Local GPO Computer>Windows Settings>Security Settings>Local Policies>User Rights Assignment>Deny access to this computer from the network and check if deny local accounts is added into it.

    To fix the issue remove local accounts from GPO "Deny access to this computer from the network".

    Update the policy on MABS server by running below mentioned command in admin command prompt.

    PS C:\WINDOWS\System32> gpupdate.exe /force

    If the suggestions were helpful, click “Accept Answer” and Up-Vote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.