群組原則檔案存取監視

Microsoft.Windows.GroupPolicy.2008.Runtime.GroupPolicyPreprocessingNetworking.System.CorrectconnectivitytotheGroupPolicytemplate.EventBased.UnitMonitor (UnitMonitor)

Knowledge Base article:

摘要

群組原則檔案存取

群組原則處理需要網路能連線到一個或多個網域控制站。群組原則服務會從 Active Directory 和位於網域控制站上的 sysvol 共用來讀取資訊。在沒有網路連線的情況下,會導致群組原則無法套用至使用者或電腦。

解決方式

修正群組原則範本的連線

群組原則服務會將網域控制站的名稱和錯誤碼記錄下來。此資訊會出現在 [事件檢視器] 中錯誤訊息的 [詳細資料] 索引標籤上。錯誤碼 (以十進位顯示) 和錯誤描述欄位可進一步識別出失敗的原因。請用下列清單來評估錯誤碼:

錯誤碼 3 (系統找不到指定的路徑)

這個錯誤碼通常表示用戶端電腦找不到事件中指定的路徑。

此失敗可能是 DFS 用戶端並未執行所造成。請參閱有關如何解決此失敗問題的 Microsoft 知識庫文件。

若要測試用戶端是否能連線到網域控制站的 sysvol:

錯誤碼 5 (拒絕存取)

這個錯誤碼通常表示使用者或電腦沒有適當的權限可以存取事件中指定的路徑。

在網域控制站上:確認使用者及電腦有適當的權限可以讀取事件中指定的路徑。

若要測試電腦及使用者認證:

錯誤碼 53 (找不到網路路徑)

這個錯誤碼通常表示電腦無法解析所提供的網路路徑中的名稱。

若要測試網路路徑名稱解析:

Element properties:

TargetMicrosoft.Windows.GroupPolicy.2008.Runtime
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
群組原則前置處理 (網路) 警示
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.GroupPolicy.2008.Runtime.GroupPolicyPreprocessingNetworking.System.CorrectconnectivitytotheGroupPolicytemplate.EventBased.UnitMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.GroupPolicy.2008.Runtime" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.GroupPolicy.2008.Runtime.GroupPolicyPreprocessingNetworking.System.CorrectconnectivitytotheGroupPolicytemplate.EventBased.UnitMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualReset" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="NegativeHealthState" MonitorTypeStateID="EventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-GroupPolicy</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1058</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>