Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Device Manager does not display devices that are not connected


View products that this article applies to.

Symptoms

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

↑ Back to the top


Workaround

To work around this behavior and display disconnected devices when you click Show hidden devices:
For Windows 8 and later, skip to step 3.
For Windows 7 and earlier, start with step 1:
  1. Click Start, point to All Programs, point to
    Accessories, and then click Command Prompt.
  2. At a command prompt, type the following command , and then press ENTER:
    set devmgr_show_nonpresent_devices=1
  3. For Windows 8 and later: From Start, search for device manager, and select Device Manager from the search results.

    For Windows 7 and earlier: Type the following command a command prompt, and then press ENTER:

    start devmgmt.msc
  4. Troubleshoot the devices and drivers in Device Manager.

    Note Click Show hidden devices on the View menu in Device Manager before you can see devices that are not connected to the computer.
  5. When you finish troubleshooting, close Device Manager.
  6. Type exit at the command prompt.

    Note For Windows 7 and earlier, when you close the command prompt window, Window clears the devmgr_show_nonpresent_devices=1 variable that you set in step 2 and prevents ghosted devices from being displayed when you click Show hidden devices.
If you are a developer or power user and you want to be able to view devices that are not connected to your computer, set this environment variable globally:

  1. Right-click My Computer.
  2. Click Properties.
  3. Click the Advanced tab.
  4. Click the Environment Variables tab.
  5. Set the variables in the System Variables box.
Note Use this method only for troubleshooting or development purposes, or to prevent users from accidentally uninstalling a required device that is not connected to the computer (such as a USB device or docking station that is not connected to a laptop computer).

↑ Back to the top


More Information

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

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

    -and-
  • Phantom devices that are not connected to the computer

↑ Back to the top


Keywords: kbenv, kbprb, kb

↑ Back to the top

Article Info
Article ID : 315539
Revision : 6
Created on : 1/18/2017
Published on : 1/18/2017
Exists online : False
Views : 213