Fehler beim Schreiben in AD DS, während ein Drucker aufgeführt, entfernt oder aktualisiert wird.
Fehler beim Schreiben in AD DS, während ein Drucker aufgeführt, entfernt oder aktualisiert wird.
Der Monitor nimmt einen einzelnen Konfigurationsparameter an, der steuert, ob die „Druckwarteschlange“ überwacht werden soll, wenn die Ereignisprotokolle „Microsoft-Windows-PrintService/Admin“ und „Microsoft-Windows-PrintService/Operational“ aktiviert sind und der Ereignisprotokolldienst neu gestartet wurde. Standardmäßig wird der Druckwarteschlangen-Monitor nur überwacht, wenn die Ereignisprotokolle „Microsoft-Windows-PrintService/Admin“ und „Microsoft-Windows-PrintService/Operational“ aktiviert sind.
So führen Sie die Fehlerbehebung für Verbindungen mit einem Domänencontroller aus
Öffnen Sie auf dem Druckserver ein Eingabeaufforderungsfenster, und geben Sie dann an der Eingabeaufforderung ipconfig /all ein.
Stellen Sie sicher, dass für den Druckserver eine IP-Adresse im richtigen IP-Adressbereich festgelegt ist und dass es sich nicht um eine APIPA-Adresse (Automatic Private IP Addressing, automatische Privat-IP-Adressierung – eine IP-Adresse im Bereich 169.254.x.x) handelt.
Senden Sie an die Loopbackadresse 127.0.0.1 ein Pingsignal, um zu überprüfen, ob TCP/IP auf dem lokalen Computer installiert und ordnungsgemäß konfiguriert ist. Wenn das Pingsignal nicht erfolgreich gesendet wurde, weist dies möglicherweise auf einen fehlerhaften TCP/IP-Stack oder ein Problem mit dem Netzwerkadapter hin.
Testen Sie, ob Sie an die lokale IP-Adresse ein Pingsignal gesendet werden kann. Wenn Sie ein Pingsignal an die Loopbackadresse, jedoch nicht an die lokale IP-Adresse senden können, liegt möglicherweise ein Problem mit der Routingtabelle oder dem Treiber des Netzwerkadapters vor.
Senden Sie an die DNS-Server ein Pingsignal. Wenn Sie an die DNS-Server kein Pingsignal senden können, weist dies möglicherweise auf ein Problem mit den DNS-Servern oder auf ein Netzwerkproblem zwischen dem Druckserver und den DNS-Servern hin. Es kann auch bedeuten, dass die DNS-Server nicht für Reaktionen auf Pinganforderungen konfiguriert wurden. Wenn Sie bestimmen möchten, ob dies der Fall ist, senden Sie ein Pingsignal an die DNS-Server von einem Computer, von dem Sie wissen, dass dieser im Netzwerk ordnungsgemäß funktioniert.
Geben Sie an der Eingabeaufforderung Folgendes ein: nslookup print_server_name. Hierbei ist "print_server_name" der Computername des Druckservers. Drücken Sie dann die EINGABETASTE.
Wenn der Befehl nslookup nicht erfolgreich ausgeführt wird, Sie jedoch an den DNS-Server ein Pingsignal senden oder diesen anderweitig kontaktieren können, starten Sie den DNS-Serverdienst auf dem DNS-Server neu. Öffnen Sie dazu im Ordner "Verwaltung" das Dienste-Snap-In, wählen Sie den Dienst DNS-Server aus, und klicken Sie dann auf die Symbolleistenschaltfläche Dienst neu starten.
Geben Sie auf einem Domänencontroller, der sich in der gleichen Domäne wie der Druckserver befindet, den folgenden Befehl an der Eingabeaufforderung ein: dcdiag /test:connectivity. Falls Fehler gemeldet werden, finden Sie weitere Informationen in der Übersicht der Active Directory-Vorgänge: Fehlerbehebung bei Active Directory-DNS-Problemen ( http://go.microsoft.com/fwlink/?LinkID=57927).
Wiederholen Sie die Veröffentlichung des Druckers.
Target | Microsoft.Windows.Server.10.0.PrintServer.Printer | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.10.0.PrintServer.PrintQueue.ADDSPrinterPublishing.System.None.EventBased.UnitMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.10.0.PrintServer.Printer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.PrintServer.PrintQueue.ADDSPrinterPublishing.System.None.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="Negative" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Microsoft-Windows-PrintService/Admin</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(322|323|325|326|327|333|335)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.Server.10.0.PrintServer.Printer"]/DeviceID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-PrintService/Operational</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(332|334|336|338|342|343|344|345|346)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>