How to remove old and ghost USB devices in Windows

Last update: 15/07/2026

  • The Windows operating system stores detailed logs of each connected USB device in the system log.
  • There are several specialized tools such as USBDeview, GhostBuster and Device Cleanup Tool to manage and remove these traces.
  • Manually deleting keys from the registry is possible but carries significant risks of system instability if not done with caution.
How to remove old and ghost USB devices in Windows

Every time you connect a USB drive, a mouse, or an external hard drive, Windows creates an entry to configure and recognize the device.Depending on the type of hardware, it may retain data such as the name, manufacturer, product and supplier identifiers, some connection dates, and, on certain storage units, the serial number.

These entries may remain in the system after the hardware is disconnected.This is what Windows calls devices not presentThese are also known as phantom devices. Removing them can resolve conflicts or keep Device Manager tidy, but it usually doesn't speed up boot times or completely erase all traces of a USB connection.

Related article:
How to check which USB drives have been connected to the PC

The mystery of the phantom devices and the registry

Ghost devices and the registry in Windows

Windows stores Plug and Play device settings in different areas of the Registry. One of the main ones is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enumwhich contains information on numerous types of hardware, not just USB devices. Within it, the branches USB y USBSTOR They are especially relevant for USB peripherals and storage units.

Exclusive content - Click Here  How to Change the Dimensions of an Image

It is not recommended to delete these keys directly using the Registry Editor. Many are protected by system permissions, and modifying their ownership can alter driver settings. It is preferable to uninstall the device through Windows or use a specific tool. Before deleting multiple entries, it is advisable to create a system restore point or a system restore point. system backup.

Recommended tools for safe cleaning

Best portable USB programs
Related article:
Best portable programs that you can carry on a USB and use on any PC

If you need to delete multiple entries, there are utilities that simplify the process and avoid manually editing the Registry. Even so, it's advisable to run them as administrator, review each entry, and avoid deleting unknown devices.

  • USBDeview: This portable utility displays currently connected and previously used USB devices. It allows you to view their description, identifiers, status, and, when available, serial number. You can also uninstall specific devices, although this It does not guarantee that all connection logs will disappear..
  • Device Cleanup Tool: It allows you to select and uninstall multiple missing devices. Its command-line version also offers filters by age, exclusions, and a test mode to verify which items will be removed before applying the changes.
Exclusive content - Click Here  How to Save a PowerPoint File

How to remove them from Device Manager

How to remove old and phantom USB devices from Device Manager

In Windows 10 and Windows 11, you don't need to run any commands. Right-click on the Start menu, open the Device Manager and select View > Show hidden devices.

Check out categories like Disk drives, Universal serial bus controllers y Human interface devicesDevices that are not connected may appear with a dimmed icon. If you recognize one you no longer use, right-click on it and select Uninstall the device.

Do not remove drivers, USB hubs, or devices that you cannot identify. If you reconnect an uninstalled peripheral, Windows will usually detect it and reinstall its settings.

How to scan a USB drive before opening files in Windows
Related article:
How to safely scan a USB drive before opening files in Windows

Does this delete all USB connection history?

Uninstalling a device removes its active entry from Device Manager, but It is not equivalent to performing a forensic erasure of your entire historyWindows may retain related information in installation logs, volume associations, and other system components.

Exclusive content - Click Here  How to Create My RFC Online

Periodically deleting the branch is also not recommended. USBSTOR As a privacy measure, access, auditing, and device control policies defined by the administrator should be used on enterprise or industrial systems, rather than manually manipulating the Registry.
Removing missing USB devices can be helpful for resolving driver conflicts, correcting outdated configurations, or keeping Device Manager tidy. However, It doesn't usually improve computer performance or eliminate all traces of connection.

The built-in Windows option is sufficient for deleting specific devices. If you need to check or uninstall many items, USBDeview and Device Cleanup Tool make the job easier, provided you download the tools from their official websites and carefully review each entry before deleting it.