Why a USB Drive Still Works After You Block USB in Windows 11
A short troubleshooting guide for the case where you set a USB block, restarted and a drive still opens.
A USB drive that still works after you block USB is usually already installed, or it belongs to a class the rule does not cover. Run gpupdate, restart, then test with a never-connected drive. Also check whether a domain or Intune policy overwrote the setting.
| Most likely cause | A driver already installed |
|---|---|
| First test | A never-connected drive |
| Also check | Phones, scope and managed policy |
| Fix time | Under 10 minutes |
The five causes, in the order to check them
A block that does not hold nearly always comes down to five causes: a cached driver, an unapplied policy, the wrong device class, the wrong scope or an overriding managed policy. Check them in that order, which goes from quickest to slowest.
| Cause | Sign | Quick test |
|---|---|---|
| Cached driver | Old drive opens, new drive does not | Try a never-connected drive |
| Policy not applied | gpresult does not list the policy | Run gpupdate, then restart |
| Wrong class | Phone opens, flash drive does not | Check Windows Portable Devices setting |
| Wrong scope | Works for admin only | Use Computer Configuration |
| Managed override | Setting returns after refresh | Ask who manages the PC |
Cause 1: the driver is already installed
Windows keeps a driver for devices it has seen. A drive plugged in before the rule can keep working because its driver is installed. The fair test is a drive the PC has never seen, so the rule meets a brand new device.
When a policy and a cached driver disagree, the policy normally wins for storage access, but behaviour can differ by device and by whether the drive is still mounted. Eject the drive, restart and reconnect. If it still opens, move on to the next cause rather than assuming the rule has failed.
Keep a spare drive that you never use for real files. Testing with it gives the same clean result every time.
Cause 2: the policy never applied
A policy that is set but not applied does nothing. Confirm it reached the PC by reading the registry value and by running gpresult. If the value is missing, the setting was saved in the wrong place or on a different PC.
# Show the value the policy writes
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" /v Deny_All
# Refresh policy
gpupdate /force
# See applied computer policy
gpresult /scope computer /rIf the query shows Deny_All with a value of 1 and the drive still opens, the policy is present and the cause is elsewhere.
Causes 3 to 5: class, scope and a managing policy
If the policy is applied and the drive is new, the remaining causes are the device class, the scope and a managed override. Each has a distinct sign, so a short test usually points to the right one.
Phones and cameras that use MTP or PTP are controlled by the Windows Portable Devices settings. Enable the deny setting for them separately.
User Configuration policies apply to the signed-in account. Computer Configuration applies to every account on the PC.
Domain Group Policy and Intune profiles refresh periodically. If your change disappears, the managing policy needs the change, not the local one.
The deny rule failed, so Windows ignored it.
In most cases the rule worked on the device class it covers, and the thing that still opens is a different class.
When a local rule is not enough
If you need a rule that survives user changes, an approved list or a log, a local policy is a thin tool. At that point stronger control, such as software with a password, saves repeated troubleshooting.
If this turns into a recurring chase, compare the options in the methods comparison. USB Block is our own option for this job, and you can read about it on the product page.
Frequently asked questions
These answers cover the follow-up questions people raise once a block seems not to hold, from cached drivers to managed policy. Each one stands alone, so read only the one that matches your symptom before going back.
The most common cause is that the drive was already installed, so Windows reuses its driver. A second cause is that the policy has not been applied yet. Run gpupdate, restart, then test with a drive that has never been connected to this PC.
Often yes. Some changes apply on the next policy refresh, but a restart is the reliable way to be sure. Reconnecting the drive after a restart is the fair test.
Phones using MTP or PTP are portable devices, not removable disks. They have separate deny settings, so the disk rule does not touch them.
Yes. A domain Group Policy or an Intune profile can overwrite a local setting at the next refresh. If the setting keeps reverting, find out who manages the PC and change the rule there.
Computer policy applies to every user. A user policy only covers the signed-in account. If a standard user can still read drives, check that you set the Computer Configuration policy.
A blocked drive usually appears with an access-denied message or no drive letter. A broken one shows errors in Device Manager. Testing a second known-good drive separates the two.
Need the full walkthrough?
The main guide covers every step to block unknown USB devices in Windows 11, from the restore point to the final test.