Hi
On a server I upgraded SQL 2019 to SQL 2022. Since that time, the DPM auto-protection failed for this server.
DPM could not enumerate SQL Server instances using Windows Management Instrumentation on the protected computer.
Start-AutoProtection : DPM could not enumerate SQL Server instances using Windows Management Instrumentation on the
protected computer XX. (ID: 965)
Please make sure that Windows Management Instrumentation for SQL server is in good state.
At C:\Program Files\Microsoft System Center 2022\DPM\DPM\bin\AutoProtectInstances.ps1:10 char:1
+ Start-AutoProtection -DPMServerName $DPMServerName -confirm:$false
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Start-DPMAutoProtection], DlsException
+ FullyQualifiedErrorId : UnableToEnumerateSQLInstances,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.StartAu
toProtection
I reinstalled the mof file:
PS C:\Program Files (x86)\Microsoft SQL Server\160\Shared> mofcomp .\sqlmgmprovider.mof
Microsoft (R) MOF Compiler Version 10.0.20348.1
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: .\sqlmgmprovider.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!
Do you have an idea? Thanks!