Whenever you connect a USB to your computer, it creates registry entries and leaves traces behind. Over time, you may have connected many different USB or Flash drives to your Windows computer, and each time you did, it created new registry entries.
How to check USB History in Windows 11
Most such traces are usually left behind in the following registry keys:
- System\controlset\
- CurrentControlSet\Control\DeviceContainers
- CurrentControlSet\Control\DeviceClasses
- Software\Microsoft\Windows\Shell\MuiCache
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR
All these traces pile up, and even registry cleaners may miss them. Such entries can let others view which USB drives had been connected to your PC.
USBDeview, USBOblivion and USBDriveLog let you log, view all the present & previously connected USB devices and erase all traces of USB-connected drives & CD-ROMs from the Windows Registry.
USBDeview lets you view & uninstall previously connected USB devices
USBDeview is freeware that lets you view all USB devices connected to your PC and the history of previously connected USB devices. Whatever it is—a USB Flash Drive, Mobile Phone, Camera, or any device you’ve ever plugged into your PC’s USB port – USBDeview records all its information and shows it to you.
USBDeview shows the device’s description, type, connection state, safe to unplug status, serial number, connection date and time, firmware version, driver version, and many other details. The most useful detail is whether a connected device is safe to remove.
In addition to extended details, the program also lets you disconnect and disable the connected devices. You can also uninstall the previously connected USB devices. With this amazing utility, you can also change the drive’s assigned letter.
Under Advanced options, you can also add commands to run when a USB device is plugged into or unplugged from your PC. You can add as many commands as you like, and they will be executed every time a USB device is connected or disconnected.
You can create an HTML record of the USB Devices connected to your PC so that, if you need that data later, you can look through the HTML record. In the file’s Properties, you can see key elements to learn more about the connected device.
We’ve already seen many more customization features in many of Nirsoft’s applications.
USBDeview is a great and useful tool. It lets you view the history of USB Devices connected to your PC. It tells you what devices have ever been connected, with detailed properties and management options. It’s unique and works amazingly well. Visit Nirsoft to download USBDeview.
USBOblivion lets you erase all traces of old connected USB Drives
USBOblivion is another portable freeware that is designed to erase all traces of USB-connected drives and CD-ROMs from the Windows registry. The first time you run USBOblivion, make sure that the Do real clean box is unchecked. This will only scan your computer and list the entries. This is the test mode.

Once you are sure that you want to clean the traces, remove or disconnect your USB Drives, check the Do real clean box and click on Clean. By default, the Save backup .reg file check box is selected. This is good because, before removing the traces from the registry, they’re backed up as a .reg file saved in the user’s Documents folder. Should you need it, you can always restore the deleted keys using this backup.
You can download USB Oblivion from Cherubicsoft. It worked just fine on my Windows 11 64-bit. Remember to create a system restore point first so that you can restore your computer if necessary.
USBDriveLog logs activity and tells you when a USB drive was plugged in or removed

USBDeview is a more comprehensive USB device inventory and management tool. In short: USBDriveLog tells you when a USB drive was plugged in or removed. Its key feaatyres are:
USB Connection History
- Shows a complete timeline of USB storage devices plugged in and removed.
- Records both plug-in and unplug times with millisecond precision (optional).
Detailed Device Information
- Displays device model, revision, manufacturer, serial number, capacity, and device ID.
- Includes Vendor ID and Product ID, with optional mapping to vendor/product names via the usb.ids file.
You can save logs in CSV, TXT, JSON, HTML, or XML formats. Download it from Nirsoft.
TIP: You may also want to check out GhostBuster. It lets you remove old, unused, ghosted, hidden device drivers in Windows.

