套用電腦原則時無法存取登錄原則檔案

The_registry_policy_file_could_not_be_accessed_during_application_of_machine_policy_5_Rule (Rule)

Knowledge Base article:

摘要

Windows 無法存取登錄原則檔案。

套用群組原則至網域控制站時 UserEnv 發生錯誤。必須成功套用群組原則,網域控制站才能正確執行,因為網域控制站透過原則取得多個重要權限,如從網路存取此電腦

因為 UserEnv 的架構,Microsoft Operations Manager (MOM) 無法直接報告特定問題。

範例事件:

Windows 無法存取登錄原則檔案,%1。(%2)。

原因

SYSVOL 上的 Registry.pol 檔案無法存取,或該檔案已損毀。

解決方式

若要啟用 UserEnv 記錄,請參閱知識庫文章 221833:<如何在零售組建的 Windows 中啟用使用者環境偵錯記錄>,網址為 http://go.microsoft.com/fwlink/?LinkId=25636。記錄檔會提供特定錯誤的詳細資料。

外部

Element properties:

TargetMicrosoft.Windows.Server.2008.AD.DomainControllerRole
CategoryEventCollection
EnabledTrue
Event_ID1096
Event SourceMicrosoft-Windows-GroupPolicy
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
套用電腦原則時無法存取登錄原則檔案
{0}
Event LogSystem
CommentMom2005ID='{CB3B49B4-5DCB-4144-A56E-884946B70617}';MOM2005GroupID=

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
CollectEventData WriteAction Microsoft.SystemCenter.CollectEvent Default
CollectEventDataWarehouse WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="The_registry_policy_file_could_not_be_accessed_during_application_of_machine_policy_5_Rule" Comment="Mom2005ID='{CB3B49B4-5DCB-4144-A56E-884946B70617}';MOM2005GroupID=" Enabled="onEssentialMonitoring" Target="AD2008Core!Microsoft.Windows.Server.2008.AD.DomainControllerRole" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1096</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-GroupPolicy</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="The_registry_policy_file_could_not_be_accessed_during_application_of_machine_policy_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
<WriteAction ID="CollectEventData" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectEventDataWarehouse" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>