How to Monitor USB Activity on Windows: Step-by-Step Guide 2026

Windows can record every USB drive that connects to a PC, yet the most useful logs ship switched off. Here is how to turn on the right ones, which event IDs to read, and when a dedicated tool earns a place.

  • Last verified: November 2026
  • Windows 10 and 11
  • About 10 minutes per PC
Illustration of a USB plug feeding four event IDs into a Windows event log list
6416Security event that names a new device
2003 / 2102Operational events for connection and removal
5Built-in sources compared below
Quick answer

How to Monitor USB Activity on Windows: Quick Answer

Turn on Audit PNP Activity and the DriverFrameworks-UserMode Operational log, plug in a drive, then read events 6416, 2003 and 2102 in Event Viewer. Together they show when a device connected, which one it was and when it left. Add a Removable Storage audit to see file access.

At a glance

Setup time
About 10 minutes per PC
You need
Administrator rights and Windows 10 or 11
Records
Connection, removal, device ID, account, optional file access
Misses
Anything before logging was on
Cost
Nothing for the Windows tools

Most guides stop at “open Event Viewer”. That fails on a stock PC, because the Operational log is disabled and the audit that produces event 6416 is off. Work through this page as three stages, which we call the Capture, Read, Restrict method.

CaptureSwitch on the logs that Windows leaves off.
ReadPull the events that answer who, what and when.
RestrictDecide whether watching is enough or a block is needed.

Capture and Read need no extra software and take one sitting. Restrict is optional, and the later sections show three ways to do it. Every command here is for PCs you own or administer.

What You Need Before You Start

Windows 10 version 1507 or later, or Windows 11, covers every event in this guide. Event 6416 specifically needs Windows 10 or Windows Server 2016 and later, so older systems will not show it.

Checklist

  • An account in the local Administrators group
  • PowerShell or Command Prompt opened with Run as administrator
  • One spare USB drive for the test
  • A folder such as C:\UsbLogs for exports

Edition note

Home, Pro and Enterprise all keep the same event logs. The difference is the editor: Home has no Group Policy Editor or Local Security Policy console. The auditpol and wevtutil commands below skip both editors, so they work on every edition.

Rollback plan

Every setting here is reversible. Audit policies return with the same auditpol command and /success:disable, and the Operational log returns with /e:false. Write down the original state before you change anything.

Five Places Windows Records USB Activity

The Security log, the DriverFrameworks log, the Kernel-PnP log, the USBSTOR registry key and setupapi.dev.log each answer a different question. None of them holds the whole story, which is why a single search for one event ID often disappoints.

  • Security log: event 6416 when a device is recognised, 4663 and 4656 for file access.
  • DriverFrameworks-UserMode/Operational: 2003 on connection, 2100 and 2102 around removal.
  • Kernel-PnP/Configuration: 400, 410 and 430 for device configuration.
  • USBSTOR key: device name and serial for storage drives.
  • setupapi.dev.log: first-install time, written in local time.
Diagram of five Windows sources that record USB activity and what each one answers
Five sources, each answering a different question about a USB device.
Phones are the blind spot

Phones that connect in MTP mode do not appear under USBSTOR, because they are portable devices rather than mass storage. Look under the USB and WPDBUSENUM keys for those.

Step-by-Step: Monitor USB Activity on Windows

The steps below take about ten minutes and leave two logs and one audit policy running. Paste each command into an administrator terminal.

  1. Open an administrator terminal

    Right-click Start and choose Terminal (Admin) or Windows PowerShell (Admin). Accept the prompt.

  2. Turn on the device audit

    This policy produces event 6416 each time Windows recognises a new device.

    Command Prompt or PowerShell
    auditpol /set /subcategory:"Plug and Play Events" /success:enable

    Success-only is deliberate: the setting has no failure events to record.

  3. Enable the Operational log

    The DriverFrameworks log is off by default. One command switches it on.

    Command Prompt or PowerShell
    wevtutil sl Microsoft-Windows-DriverFrameworks-UserMode/Operational /e:true
  4. Add file-level auditing if you need it

    Optional. This logs file access on any removable drive as events 4663 and 4656.

    Command Prompt or PowerShell
    auditpol /set /subcategory:"Removable Storage" /success:enable /failure:enable
  5. Run a test

    Plug in a spare drive, wait ten seconds, copy a small text file onto it, then eject it. Leave a minute between each action so the timestamps stay easy to tell apart.

  6. Read the events

    Open Event Viewer. Go to Windows Logs > Security and choose Filter Current Log for IDs 6416 and 4663. Then open Applications and Services Logs > Microsoft > Windows > DriverFrameworks-UserMode > Operational and filter for 2003, 2100 and 2102.

  7. Save a copy

    Export the entries so a full log cannot overwrite them.

    Command Prompt or PowerShell
    wevtutil epl Security C:\UsbLogs\security.evtx /q:"*[System[(EventID=6416)]]"
Timeline of USB events from device recognised to device removed across Windows logs
Typical order of events during one test: connect, copy, remove.
Confirm the audit took effect

Run auditpol /get /subcategory:"Plug and Play Events". The output should read Success for that subcategory.

USB Device Classes: What Each Control Touches

A storage block should stop drives and leave input devices alone. Which class each device uses decides whether that holds.

USB device class against three common controls
Device classRemovable Storage policyUSBSTOR Start = 4Root hub disabled
Flash drives and external disksBlockedBlockedBlocked
Keyboards and mice (HID)UnaffectedUnaffectedBlocked
PrintersUnaffectedUnaffectedBlocked
Phones in MTP mode (WPD)Blocked when all classes are deniedStill connectBlocked
Safest for storage onlyGroup PolicyRegistryAvoid

Best Free Methods to Monitor USB Activity on Windows

Four free readouts work from the same switched-on logs. Pick the tab that matches how you like to work.

Best for a one-off look. Build a Custom View under Event Viewer (Local) and select both logs, then enter 6416, 2003, 2100 and 2102 as the Event IDs. Save the view, and it becomes one list of every connection and removal on the PC.

Best for scripts and repeat checks. A filter on the log name and event IDs returns the same rows in a table you can export. The full set of queries is on the PowerShell USB history page.

Best for history before logging began. Open HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR. Each subkey is a storage device with its friendly name and serial. It holds identity, not a timeline, and does not list phones in MTP mode.

Best for the first-ever connection. The file at C:\Windows\INF\setupapi.dev.log stamps each driver install in local time. It records installs only, so a drive Windows already knows leaves no new line.

Lists of free blocking tools also include logging features, as in AIMultiple’s list of free USB blocking software and this Gitnux roundup of USB lock tools, which notes audit logging in several products. Treat those as starting points and check each vendor’s own page.

Built-in Windows Methods Compared

The right Windows source depends on the question. Use this table to pick one before you open a log.

Windows USB records compared by what they answer
SourceAnswersOn by defaultMain limit
Security log 6416Which device was recognised, and under which accountNo, needs Audit PNP ActivitySuccess events only; Windows 10 and Server 2016+
Security log 4663 / 4656Which file was touched on a removable driveNo, needs Audit Removable StorageShows access, not proof of a full copy
DriverFrameworks OperationalWhen a device connected and was removedNo, log is disabledPer PC only; small default size
USBSTOR registry keyWhich storage drives have ever connectedYesNo timeline; skips MTP phones
setupapi.dev.logWhen a device first installedYesLocal time; installs only
Defender for Endpoint device controlRemovable storage events across many PCsNo, needs licence and setupReporting needs Microsoft 365 E5; 300 events per device per day
Best single startDriverFrameworks OperationalCheapest to turn onOne command

If you plan to block as well as watch, NinjaOne’s walkthrough of four ways to disable USB drives covers Group Policy and registry steps in more detail. For a scored comparison of Windows logs and paid tools, read the built-in versus software comparison.

Which Method Fits Your PC? Use the Method Picker

Method picker

Windows edition
How many PCs
What you need

Why Block USB Ports at All

Logging tells you what happened after a drive connects. It does not stop a drive from carrying malware in or files out. Grokipedia’s removable media article describes removable media as a common route for both, including autorun-style attacks.

Windows turned off AutoRun for USB drives from Windows 7 on, and that removed the easiest infection route. Risk now comes from files people open by hand, and from copies that leave the PC. Watching spots both after the fact, and a block prevents them. Tick every line that applies to your PC.

Diagram of three ways to block USB storage: Group Policy, registry and software
Three ways to block, from managed to single-PC.

Risk score card

Troubleshooting: When the Logs Stay Empty

Six causes account for nearly every empty log. The deeper diagnostic path is on the page about USB events that do not show in Event Viewer.

Problem, cause and fix for empty USB logs
ProblemLikely causeFix
No 6416 after a testAudit PNP Activity is offRun the auditpol command from step 2
Operational log has no entriesLog disabled by defaultRun wevtutil with /e:true
6416 missing on an old PCNeeds Windows 10 or Server 2016+Use USBSTOR and setupapi.dev.log instead
Old drive missing from SecurityIt connected before auditing beganCheck the USBSTOR key for history
Phone not in USBSTORMTP phones are portable devicesCheck the Enum\USB and WPDBUSENUM keys
Times look wrongsetupapi.dev.log uses local timeConvert before comparing with event times

How to Verify It Worked After You Monitor USB Activity on Windows

A passing test shows four things. Tick them as you confirm each one.

If a tick fails, go back to the step that creates that event. Each of the four checks maps to one command above.

Common Mistakes When You Monitor USB Activity on Windows

The Operational log and the PNP audit are both off on a fresh install. An empty Event Viewer means setup was skipped, not that nobody plugged anything in.

Only mass storage devices land there. A phone in MTP mode, a camera or a card reader using a different driver can connect without leaving a USBSTOR entry.

setupapi.dev.log uses local time. Event logs store UTC internally and show local time in Event Viewer. Compare them only after you confirm both are local.

A full log overwrites its oldest events. The Security log defaults to 20 MB, so on a busy PC a USB entry from last month may already be gone. Export before then.

That also disables keyboards, mice and every other device on those ports. Use the storage policy or the USBSTOR driver setting instead.

Teams often test connection and forget removal. Event 2102 confirms the unplug side, which is the part investigators ask about.

Our Top Pick for Single-PC USB Control: USB Block

The Windows methods above give you events and nothing more. If you also want a block, a password and a plain report on the same PC, USB Block fits that job. It is made by NewSoftwares.net, which publishes this guide, so weigh our recommendation with that in mind.

The app’s window has tabs for Detailed Summary, Control Center, Authorized Devices, Reports and Logs, and Program Options. Its Control Center holds four switches: Block USB Devices, Block Discs and Floppy Drives, Block Network Access, and Block Non-System Drives. The product page describes whitelisting of your own drives and a password that anyone needs before an unauthorized device can be opened.

USB Block red product box with a shield emblem

What to know before you buy

  • Listed systems: 32-bit and 64-bit Windows 10, 8 and 7, plus Windows Server 2008, 2012, 2016 and 2019.
  • Windows 11 is not named on the product page, so confirm it with the vendor.
  • Its log covers the last 100 entries on that PC. It is not a Windows event log.
  • It does not replace file-level auditing from Windows.
USB Block Detailed Summary tab showing USB, disc, network and non-system drive status
The Detailed Summary tab shows each drive type as Allowed or Blocked, with counts for times plugged in and drives blocked.

Software-Based USB Blocking Step-by-Step

The steps follow the screens in the app and the product page’s own description of how it works.

  1. Download and install

    Download the installer from the official download link and run it on a Windows version the product lists.

  2. Set your password

    The page tells you to set a password. It is the one anyone needs before an unauthorized device can be opened, so store it with your other admin credentials.

  3. Tick the Control Center switches

    Open Control Center and tick Block USB Devices to stop unauthorized drives, external drives and memory cards. Tick the other switches only if you need them.

  4. Authorize your own drives

    Plug in a drive you trust and authorize it with your password. It then appears on the Authorized Devices tab with its serial number, type and name.

  5. Review Reports and Logs

    Open Reports and Logs. The Device Report lists type, name, times inserted and authorization details. The Usage Report lists the PC user and the devices they used.

USB Block Control Center tab with four device protection switches and their status
Control Center: one switch per device type, each showing Enabled or Disabled.
USB Block Reports and Logs tab showing Device Report and Usage Report tables
Reports and Logs keeps the last 100 entries for review.

How to Allow Approved Drives Only

An allow-list inverts the problem: block everything, then name the few drives you trust. Windows can do it through Group Policy, and software can do it per serial number.

  1. Find the drive’s hardware ID in Device Manager, under the drive’s Details tab, using the Hardware Ids property.
  2. Open Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions.
  3. Enable Allow installation of devices that match any of these device IDs and add the ID.
  4. Enable Prevent installation of devices not described by other policy settings.

Software routes are shorter. The Authorized Devices tab in USB Block keeps a serial-number list, and removing a row withdraws approval. Keep a written register either way, and check it each quarter with the office PC audit checklist.

USB Block Authorized Devices tab with serial number, device type and device name columns
Authorized Devices lists serial number, device type and device name with ID.
Approved drive flow: find the hardware ID, allow it, then block every other device
The allow-list pattern in three moves.

Write a One-Page USB Policy for Your Office

A rule nobody has read is hard to enforce. Fill in the fields and copy the text into your handbook.

Office USB policy generator




Policy text

How to Re-enable USB Ports Safely

Undo a block with the same tool that set it. Sign in as an administrator first.

Group Policy or registry

Set the Removable Storage policy to Not Configured and run gpupdate /force. For the registry route, set HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR\Start back to 3, then restart.

Software

Open the program, enter the password you set, and untick the switches in Control Center. If you cannot find the password, contact the vendor through the NewSoftwares.net contact page with proof of purchase. Microsoft Q&A thread on password-protecting USB ports shows how often people ask this question, and the answers point back to the owner.

Owner recovery only

This section covers PCs you own or administer. Getting around someone else’s password or block is not covered here and is not something the vendor will do without proof of ownership.

Cost and Final Verdict

The Windows methods in this guide cost nothing. USB Block is a paid product, and its page shows a “Buy Full Version” button but no price. The page says the full version has no trial reminders and no limitations, and it does not state trial terms, so check the store before you commit.

Use the Capture, Read, Restrict method as the decision rule. Capture and Read alone suit anyone who only needs to know what happened. Add Restrict when a drive could cost you data, and choose software over Group Policy when the PC runs Windows Home or sits outside a domain.

Frequently Asked Questions About Monitoring USB Activity on Windows

How to monitor usb activity on windows?

Turn on the Plug and Play Events audit with auditpol, enable the DriverFrameworks-UserMode Operational log with wevtutil, then plug in a drive. Event 6416 in the Security log names the device, while events 2003 and 2102 in the Operational log mark its connection and removal. Read them in Event Viewer or with Get-WinEvent.

Can I monitor usb activity on windows without paid software?

Yes. Everything in the first half of this guide ships with Windows 10 and 11: two event logs, a Security audit policy, the USBSTOR registry key and setupapi.dev.log. The cost is your time, because the records are scattered and stay on each PC. Paid tools mostly add one screen and a local report.

What is the fastest way to monitor usb activity on windows?

Enable the DriverFrameworks-UserMode Operational log with one wevtutil command, plug in a drive and open Event Viewer. That takes about two minutes and shows connection and removal times together. For a single PC where you also want a block, dedicated software with a built-in log is the other quick route.

What mistakes should I avoid when I monitor usb activity on windows?

Expect empty logs if you skip setup: the Operational log is off by default, and event 6416 appears only after the audit policy is on. Other slips include reading setupapi.dev.log as UTC when it uses local time, trusting the USBSTOR key for phones, and forgetting that full logs overwrite old events.

How do I check that it worked after I monitor usb activity on windows?

Plug in a drive you know, wait ten seconds, then remove it. Check that the Security log shows 6416 and the Operational log shows 2003 and 2102 for that minute. If one is missing, recheck the audit setting or the log’s enabled state. Repeat the test after every reboot or policy refresh.

Can I block USB storage but keep my keyboard and mouse working?

Yes. The Removable Storage Access policy denies storage classes only, so keyboards and mice, which use the HID class, keep working. Setting the USBSTOR driver to disabled also leaves them alone. Avoid disabling USB root hubs in Device Manager, because that cuts power and data to every device on those ports.

Does blocking USB ports stop phone charging?

Not usually. A storage block stops a phone from mounting as a drive, but the port still supplies power, so charging continues. Only a firmware or hardware setting that powers the port down stops charging. Test with your own phone and cable first, since some phones pause charging until you answer a data prompt.

Will USB blocking work on Windows Home?

The registry method works on Home, because the USBSTOR Start value can be edited in regedit. Group Policy Editor is missing from Home, so the Removable Storage policy is not reachable through gpedit. Third-party software depends on neither, but check its listed Windows versions before you buy.

How do I re-enable USB ports as the administrator?

Sign in as an administrator and undo whichever method you used. Set the policy back to Not Configured and run gpupdate /force, or set the USBSTOR Start value to 3 and restart. For software, open its window with the password you chose. Without admin rights or that password, ask the person who owns the PC.

Can I allow only one approved USB drive?

Yes, through an allow-list. Group Policy can permit one device by its hardware ID, and dedicated software can keep an authorized-device list tied to the drive’s serial number. Keep a written register of approved serials, since drives that report no unique serial are hard to tell apart.

Does Windows record USB activity by default?

Partly. The USBSTOR key and setupapi.dev.log keep first-install details with no setup. Removal times, repeat connections and file access need the Operational log and audit policies switched on, so a stock PC can tell you what was ever installed but not a full timeline.

Which event ID shows a USB drive being plugged in?

Event 6416 in the Security log names the device, and it needs the Plug and Play Events audit. In the DriverFrameworks-UserMode Operational log, 2003 marks the connection. System event 20001 appears only the first time a device installs, so it stays quiet for a drive Windows already knows.

Can I see which files were copied to a USB drive?

Only with the Removable Storage audit on. Events 4663 and 4656 record access to files on removable drives, with the file name and the account. Without that audit, Windows logs the device but not what moved. Even with it, treat the entries as evidence of access, not proof of a complete copy.

Does this work on Windows 11?

The Windows logs behave the same on Windows 10 and 11, because event 6416 needs Windows 10 or Server 2016 and later. Third-party tools differ. USB Block’s product page lists Windows 10, 8 and 7 plus several Server versions, and Windows 11 is not named, so confirm with the vendor first.

How long do USB logs stay on the PC?

Each event log has a maximum size and overwrites its oldest events once full. The Security log defaults to 20 MB, so a busy PC may hold only days of entries. Raise the size in the log’s properties, or export the log on a schedule with wevtutil epl.

Can I monitor USB activity on someone else’s PC?

Only with the owner’s or employer’s authorization. On a shared family or office PC, tell users what you record and why. Covert monitoring of another adult’s computer can break privacy law and workplace policy. This guide covers PCs you own or administer.

About this guide

Written by the NewSoftwares.net editorial team and last verified in November 2026. Questions about USB Block go through the contact page, and more about the company is at NewSoftwares.net.