Windows 10 guide

Blocked USB Ports Still Working in Windows 10: Causes and Fixes

A USB block that seems to do nothing nearly always has an ordinary cause, and most are fixed in a few minutes. This page lists the causes in the order to check them and gives the exact repair for each one, with a decision tree to save time.

Editorial teamNovember 20266 min readLast verified: November 2026
Quick answer

Restart Windows, unplug and reconnect the test drive, then check that the setting sits under HKEY_LOCAL_MACHINE or Computer Configuration. If a phone still opens, add the WPD deny rules. If a domain or Intune policy applies, change it there.

At a glance
ProblemDrive or phone still opens after a block
Usual causeNo restart, old mount, wrong hive
Time to fix5 to 15 minutes
DifficultyEasy to moderate
Parent guideBlock USB ports in Windows 10
USB drive plugged into a port that should be blocked, with a warning and a checklistA flash drive sits in a row of USB ports under a warning triangle, while a checklist card shows one failed item among passed ones.
Diagnosis

The four-layer check for a block that does nothing

Work through four layers in order: timing, the device, the setting and the policy source. Timing covers restarts and old mounts, the device covers phones and cards, the setting covers hive and edition, and the policy source covers domain or Intune overrides. Most failures end at the first or second layer.

Decision tree for blocked USB ports that still workFive checks in order: restart, previously connected drive, phone or camera, Home edition, then conflicting rules.Restarted since the change?Restart, then retestNo: pendingDrive was plugged in before?Same drive, same portUnplug, reconnect, retestYes: already mountedPhone or camera?Portable device classAdd the WPD deny rulesYes: separate classWindows 10 Home?No Group Policy EditorUse registry valuesYes: Start = 4 or Deny_AllCheck hive and rulesNo: precedence
  1. Layer 1: timing

    Restart the PC. Windows applies a storage deny setting at startup, and a drive mounted before the change stays usable until it is unplugged and reconnected. Test with a drive the PC has never seen.

  2. Layer 2: the device

    Ask what the device really is. A flash drive is removable disk storage, while a phone or camera is usually a portable device. They follow different rules.

  3. Layer 3: the setting

    Confirm the value exists where you think it does. Read it back with a command rather than trusting memory of what you typed.

  4. Layer 4: the policy source

    Check whether something else controls the PC. A managed device can have a profile that wins over any local choice.

Command Prompt (administrator)
:: Which policies apply to this PC?
gpresult /r
:: Read the USBSTOR start value (4 = blocked)
reg query HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start
Causes

Why the setting is ignored: nine causes and what to do

Nine causes explain nearly every block that does not hold: no restart, an old mount, a phone in the portable class, the wrong hive, a Home edition, a conflicting policy, a typo in the value type, a driver that already loaded, and a software tool changing the same switch. The table pairs each with its repair.

Cause, symptom and repair
CauseWhat you seeRepair
No restartNew drive opens normallyRestart or set a forced reboot
Drive already mountedOnly the old drive worksUnplug, reconnect, retest
Phone is a portable devicePhone files visibleAdd WPD deny read and write
Wrong hiveWorks for you, not othersWrite the value under HKLM
Home editiongpedit.msc missingUse the USBSTOR value
Domain or Intune policySetting revertsChange it at the source
Wrong value typeNo effect at allRecreate as DWORD (32-bit)
Driver already loadedBlock works after reboot onlyRestart after the change
Another tool controls the switchValue flips backPick one controlling tool
Common mistake

Creating Deny_All as a string or a QWORD. Windows reads a DWORD (32-bit) value, so any other type is silently ignored and nothing blocks.

Phones

Phones, cameras and card readers that slip past the block

Phones and cameras that connect through Media Transfer Protocol belong to the Windows Portable Devices class, which the removable-disk rules do not cover. If a handset still shows its folders after you applied a deny rule, add the two WPD policies. A card reader behaves like a removable disk and follows the standard rule.

The Group Policy names are WPD Devices: Deny read access and WPD Devices: Deny write access, found under Removable Storage Access. In the registry they correspond to Deny_Read and Deny_Write values under the WPD class GUID {6AC27878-A6FA-4155-BA85-F98F491D4F33}. A Microsoft Q&A thread documents a case where the general deny rule did nothing for an Android phone until the portable-device rules were added.

USB Block control center with switches for USB devices, discs, network access and non-system drives
Dedicated blocking software exposes device groups as separate switches.

Charging is a separate matter. A phone usually keeps charging because power is not data, so a successful block still shows a charging icon on the handset. If you need ports with no power at all, you are into hardware territory, and a physical port lock is cheaper than a registry hack. For the broader picture, the main step-by-step section shows each method.

Limits

What a software block cannot stop

A software block cannot stop an administrator from changing it, a boot from another operating system, or attacks that use the USB port itself rather than a storage driver. It deters ordinary use. Where the stakes are higher, pair it with a BIOS password and physical control of the machine.

Security researchers have long discussed attacks that exploit USB ports at the hardware level, which a storage policy does not address; a Security Stack Exchange thread on physical USB attacks gives the background. A block still removes the everyday risks: a borrowed drive, an unknown stick, a casual copy of files.

Myth

A registry block makes the PC immune to anything plugged into USB.

Fact

It stops storage drivers loading. It does not defend against hardware-level attacks or a determined administrator.

If the block works but you now need it gone, the undo guide covers each method. If you want proof the block holds, use the verification walkthrough.

Questions

Questions about a block that is not working

Three causes account for most cases: Windows has not restarted since the change, the drive was already mounted before you applied it, or the policy sits under the wrong scope. Restart first, unplug the drive and plug it back in, then run gpresult to confirm the setting is applied.

A phone often connects as a portable device rather than as removable disk storage, so the removable-disk rules skip it. Add the two WPD Devices policies for deny read and deny write, or write the matching registry values under the WPD class key. Then restart and reconnect the phone.

It can be. Keys under HKEY_CURRENT_USER apply only to the account that wrote them, so a block meant for the whole PC belongs under HKEY_LOCAL_MACHINE. If you edited the user hive while signed in as an administrator, a standard user will still be able to open drives.

Yes. Policies pushed from a domain controller or from Microsoft Intune are applied after local policy and can replace your setting at the next refresh. Run gpresult /r to see which policy objects apply, and ask whoever manages the network to set the block there instead of locally.

It should not touch keyboards or mice, but it stops the USB storage driver for every storage device, including external disks and card readers you may still rely on. If a device vanished, set Start back to 3 and restart, then use a narrower method such as a device-installation allow-list.

Home has no Local Group Policy Editor, and the policy templates are not designed for it, so editing policy there is unreliable. The USBSTOR Start value works on every edition, which makes it the dependable choice. Several guides report Deny_All also working on Home, but treat that as unconfirmed by Microsoft.

You probably disabled a root hub or host controller, which switches off everything behind it. Use a PS/2 or Bluetooth keyboard if you have one, or boot into Windows recovery and restore the restore point you created. Then re-enable the controller and use a storage-class method next time.

Need more than the built-in tools?

When a blocked drive keeps working because you need exceptions, an allow-list in dedicated software is often simpler than hardware IDs.