Configure Reliability WMI Providers
Configurer les fournisseurs WMI du service de fiabilité
Explanation
This policy setting allows the Windows Management Instrumentation (WMI) providers Win32_ReliabilityStabilitymetrics and Win32_ReliabilityRecords to provide data to Reliability Monitor in the Security and Maintenance control panel, and to respond to WMI requests.
If you enable or do not configure this policy setting, the listed providers will respond to WMI queries, and Reliability Monitor will display system reliability information.
If you disable this policy setting, Reliability Monitor will not display system reliability information, and WMI-capable applications will be unable to access reliability information from the listed providers.
Ce paramètre de stratégie permet aux fournisseurs Windows Management Instrumentation (WMI) Win32_ReliabilityStabilitymetrics et Win32_ReliabilityRecords de fournir des données au Moniteur de fiabilité du Panneau de configuration Sécurité et maintenance et de répondre aux demandes WMI.
Si vous activez ou ne configurez pas ce paramètre de stratégie, les fournisseurs répertoriés répondent aux demandes WMI et le Moniteur de fiabilité affiche des informations sur la fiabilité du système.
Si vous désactivez ce paramètre de stratégie, le Moniteur de fiabilité n’affiche pas d’informations sur la fiabilité du système et les applications compatibles WMI ne peuvent pas accéder aux informations sur la fiabilité provenant des fournisseurs répertoriés.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Reliability Analysis\WMI- Value name
WMIEnable
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: RacWmiProv/ConfigureRacWmi
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Reliability Analysis\WMI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WMIEnable' -Value 1 -Type DWordDisable
# Disable: RacWmiProv/ConfigureRacWmi
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Reliability Analysis\WMI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WMIEnable' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": RacWmiProv/ConfigureRacWmi
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Reliability Analysis\WMI'
Remove-ItemProperty -Path $k -Name 'WMIEnable' -ErrorAction SilentlyContinue