套用群組原則至網域控制站時 UserEnv 發生錯誤。必須成功套用群組原則,網域控制站才能正確執行,因為網域控制站透過原則取得多個重要權限,如從網路存取此電腦。
因為 UserEnv 的架構,Microsoft Operations Manager (MOM) 無法直接報告特定問題。
若要啟用 userenv 記錄,請參閱知識庫文章 221833 "如何在 Windows 零售組建中啟用使用者環境偵錯記錄",網址為 http://go.microsoft.com/fwlink/?LinkId=25636。記錄檔可提供特定錯誤的詳細資料。
Target | Microsoft.Windows.Server.2016.AD.DomainControllerRole |
Category | EventCollection |
Enabled | True |
Event Source | Microsoft-Windows-GroupPolicy |
Alert Generate | False |
Remotable | True |
Event Log | System |
Comment | Mom2005ID='{8A7D1C18-4F19-4B6D-A28F-2BA2BF0E2A9D}';MOM2005GroupID= |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
CollectEventData | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
CollectEventDataWarehouse | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="A_RSoP__Resultant_Set_of_Policies__error_occurred_5_Rule" Comment="Mom2005ID='{8A7D1C18-4F19-4B6D-A28F-2BA2BF0E2A9D}';MOM2005GroupID=" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.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>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005BooleanRegularExpression</Operator>
<Pattern>^(1089|1090|1091|1092|1093|1095)$</Pattern>
</RegExExpression>
</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="CollectEventData" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectEventDataWarehouse" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>