SMS 2003 依存服務失敗: Windows Management Instrumentation 無法登入

SMS_2003_dependent_service_failure__Windows_Management_Instrumentation_was_unable_to_log_on_6_Rule (Rule)

Knowledge Base article:

摘要

由於使用者認證及密碼不再有效,所以無法啟動服務。 因此相依服務及用戶端將無法再繼續使用此項服務。 WMI 服務預設會以本機系統帳戶登入。 用以登入的帳戶可能已從本機系統變更為其他帳戶。

原因

用以啟動此服務之帳戶的認證無效,或其權限不足而無法啟動服務。

解決方法

為確保服務設定正確,請使用 Microsoft Management Console (MMC) 的 [服務] 嵌入式管理單元,將使用者帳戶變更回本機系統帳戶。

外部

如需 WMI 的詳細資訊,請參閱下列網頁中之《Microsoft Systems Management Server 操作手冊》的附錄 B<Windows 管理基礎結構>: Systems Management Server 2003 產品文件 (英文)。

如需更多的協助,可利用 Systems Management Server 支援 (英文) 之 SMS 網站支援區段中所提供的其他支援選項清單。

其他

此警示最好交由 SMS 系統管理員處理。

範例事件

下列錯誤致使 %1 服務無法以 %2 的身分使用目前所設定的密碼登入: %n%3%n%n 為確保服務設定正確,請使用 Microsoft Management Console (MMC) 的 [服務] 嵌入式管理單元。

Element properties:

TargetMicrosoft.SMS.2003.Microsoft_SMS_2003_Servers_Installation
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityLow
RemotableTrue
Alert MessageSMS_2003_dependent_service_failure__Windows_Management_Instrumentation_was_unable_to_log_on_6_Rule.AllertMessageBackwardCompatibility
Event LogSystem
CommentMom2005ID='{10446F4F-E298-41EB-958A-2E75DBF20E21}';MOM2005ComputerGroupID={551F3751-72E1-4F62-B516-775D9ACBE7BD}

Member Modules:

ID Module Type TypeId RunAs 
_907D4578_146C_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Default
CollectEventData WriteAction Microsoft.SystemCenter.CollectEvent Default
CollectEventDataWarehouse WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default
GenerateAlert WriteAction System.Mom.BackwardCompatibility.AlertResponse Default

Source Code:

<Rule ID="SMS_2003_dependent_service_failure__Windows_Management_Instrumentation_was_unable_to_log_on_6_Rule" Target="Microsoft.SMS.2003.Microsoft_SMS_2003_Servers_Installation" Enabled="true" ConfirmDelivery="true" Comment="Mom2005ID='{10446F4F-E298-41EB-958A-2E75DBF20E21}';MOM2005ComputerGroupID={551F3751-72E1-4F62-B516-775D9ACBE7BD}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_907D4578_146C_11D3_AB21_00A0C98620CE_" Comment="{907D4578-146C-11D3-AB21-00A0C98620CE}" TypeID="WindowsLibrary!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Service Control Manager</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Management Instrumentation</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>7038</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="MomBackwardCompatibility!System.Mom.BackwardCompatibility.AlertResponse">
<AlertGeneration>
<GenerateAlert>true</GenerateAlert>
<Owner/>
<Description>
$Data/LoggingComputer$
- SMS 2003 dependent service failure: Windows Management Instrumentation was unable to log on.

The Windows Management Instrumentation service running on
$Data/LoggingComputer$
was detected as stopped at
$Data/@time$
.</Description>
<AlertLevel>70</AlertLevel>
<ResolutionState/>
<Source>
$Data/PublisherName$
</Source>
<Name>SMS 2003 dependent service failure: Windows Management Instrumentation was unable to log on</Name>
</AlertGeneration>
<InvokerType>0</InvokerType>
</WriteAction>
<WriteAction ID="CollectEventData" TypeID="SystemCenterLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectEventDataWarehouse" TypeID="DataWarehouseLibrary!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>