大网数据广告活动
打印与设备

The new printer status is Offline

· 52CE 我爱测

Provides a solution to an issue where the new printer status is Offline after you delete a print queue and then restart a Windows-based computer.

This article provides a solution to an issue where the new printer status is Offline after you delete a print queue and then restart a Windows-based computer.

Original KB number:   2027593

Symptoms

Consider the following scenario:

  • You delete a print queue while it is in an Offline status.
  • You add a new print queue that has the same name as the old print queue.
  • You restart the computer.

In this scenario, the status of the new print queue is displayed as Offline.

Cause

This problem occurs if the computer has the following registry value configured when you set the printer to the Offline status:

Key: HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers\<print queue name> Value: PrinterOnLine
Data: 0

However, this value isn't deleted by the Localspl.dll file when the print queue is deleted. So when you add a print queue that has the same name as the old print queue, the new printer queue inherits the Offline status of the deleted print queue.

Resolution

To resolve this issue, right-click the new print queue in the Printers and Faxes tool, and then clear the Use Printer Offline setting. This resets the registry key to the correct value. Instead, you can delete the registry key that is mentioned in the Cause section after you delete a print queue but before you add a new print queue of the same name.

Did this fix the problem

  • Check whether the problem is fixed. If the problem is fixed, you're finished with this section. If the problem isn't fixed, you can contact support.
  • We would appreciate your feedback. To provide feedback or to report any issues with this solution, leave a comment by sending us an email message.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for User Experience issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。