Executar WMIAdap

Microsoft.Windows.Client.XP.Computer.RunWMIAdap (Rule)

Regra que executa o WMIAdap executável diariamente para reparar o repositório do WMI se ele se tornar corrompido

Knowledge Base article:

Resumo

Esta regra executa a ferramenta de linha de comando WMIADAP.EXE em uma base agendada para garantir que o WMI pode acessar todos os Objetos de Desempenho que foram registrados no sistema.

Element properties:

TargetMicrosoft.Windows.Client.XP.Computer
CategoryMaintenance
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
DS1 WriteAction System.CommandExecuter Default

Source Code:

<Rule ID="Microsoft.Windows.Client.XP.Computer.RunWMIAdap" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.Client.XP.Computer">
<Category>Maintenance</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Days">1</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction TypeID="System!System.CommandExecuter" ID="DS1">
<ApplicationName>%windir%\system32\cmd.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>/c wmiadap.exe /F</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>false</RequireOutput>
<Files/>
</WriteAction>
</WriteActions>
</Rule>