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.
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.
| Problem | Drive or phone still opens after a block |
|---|---|
| Usual cause | No restart, old mount, wrong hive |
| Time to fix | 5 to 15 minutes |
| Difficulty | Easy to moderate |
| Parent guide | Block USB ports in Windows 10 |
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.
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.
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.
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.
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.
:: Which policies apply to this PC?
gpresult /r
:: Read the USBSTOR start value (4 = blocked)
reg query HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v StartWhy 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 | What you see | Repair |
|---|---|---|
| No restart | New drive opens normally | Restart or set a forced reboot |
| Drive already mounted | Only the old drive works | Unplug, reconnect, retest |
| Phone is a portable device | Phone files visible | Add WPD deny read and write |
| Wrong hive | Works for you, not others | Write the value under HKLM |
| Home edition | gpedit.msc missing | Use the USBSTOR value |
| Domain or Intune policy | Setting reverts | Change it at the source |
| Wrong value type | No effect at all | Recreate as DWORD (32-bit) |
| Driver already loaded | Block works after reboot only | Restart after the change |
| Another tool controls the switch | Value flips back | Pick one controlling tool |
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, 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.

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.
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.
A registry block makes the PC immune to anything plugged into USB.
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 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.