大网数据广告活动
启动与系统组件

Applications don't find a new scanning device

· 52CE 我爱测

This article provides workarounds for the error that occurs when an application does not find a scanning device if that scanner is connected after a different scanner is disconnected.

This article helps you work around the error that occurs when an application does not find a scanning device if that scanner is connected after a different scanner is disconnected.

Original product version:   Windows 10, Windows 8.1
Original KB number:   4537086

Symptoms

Consider the following scenario:

  1. You connect a Web Services on Devices (WSD) scanning device to a Windows-based computer.
  2. You disconnect the WSD scanner.
  3. You connect a different scanning device, such as a USB scanner, to the computer.
  4. You start an application that uses the new scanner. In this scenario, the application may not behave correctly. For example, the application may not find the new scanner. When this issue occurs, the scanner driver may experience a WIA_ERROR_OFFLINE error when it calls the IStiDevice::LockDevice method.

Note: This issue is applicable for Windows 10 versions up to 19H2 (namely Windows 10 Version 1909). The issue is fixed in 20H1 (Windows 10 Version 2004)

Cause

This issue occurs if an error occurs in the "Windows Image Acquisition (WIA)" service when the service initializes the WSD scanner. If the initialization process succeeds without any errors, this issue does not occur.

Workaround

To work around this issue, try any of the following methods:

  • Uninstall the connected scanner device (for example, by using Device Manager), and then reconnect the scanner.
  • Stop the "Windows Image Acquisition (WIA)" service, and then restart the service.
  • Restart the computer while the scanner is connected.

More information

For more information about errors that a WIA scanner application or driver may experience, see Error Codes.

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
适用范围
See source applicability · Source date 01/29/2021
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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