Device Manager Does Not Display Devices Not Currently Present in Windows 2000

ID: Q241257


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SYMPTOMS

Device Manager displays only non-Plug and Play devices, drivers, and printers when you click the Show hidden devices command on the View menu to enable it. Devices that are installed but are not currently connected to the computer (such as a Universal Serial Bus (USB) device or "ghosted" devices) are not displayed in Device Manager, even when you use the Show hidden devices command.

WORKAROUND

To work around this behavior and display phantom devices when you use the Show hidden devices command:
  1. Click Start, point to Programs, point to Accessories, and then click Command Prompt.


  2. At the command prompt, type the following lines, pressing ENTER after each line
    set devmgr_show_nonpresent_devices=1
    cd\%SystemRoot%\System32
    start devmgmt.msc

    where %SystemRoot% is the folder in which Windows 2000 is installed.


  3. Troubleshoot the devices and drivers in Device Manager, as required.


  4. When you are done troubleshooting, quit Device Manager, and then close the Command Prompt window. Closing the window clears the variable you set in step 2 and prevents ghosted devices from being displayed when you use the Show hidden devices command.


NOTE: When you quit Device Manager and close the Command Prompt window, the set devmgr_show_nonpresent_devices=1 variable is turned off so you cannot see the phantom devices. An alternative approach for developers or power users who need this feature enabled constantly is to set this environment variable globally. To do so, right-click My Computer, click Properties, click the Advanced tab, click the Environment Variables tab, and then set the variables in the System Variables box). However, you should use this method only for troubleshooting or development purposes, to prevent users from accidentally uninstalling a required device that is not currently present (such as a USB device or docking station that is not currently connected to a laptop computer).


STATUS

This behavior is by design.


MORE INFORMATION

In Device Manager, there are two types of hidden devices in addition to the typical devices that are displayed:

  • Typical hidden devices, which are not displayed (non-Plug and Play drivers, printers, and so on).


  • Phantom devices, which are not currently connected to the computer.


NOTE: The method outlined in the "Workaround" section should be used only by Support Professionals to troubleshoot customer-related issues with devices and installed drivers.

Additional query words:

Keywords :
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.