Device Manager Displays Multiple Scanners When Only One Exists (311907)



The information in this article applies to:

  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional

This article was previously published under Q311907
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

Your SCSI scanner may be enumerated several times and multiple instances of your scanner may appear in Device Manager.

CAUSE

This issue can occur if your scanner reports multiple Logical Unit Numbers (LUNs) or Target IDs when it is enumerated by your SCSI adapter.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue:
  1. Use a text editor (such as Notepad) to open the Setupapi.log file that is located in the Windows folder.
  2. On the Edit menu, click Find, type SCSI\Scanner, and then click Find Next to locate the hardware ID for your scanner.
  3. Note your scanner's hardware ID. The hardware ID that will be used for the new registry key later in this procedure will be the data that immediately follows the "SCSI\", up to the first comma (,), and not including these items. For best results, copy this data to the clipboard so you can paste it later. For example, you would copy the following data:

    Scanneragfa____arcus_ii________

  4. Start Registry Editor.
  5. locate, and then click the following key in the registry:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ScsiPort\SpecialTargetList

  6. On the Edit menu, point to New and then click Key.
  7. Type the hardware ID of your scanner that you copied in step 3 for the name of the new key.
  8. On the Edit menu, point to New and then click DWORD Value.
  9. Type SetLunInCdb, and then press ENTER.
  10. On the Edit menu, click Modify.
  11. Type 1, and then click OK.
  12. Close Registry Editor.

MORE INFORMATION

Some scanners that exhibit this behavior were identified during Windows XP Beta testing, and these are already listed in the SpecialTargetList key in the registry.

Modification Type:MajorLast Reviewed:10/23/2002
Keywords:kbprb kbui KB311907