Microsoft Windows Server DNS 組態無效登錄設定

Microsoft.Windows.Server.DNS.Configuration.InvalidRegistrySetting (Rule)

組態的警示產生規則。

Knowledge Base article:

摘要

DNS 伺服器組態由設定組成,這些設定決定 DNS 伺服器如何在網路上運作,以及如何在需要時儲存與擷取它們。

原因

DNS 伺服器遇到無效的登錄設定。

解決方式

修正登錄資料

儲存於 Windows 登錄中的資料已經損毀,就必須予以取代。您必須使用 [登錄編輯程式] 修正所指的登錄值。

若要執行此程序,您必須有 Administrators 的成員資格,或者必須已被委派適當的權限。

若要修正登錄中的資料:

注意: 不正確地編輯登錄可能會對系統造成嚴重損害。在變更登錄前,您應先備份所有重要的資料。

1.在 DNS 伺服器上按一下 [開始]。

2.在 [開始搜尋] 中輸入 regedit,然後按 ENTER。

3. 在登錄中展開下列機碼:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server,如事件描述所述

4. 瀏覽至所指的登錄項目,然後以滑鼠右鍵按一下該項目,再按一下 [編輯] 功能表上的 [修改]。

5. 輸入正確的值,然後按一下 [確定]。

6. 在 DNS 伺服器上啟動 [伺服器管理員]。若要啟動 [伺服器管理員],請依序按一下 [開始] 和 [系統管理工具],然後按一下 [伺服器管理員]。

7.在主控台樹狀目錄中依序展開 [角色]、[DNS 伺服器] 和 [DNS]。

8. 以滑鼠右鍵按一下該 DNS 伺服器,然後按一下 [所有工作],再按一下 [重新啟動]。

外部

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

Element properties:

TargetMicrosoft.Windows.Server.DNS.Server
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Windows DNS - 組態 - 無效登錄設定
事件識別碼: {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.Server.DNS.Configuration.InvalidRegistrySetting" Enabled="true" Target="Microsoft.Windows.Server.DNS.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">500</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">505</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">506</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">507</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2204</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.Server.DNS.Configuration.InvalidRegistrySetting.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>