Microsoft Windows Server DNS 配置注册表操作失败

Microsoft.Windows.DNSServer.2016.Configuration.RegistryOperationFailed (Rule)

配置的警报生成规则。

Knowledge Base article:

摘要

DNS 服务器配置不仅包含用于确定 DNS 服务器将如何在网络上工作的设置,而且还可指定如何存储这些设置以及在需要它们时如何检索这些设置。

原因

DNS 服务器无法执行注册表操作。

解决方法

更正注册表访问问题

检查以下情况:

确保服务器系统磁盘未满或未损坏。

请确保注册表未达到允许大小的最大值。

确保注册表未损坏。

如果存在任何上述情况,则在解决相关问题之前,DNS 服务器将无法更新注册表中的配置数据。

重新加载、重新启动或重新安装

无法正确加载区域。如果尝试重新加载区域失败,请重新启动 DNS 服务器服务。如果无法重新启动 DNS 服务器服务,请重新安装域名系统 (DNS) 服务器角色。

要执行此过程,必须拥有“管理员”成员身份,或者已向你委派了适当的权限。

如果 DNS 服务器服务启动后无法加载某个区域,请重新加载该区域。

若要重新加载区域,请执行以下操作:

1.在 DNS 服务器上,启动服务器管理器。若要启动服务器管理器,请依次单击“开始”、“管理工具”和“服务器管理器”。

2.在控制台树中,依次展开“角色”、“DNS 服务器”和“DNS”。

3.展开托管无法加载区域的服务器,然后双击包含该区域的文件夹。

4.右键单击该区域,然后单击“重新加载”。

如果该区域仍没有被加载,请重新启动 DNS 服务器服务。

若要重启 DNS 服务器服务,请执行以下操作:

1.在 DNS 服务器上,启动服务器管理器。若要启动服务器管理器,请依次单击“开始”、“管理工具”和“服务器管理器”。

2.在控制台树中,依次展开“角色”、“DNS 服务器”和“DNS”。

3.右键单击 DNS 服务器,单击“所有任务”,然后单击“重新启动”。

如果 DNS 服务器服务未启动,则请重新安装 DNS 服务器角色:

1.在 DNS 服务器上,启动服务器管理器,然后单击“角色”。

2.在“角色摘要”中,单击“删除角色”,然后按照向导中的说明删除 DNS 服务器角色。

3.如果需要重新启动计算机,则在计算机重新启动后,启动服务器管理器。

4.在“角色摘要”中,单击“添加角色”,然后按照向导中的说明安装 DNS 服务器角色。

外部

http://technet.microsoft.com/en-us/library/dd349648(v=ws.10).aspx

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Server
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Windows DNS - 配置注册表操作失败

事件 ID:{0}
事件源:{1}
事件日志:{2}
事件说明:{3}
Event LogDNS Server

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.DNSServer.2016.Configuration.RegistryOperationFailed" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.Server" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>DNS Server</LogName>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2200</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2202</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2203</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.DNSServer.2016.Configuration.RegistryOperationFailed.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/EventSourceName$</AlertParameter2>
<AlertParameter3>$Data/Channel$</AlertParameter3>
<AlertParameter4>$Data/EventDescription$</AlertParameter4>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>