允许后台处理程序重试去除打印机。
后台处理程序将定期尝试删除该条目,直到它成功完成此操作。连续的失败可能表示 Active Directory 域服务 (AD DS) 出现问题、基本网络出现问题或者域控制器与打印服务器之间的通信出现问题
监视器采用单个配置参数,可控制启用“Microsoft-Windows-PrintService/Admin 和 Microsoft-Windows-PrintService/Operational”事件日志时是否应监视“打印后台处理程序”并重启事件日志服务。默认情况下,仅当启用“Microsoft-Windows-PrintService/Admin 和 Microsoft-Windows-PrintService/Operational”日志记录时才监视打印后台处理程序监视器。
无需用户操作。如果后台处理程序在尝试从 AD DS 中删除打印后台处理程序的过程中连续失败,而且从 AD DS 中删除打印机非常重要,请尝试以下操作以解决此问题:
解决 DNS 服务器问题。
解决 AD DS 服务器问题。
解决 DNS 服务器问题
若要解决 DNS 服务器问题,请执行以下操作:
在 DNS 服务器上重新启动 DNS Server 服务。为此,请从“管理工具”文件夹中打开“服务”管理单元,单击“DNS Server”服务,然后单击“重新启动服务”工具栏按钮。
打开“打印管理”管理单元,在“打印管理”树中,单击适当的打印服务器下的“打印机”。在“结果”窗格中,选择要列出或删除的打印机,右键单击其中的某个打印机,然后单击“从目录删除”。 请注意,也可以从“控制面板”中的“打印机”文件夹执行此过程。为此,请右键单击相应的打印机,单击“属性”,并单击“共享”选项卡,然后选中或清除“列在目录中”复选框。
有关解决 DNS 服务器问题的详细信息,请参阅以下 Microsoft 网站:
解决 AD DS 问题
若要解决 Active Directory 域服务 (AD DS) 问题,请执行以下操作:
确认在打印服务器所在的域中存在可用的域控制器。
如果用户帐户位于与打印服务器计算机帐户不同的域中,并且任一域使用的都是 Windows 2000 混合型域功能级别,请考虑切换域功能级别。
打开“管理工具”文件夹,然后双击“打印管理”。在“打印管理”树中,单击相应的打印服务器下的“打印机”。在“结果”窗格中,右键单击要列出或删除的打印机,然后单击“从目录删除”。 请注意,也可以从“控制面板”中的“打印机”文件夹执行此过程。为此,请右键单击相应的打印机,单击“属性”,并单击“共享”选项卡,然后选中或清除“列在目录中”复选框。
如果仍出现 AD DS 问题,可以尝试以下操作以进一步地诊断此问题:
在事件查看器中,连接到受影响的域控制器之一,查看“目录服务”日志以确认可能存在的错误或警告事件,然后单击每个错误或警告事件的“事件日志联机帮助”链接。这将打开一个 Web 浏览器,其中包含关于此特定事件的其他疑难解答信息。
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.Allowthespoolertoretrypruningtheprinter.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.Allowthespoolertoretrypruningtheprinter.EventBased.UnitMonitor.AlertMessage">
<AlertOnState>Warning</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="Warning"/>
<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>^(347)$</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>