- Home
- USB History Not Showing in Windows? Why the Record Is Empty
USB History Not Showing in Windows? Why the Record Is Empty
An empty USB history usually has a plain cause. This page walks a fixed triage order so you can find which record is blank and why.
- Event log off by default
- Admin rights matter
- Registry keeps older data
Run the empty-log triage order
When USB history looks empty, work down one order: elevation, then the event log switch, then hidden devices, then the registry, then rollover. Each step is quick and rules out one cause before you move on.
- Confirm you are elevatedOpen PowerShell or Registry Editor with Run as administrator. A standard account can return errors that look like empty results.
- Check whether the log is onRun the IsEnabled line below. If it says False, the log has never recorded anything on this PC, and the answer to “where are my events” is that none were written.
- Show hidden devicesIn Device Manager choose View, then Show hidden devices, and expand Disk drives and Portable Devices.
- Read USBSTOR directlyOpen the registry key or run the PowerShell line to list remembered storage devices.
- Check log size and rolloverA full log overwrites the oldest events. Compare RecordCount with the size cap.
PowerShell: is the USB event log switched on?
Get-WinEvent -ListLog Microsoft-Windows-DriverFrameworks-UserMode/Operational | Format-List IsEnabledPowerShell: list remembered USB storage keys
# List every remembered USB storage device with its key path
Get-ChildItem HKLM:\SYSTEM\CurrentControlSet\Enum\USBSTOR | Select-Object PSChildNameWhy each source can be blank
Every record has its own reason to be empty: the event log was never enabled, the registry key was removed, the device is not storage class, or the log rolled over. Match your symptom to the cause before you try fixes.
| Source | Why it is empty | What to try |
|---|---|---|
| DriverFrameworks log | Disabled by default | Enable it and test with a harmless drive |
| USBSTOR registry key | Entry removed, or not a storage device | Check the USB key, then other logs |
| Setup log | File rotated or driver was already installed | Search the file for the vendor name |
| Security log event 6416 | Plug and Play auditing is off | Enable it with auditpol, then retest |
| Phone events | Logged in a portable-device channel | Open the WPD-MTPClassDriver log |
PowerShell: log state, count and size cap
# How full is the USB event log, and what is its size cap?
Get-WinEvent -ListLog Microsoft-Windows-DriverFrameworks-UserMode/Operational |
Select-Object IsEnabled, RecordCount, MaximumSizeInBytes, LogModeEnabling the log after an incident and expecting it to reveal the incident. It starts at zero. Pull the registry and setup-log records for the past and use the log for the future.
Myth
“No events means nobody plugged anything in.”
Fact
No events can mean the log was off. Look at the registry before you decide.
Check the registry before you conclude
The registry is the longest-lived record of the three, so check it before deciding that no drive was ever used. A surviving key proves Windows saw the device even if no event was ever logged.
NirSoft describes one more wrinkle: its USBDeview tool can read a SYSTEM registry file from another Windows installation, which helps when the PC will not boot. See the main USB history guide for the five-method comparison, or the page on last-connected times for how to read the values.
Gaps are a good reason to stop relying on memory of Windows and start recording. USB Block keeps a Device Report with times inserted and an authorization record on PCs that run Windows 10 or earlier, and AIMultiple’s roundup of free USB blocking software shows what else is available.
Need a log that exists before the next question comes up?
Get USB Block →Questions about empty USB history
Why is the DriverFrameworks-UserMode log empty?
Because it is disabled by default. Windows creates the channel but writes nothing until you enable it, and it never back-fills earlier plug-ins. Enable it in Event Viewer or with wevtutil, plug in a test drive, and confirm that event 2003 appears. Anything before that moment will not be in this log.
Does a USB drive appear in Device Manager if it is not plugged in?
Only when you choose View, then Show hidden devices. Greyed entries show drives Windows remembers. If a drive you used is still missing there, check the registry, since a cleanup tool or a policy can remove the entry and leave the other records untouched.
Why can’t I see my phone in the USBSTOR list?
Phones in file-transfer mode use the portable-device stack, and Elcomsoft’s February 2026 notes describe a separate WPD-MTPClassDriver Operational log for them. USBSTOR covers storage-class devices, so a phone that is not presenting as a drive will not appear there.
Can a cleanup tool delete USB history?
Yes. Registry cleaners and forensic-wipe programs can remove USBSTOR keys, and clearing event logs removes events. Windows also records that a log was cleared in the Security log as event 1102 when auditing is on. Absent history is a clue in itself, though it does not prove who removed it.
Why do I get an access error from PowerShell?
Get-WinEvent and registry reads need elevation for protected logs and keys. Open PowerShell with Run as administrator, then try again. If you still see errors, confirm that your account is in the Administrators group and that a policy is not restricting event log access.
How do I stop old events from being overwritten?
Raise the log’s maximum size in Event Viewer under Properties, or forward events to another machine. Retention is a size cap, so a busy PC can fill a small log in days. Check RecordCount and MaximumSizeInBytes with the PowerShell line on this page.