Windows 10 guide

How to Check That USB Ports Are Blocked in Windows 10

A block you have not tested is a guess. This page shows three independent signals that prove a USB block works on Windows 10: what happens when you plug a drive in, what the setting says and what the event log recorded.

Editorial teamNovember 20265 min readLast verified: November 2026
Quick answer

Restart, plug in a spare drive and watch for an access-denied message or no drive letter. Then read the setting with reg query or gpresult, and check the DriverFrameworks event log. Two matching signals out of three is a reliable result.

At a glance
GoalProve the block holds
NeedsA spare drive never used on this PC
Time10 minutes
SignalsBehaviour, setting and log
Parent guideBlock USB ports in Windows 10
Magnifying glass checking a USB port next to a command windowA magnifier shows a USB port with a green check mark beside a terminal window and three confirmed signal chips.
Method

The three-signal check: behaviour, setting, log

The three-signal check compares what a drive does, what the setting says and what Windows recorded. Behaviour is the test with a spare drive. The setting is the registry value or policy report. The log is the connection event in Event Viewer. When two of the three agree, the block is working as intended.

Three signals that confirm a USB blockThree overlapping circles labelled behaviour, setting and log, with verified in the shared centre.Behaviourdrive behaviourSettingregistry, policyLogWindows recordsVerified
What each signal shows
SignalUnder Deny all accessUnder USBSTOR Start = 4
BehaviourAccess-denied messageNo drive letter at all
SettingPolicy shows EnabledStart reads 4
LogConnect event recordedFew or no storage events
Signal one

Behaviour: the spare-drive test

Plug in a drive that this PC has never seen, so no driver or earlier mount can confuse the result. Under a deny rule you should see an access-denied message, while a disabled storage driver gives no drive letter at all. Then plug in your keyboard and mouse check: both should work normally.

  1. Restart first

    The test is meaningless before a restart, because the setting may not be applied yet.

  2. Use a new drive

    A drive used on this PC yesterday may still be mounted or cached.

  3. Watch File Explorer and Disk Management

    Open Disk Management to see whether the disk appears even if File Explorer shows nothing.

  4. Try a second drive type

    Repeat with an SD card reader or external disk if you have one, since they use the same storage rules.

Signal two

Setting: read what Windows actually applied

Read the setting back instead of trusting memory. A short command prints the USBSTOR Start value, and gpresult lists the policies the PC applied. Reading both tells you whether the block you wrote is the block in force, which matters when a domain or management profile might be overriding local changes.

PowerShell (administrator)
# USBSTOR start value: 4 = disabled, 3 = default
(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR).Start
# Deny_All policy value (1 = on)
(Get-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" -ErrorAction SilentlyContinue).Deny_All
# Applied policy report
gpresult /h "$env:USERPROFILE\Desktop\policy.html"
Why this matters

A setting that reads correctly but a drive that still opens points to a pending restart, an old mount or a conflicting policy. The troubleshooting guide covers each.

Signal three

Log: what Event Viewer recorded

Windows can record each USB connection in Event Viewer, but the relevant log is disabled until you turn it on. Open Applications and Services Logs, then Microsoft, Windows, DriverFrameworks-UserMode, Operational, and enable it. Event 2003 marks a device connecting and 2102 marks its removal.

This gives you a timeline: when a drive was plugged in, and whether a block message followed. Dedicated blocking software keeps its own record too, including wrong-password attempts, which Windows alone does not log. If you also encrypt the drives you still allow, a walkthrough for enabling BitLocker on Windows 10 covers that layer.

USB Block Reports and Logs tab showing a table of device events and wrong password attempts
Blocking software keeps a separate log of allowed devices and failed attempts.

If you manage several PCs, a written record per machine saves repeating the check; the same structure is useful before and after you unblock a PC. For a log you do not have to build yourself, see the logging features on the product page.

Questions

Questions about checking a USB block

Restart, then plug in a drive the PC has never seen. Under Deny all access you should see an access-denied message, and under USBSTOR Start = 4 no drive letter should appear at all. Confirm the keyboard and mouse still respond. One clean test with a spare drive settles most doubts.

Run Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR -Name Start in an administrator window. A result of 4 means the storage driver is disabled, and 3 means it loads on demand. This reads the setting without opening Registry Editor, so it is also handy for scripts and remote checks.

Enable the Microsoft-Windows-DriverFrameworks-UserMode Operational log in Event Viewer, then look for event 2003 when a device connects and 2102 when it is removed. The log is off by default and records nothing until you turn it on, so enable it before you test.

Under Start = 4, a new drive does not appear under Disk drives because the storage driver is not loaded, though an unknown or other device entry may show. Under Deny all access, the drive can appear while access is refused. Use Device Manager as a clue, not as the only proof.

Per-user registry settings and per-user group policy apply to one account, while machine settings apply to all. Check that the value lives under HKEY_LOCAL_MACHINE or under Computer Configuration, then test from a standard account as well as from your own.

Record the setting name or registry path, the value, the date, the PC name, and the result of a spare-drive test with a screenshot. Add the gpresult report when policy is used. Keep the undo steps beside it. That gives an auditor a setting, a result and a way back.

Need more than the built-in tools?

When you need a ready-made record of what was plugged in and when, logging is built into dedicated blocking software.