在列出、删除或更新打印机时,无法写入 AD DS。
在列出、删除或更新打印机时,无法写入 AD DS。
监视器采用单个配置参数,可控制启用“Microsoft-Windows-PrintService/Admin 和 Microsoft-Windows-PrintService/Operational”事件日志时是否应监视“打印后台处理程序”并重启事件日志服务。默认情况下,仅当启用“Microsoft-Windows-PrintService/Admin 和 Microsoft-Windows-PrintService/Operational”日志记录时才监视打印后台处理程序监视器。
若要解决与域控制器的连接问题,请执行以下操作:
在打印服务器上,打开命令提示符窗口,然后在命令提示符下键入 ipconfig /all。
确保打印服务器的 IP 地址在正确的 IP 地址范围内,并确保此 IP 地址不是自动专用 IP 地址 (APIPA)(在 169.254.x.x 范围内的 IP 地址)。
对环回地址 127.0.0.1 进行 ping 测试,以验证本地计算机上是否已安装并正确配置 TCP/IP。如果此 ping 测试失败,则可能表明 TCP/IP 堆栈已损坏或网络适配器出现问题。
测试是否可以对本地 IP 地址成功进行 ping 操作。如果可以对环回地址成功进行 ping 操作,但不能对本地 IP 地址成功进行 ping 操作,则可能表明路由表或网络适配器驱动程序出现问题。
对 DNS 服务器进行 ping 测试。如果不能对 DNS 服务器成功进行 ping 操作,则表明 DNS 服务器可能出现问题或者打印服务器和 DNS 服务器之间的网络出现问题。此外,还可表明 DNS 服务器未配置为响应 ping 请求。若要确定上述情况是否存在,请通过网络中已确定运行正常的计算机对 DNS 服务器进行 ping 测试。
在命令提示符下,键入 nslookup print_server_name,其中 print_server_name 为打印服务器的计算机名称,然后按 ENTER。
如果 nslookup 命令失败,但可以对 DNS 服务器成功进行 ping 操作或以其他方式访问 DNS 服务器,请在 DNS 服务器上重新启动 DNS Server 服务。为此,请从“管理工具”文件夹中打开“服务”管理单元,选择“DNS Server”服务,然后单击“重新启动服务”工具栏按钮。
在与打印服务器处于同一域中的域控制器上,在命令提示符下键入以下命令:dcdiag /test:connectivity。如果出现任何错误,请参阅“Active Directory 操作概述:解决 Active Directory 的相关 DNS 问题”( http://go.microsoft.com/fwlink/?LinkID=57927) 以进一步了解故障排除步骤。
重试发布打印机。
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>