Ez a szabály a DNS-regisztráció hibáihoz kapcsolódó figyelmeztetési eseményeket keres.
A műveletek végrehajtásához a Rendszergazdák csoport tagjának kell lennie, vagy delegálás útján rendelkeznie kell a megfelelő jogosultságokkal.
Beállíthatja, hogy a DHCP-kiszolgáló szolgáltatás megszemélyesítsen egy fiókot, vagy DNS-regisztrációt végezzen. A Netsh.exe eszköz segítségével konfigurálhatók a megszemélyesítéshez szükséges tanúsítványok.
Kattintson a Start gombra, majd a Vezérlőpult, végül a Felhasználói fiókok parancsra.
Kattintson a Felhasználói fiókok kezelése elemre.
Kattintson a Hozzáadás gombra, majd kövesse az utasításokat egy új felhasználói fiók létrehozásához.
Kattintson a Start gombra, írja be a cmd parancsot a Keresés megkezdése mezőbe, majd nyomja meg az ENTER billentyűt.
A parancssorba írja be a netsh dhcp server set dnscredentials username domainname password karakterláncot (ahol a username az előző lépésben létrehozott új fiók neve), majd nyomja le az ENTER billentyűt.
A DHCP-kiszolgáló számítógépén kattintson a Start gombra, kattintson a Futtatás elemre, írja be a services.msc parancsot, majd kattintson az OK gombra.
Kattintson duplán a DHCP-kiszolgáló elemre.
Kattintson a Leállítás gombra, várja meg, amíg folyamatjelző végigér, kattintson az Indítás gombra, várjon, amíg a folyamatjelző végigér, végül kattintson az OK gombra.
A Fájl menüben kattintson a Kilépés parancsra.
Írja be a netsh dhcp server delete dnscredentials dhcpfullforce parancsot, majd nyomja meg az ENTER billentyűt.
A DHCP-kiszolgáló számítógépén kattintson a Start gombra, kattintson a Futtatás elemre, írja be a services.msc parancsot, majd kattintson az OK gombra.
Kattintson duplán a DHCP-kiszolgáló elemre.
Kattintson az Indítás gombra, várjon, amíg a folyamatjelző végigér, végül kattintson az OK gombra.
A Fájl menüben kattintson a Kilépés parancsra.
Target | Microsoft.Windows.DHCPServer.Library.IPv4Runtime | ||
Category | EventCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Microsoft.Windows.DHCPServer.Library.ActionAccount |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.DNSRegistration.Warning.Rule" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Runtime" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1055</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1056</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.DNSRegistration_AlertMessageResourceID"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>