疑難排解網域控制站的連線。
疑難排解網域控制站的連線。
監視器採用單一設定參數,來控制啟用「Microsoft-Windows-PrintService/Admin 與 Microsoft-Windows-PrintService/Operational」事件記錄時是否應監視 “Print Spooler”,以及重新啟動事件記錄服務。根據預設,只會在「Microsoft-Windows-PrintService/Admin 與 Microsoft-Windows-PrintService/Operational」啟用時監視 “Print Spooler” 監視器。
若要疑難排解網域控制站的連線:
在列印伺服器上開啟 [命令提示字元] 視窗,然後在命令提示字元中輸入 ipconfig /all。
確定列印伺服器的 IP 位址是在正確的 IP 位址範圍內,而且沒有「自動私人 IP 位址」(Automatic Private IP Addressing,APIPA) 的位址 (169.254.x.x 範圍內的 IP 位址)。
Ping 回送位址 127.0.0.1,確認本機電腦上是否已安裝 TCP/IP 並正確設定。如果 ping 失敗,可能表示 TCP/IP 堆疊損毀或是網路介面卡發生問題。
測試是否能夠 ping 到本機 IP 位址。如果您可以 ping 回送位址,但無法 ping 本機 IP 位址,則表示路由表或網路介面卡驅動程式可能有問題。
Ping DNS 伺服器。如果無法 ping DNS 伺服器,這表示 DNS 伺服器可能有問題,或是列印伺服器和 DNS 伺服器之間的網路可能有問題。另外也可能表示 DNS 伺服器未設定為回應 ping 要求。若要判斷是否為這種情形,請從已知在網路上運作正常的電腦 ping DNS 伺服器。
print_server_name
print_server_name
如果 nslookup 命令失敗,但是您可以 ping 或以其他方式存取 DNS 伺服器,請重新啟動 DNS 伺服器上的「DNS 伺服器」服務。若要執行這項操作,請從 [系統管理工具] 資料夾開啟 [服務] 嵌入式管理單元,選取 [DNS 伺服器] 服務,然後按一下 [重新啟動服務] 工具列按鈕。
重試發行印表機。
Target | Microsoft.Windows.Server.10.0.PrintServerRole | ||
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.Troubleshootconnectivitywithadomaincontroller.EventBased.UnitMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.10.0.PrintServerRole" 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.Troubleshootconnectivitywithadomaincontroller.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/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>^(328|329)$</Pattern>
</RegExExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/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>