Your PC remembers every device you have ever plugged in. The old USB drive, the Bluetooth speaker you returned, the network adapter from a VPN you uninstalled: Windows keeps a record of all of them, and most of it sits out of sight in Device Manager.
Usually that is harmless. But when a USB port misbehaves, a COM port number is already taken or a driver refuses to install, those invisible entries can be the reason. This guide shows you how to reveal hidden devices on Windows 10 and Windows 11, how to read what you find, and how to clean up old entries without breaking anything.
What hidden devices actually are
Device Manager is Windows’ list of every piece of hardware and every driver the system knows about. The list you see when you open it is not the full story, though. Windows hides a few kinds of entries on purpose, because most people never need to look at them.
Ghost devices
A ghost device is hardware you connected at some point but that is not connected now. Think of the flash drive you used once, the wireless mouse receiver you lost or the Wi-Fi dongle you replaced. Windows keeps the driver settings so the device works instantly if you plug it back in. Microsoft calls these non-present or phantom devices.
Background drivers and software devices
Some entries were never physical hardware. Drivers that Windows loads for its own use, virtual adapters created by VPN or virtualization programs, and software components all belong here. Microsoft marks some of these device classes as “no display”, so they stay out of the normal view.
Do you need to look at them?
Most of the time, no. Microsoft’s own documentation says people should not normally need to view non-present devices, because they are not supposed to cause problems.
Hidden entries become useful when you are troubleshooting: a USB port that behaves strangely, a COM port number that seems stuck, a network adapter that keeps getting named “Ethernet 3”, or a driver that will not install. In those cases a quick look at the hidden list often points straight at the cause.
Before you start, it helps to know what the icons mean.
A normal icon means the device is connected and working. A faded icon means the entry is hidden or not present. A small down arrow means the device is disabled, and a yellow triangle means Windows has found a problem with it. The faded ones are the focus of this guide.
Four ways to open Device Manager
First you need Device Manager on screen. Pick whichever method is quickest for you. All of them work on Windows 10 and Windows 11.
devmgmt.msc and press Enter.The Run command is the fastest, since it works on every version of Windows and takes two seconds.
You do not need administrator rights just to look around. You will need them later to remove a device, and Windows will ask for permission when the time comes.
How to show hidden devices
This is the core step, and it takes one click.
Hidden devices now appear with faded icons. Some categories that were missing before, such as Non-Plug and Play Drivers, show up in the list as well.
Windows usually forgets this setting when you close Device Manager, so you may need to switch it on again next time.
Do not worry. Section 5 shows an extra step that reveals every ghost device.
How to read what you see
With hidden devices switched on, the list gets longer. Here is how to make sense of it without getting lost.
Faded entries inside normal categories
Open Network adapters, Ports (COM & LPT), Universal Serial Bus controllers and Disk drives first. Old devices pile up in these categories more than anywhere else. A faded entry means Windows remembers the device but it is not connected at the moment.
In the example above, the faded Realtek USB adapter and the TAP-Windows adapter are leftovers. The first is a USB network dongle that has been unplugged. The second comes from a VPN program that is no longer in use. The faded USB serial port is still holding the number COM7.
Categories that only appear now
- Non-Plug and Play Drivers: low-level drivers and services that Windows itself relies on. Look, but do not touch.
- Software devices and Software components: virtual devices created by programs, such as audio drivers, virtual cameras and sensor frameworks.
Check the details before you decide
Right-click an entry and choose Properties. On the General tab, a ghost device usually says that it is not connected to the computer (Code 45). That is a good sign that you are looking at a leftover entry and not at a device with a fault.
Next, open the Details tab and pick Hardware Ids or Device instance path from the drop-down list. For USB devices this shows the vendor and product numbers (VID and PID). Searching for them online is the easiest way to identify an entry with a vague name.
How to reveal every ghost device
On Windows 10 and 11, View → Show hidden devices normally lists disconnected devices too. Microsoft’s documentation says the older environment-variable trick was needed only before Windows 8. Even so, support answers still suggest it when an expected entry is missing, and it costs nothing to try.
cmd and open Command Prompt.set devmgr_show_nonpresent_devices=1 and press Enter.start devmgmt.msc and press Enter.Microsoft Windows [Version 10.0.26100.4652] (c) Microsoft Corporation. All rights reserved. C:\Users\Alex>set devmgr_show_nonpresent_devices=1 C:\Users\Alex>start devmgmt.msc C:\Users\Alex>
Both commands must run in the same Command Prompt window. The setting lives only inside that window, so when you close it, Device Manager goes back to its normal behavior.
If your terminal opens PowerShell instead, use this version:
Find them with PowerShell or pnputil
Device Manager is friendly, but the list can get long. The command line gives you a short list and the exact device IDs, which you need if you want to remove entries by command.
PowerShell
The Get-PnpDevice command lists every device Windows knows about, whether it is present or not. Devices with the status Unknown are often the ones that are not connected right now. Not every Unknown entry is a ghost, so use this list as a starting point.
pnputil
pnputil is built into Windows. On current versions of Windows 10 and 11 it can list only the disconnected devices, and you can narrow the list to one class, such as Net for network adapters or USB for USB devices.
PS C:\WINDOWS\system32> Get-PnpDevice | Where-Object Status -eq 'Unknown' Status Class FriendlyName InstanceId ------ ----- ------------ ---------- Unknown USB USB Mass Storage Device USB\VID_0781&PID_5581\4C530001230821101281 Unknown Ports USB Serial Port (COM7) FTDIBUS\VID_0403+PID_6001+A50285BIA\0000 Unknown Net Realtek USB GbE Family Controller #2 USB\VID_0BDA&PID_8153\000001 PS C:\WINDOWS\system32> pnputil /enum-devices /disconnected /class Net Microsoft PnP Utility Instance ID: USB\VID_0BDA&PID_8153\000001 Device Description: Realtek USB GbE Family Controller #2 Class Name: Net Class GUID: {4d36e972-e325-11ce-bfc1-08002be10318} Manufacturer Name: Realtek Status: Disconnected Driver Name: oem21.inf PS C:\WINDOWS\system32>
Copy the Instance ID of anything you plan to remove. You will need it in the next section. The full list of options is in Microsoft’s pnputil reference.
How to remove old entries safely
Deleting a ghost entry of a device you no longer use is safe. Deleting a system entry by mistake is not. If you cannot name the device, leave it alone.
In Device Manager
Leaving the box unticked removes the entry and its saved settings, but keeps the driver package in Windows’ driver store. The device installs quickly if you ever reconnect it. Ticking the box deletes the driver package too. That helps when a broken driver keeps coming back, but you will have to reinstall the driver later.
With a command
If you prefer the command line, open Terminal as administrator and use the Instance ID you copied earlier. This works on Windows 10 version 2004 and later.
The quotation marks matter, because device IDs contain characters like & that the shell would otherwise misread.
After removing
If you still use the device, plug it back in and Windows will detect it again. If something behaves oddly, open Device Manager and choose Action → Scan for hardware changes. For a stubborn device, download the latest driver from the manufacturer’s website.
Problems that hidden devices can cause
Ghost entries rarely cause trouble. A few situations come up again and again, though, and the table below shows where to look for each one.
| Symptom | Where to look | What you will usually find |
|---|---|---|
| A serial adapter keeps getting a new COM number | Ports (COM & LPT) | A faded old entry such as USB Serial Port (COM7) still holding the number |
| Network adapters named Ethernet 2 or Wi-Fi 2 | Network adapters | Faded copies of old USB dongles, replaced cards or VPN virtual adapters |
| A USB drive does not mount properly | Universal Serial Bus controllers, Disk drives | Faded USB Mass Storage Device entries from earlier connections |
| A driver will not install after a hardware swap | The category of the old device | Leftover entries of the previous hardware |
| Unfamiliar background driver | Non-Plug and Play Drivers | Drivers installed by programs. Research the name before doing anything |
A COM port that seems taken
When you plug a USB serial adapter into a different port, Windows may give it a new COM number and leave the old one reserved by a ghost entry. Removing the faded entry under Ports (COM & LPT) usually frees the number, so your software can use it again.
Strange network adapter names
Windows often names a new adapter “Ethernet 2” or “Wi-Fi 2” because an old adapter with the original name is still registered. Remove the faded one, then rename the current adapter in the network settings if you want the tidy name back.
A USB drive that will not behave
Faded USB Mass Storage Device entries are normal. If one particular drive refuses to show up, remove its faded entry, unplug the drive and plug it in again. Windows will detect it from scratch.
What you should never delete
Cleaning up is optional. If you remove the wrong entry, you can end up with a missing driver or a device that stops working. Keep this list in mind:
- Anything under Non-Plug and Play Drivers. These are drivers Windows uses for itself.
- Entries under System devices, Processors, Storage controllers and Firmware. Even if they look odd, they are part of how your PC starts and runs.
- Anything you cannot identify yet. Search for its name or Hardware ID first.
- Entries for devices you still use now and then. Removing them only costs you the saved settings, and gains you nothing.
Ghost entries do not slow Windows down in any way you would notice. The point of removing them is to fix a specific problem, not to tidy up.
Also, avoid editing device entries directly in the Registry. Device Manager and pnputil do the same job with far less risk. And if you spot an unfamiliar driver, do not panic. Hidden does not mean suspicious. Look the name up, and run a full scan with Microsoft Defender if you are still unsure.
My experience
I went through these steps on a Windows 11 desktop that has seen a lot of USB gadgets over the past couple of years. With hidden devices switched on, I found a handful of faded entries: several old USB Mass Storage Device records, a USB serial adapter that was still holding COM7, and a virtual network adapter left behind by a VPN client I had removed months earlier.
None of them were causing real trouble, and that was the first lesson. I left the storage entries alone, since they were just memories of old flash drives.
The serial adapter was different. My newer adapter kept receiving COM8 while a program expected COM7. I removed the faded COM7 entry, plugged the adapter into the same port and it picked up COM7 straight away.
One thing went wrong. On the VPN adapter I ticked “Attempt to remove the driver for this device” without thinking, and later had to download the VPN installer again to bring it back. Now I leave that box empty unless I am sure.
My advice: remove one entry at a time and test between each one. If something breaks, you will know exactly which removal caused it.
Frequently asked questions
Why are some devices in Device Manager faded?
A faded icon means the entry is hidden or not present. Windows remembers a device you connected earlier, but it is not connected now. Switch on View → Show hidden devices to see these entries.
Is it safe to delete hidden devices?
It is generally safe to remove ghost entries of hardware you recognize and no longer use. Windows creates the entry again if you reconnect the device. Do not delete anything under Non-Plug and Play Drivers or System devices, and create a restore point first.
Do hidden devices slow down my computer?
No. Ghost entries are small records and have no noticeable effect on speed. Remove them only when you are fixing a specific problem, such as a stuck COM port or a duplicate network adapter.
Why can’t I see any hidden devices?
There may be none to show. Make sure View → Show hidden devices has a check mark, since Windows often forgets the setting when you close Device Manager. If an entry you expect is still missing, run set devmgr_show_nonpresent_devices=1 in Command Prompt, then start Device Manager from the same window.
Is Show hidden devices the same on Windows 10 and Windows 11?
Yes. The View menu, the Show hidden devices option and the faded icons work the same way on both versions. The only difference is that Windows 11 has an extra shortcut under Settings → System → About.
Can a hidden device be malware?
Hiding is normal and does not mean a device is malicious. Still, if you see an unfamiliar driver under Non-Plug and Play Drivers, search for its name and run a full scan with Microsoft Defender or your security program.
💬 Comments