Why a USB Drive Still Opens After You Block USB Storage in Windows 11
A USB drive that still opens after you denied removable storage in Windows 11 is almost always a timing, class or trust problem, not a broken setting. This page walks through four checks, in order, for Windows 11 24H2, 25H2 and 26H2.
Restart first, then test with a drive Windows has never seen. If it still opens, confirm the policy with gpresult, check whether the device is a phone using the WPD class, and look for a leftover or conflicting value. A drive Windows already trusts can keep working until its driver is removed.
| Applies to | Windows 11 24H2, 25H2 and 26H2 |
|---|---|
| Time needed | 15 to 30 minutes |
| Difficulty | Moderate |
| Cost | Free |
| Needs admin or internet | Administrator account; no internet |
| Last verified | November 2026 |
This page is part of our main guide to blocking USB ports in Windows 11. It covers only what to do when the block seems to have no effect.
The Four-Layer Trace for a USB block that does not hold
Work through four layers in order: whether the policy applied, whether the device is storage at all, whether Windows already trusts the drive, and whether a restart or update interfered. Most failed blocks stop at one of these, so checking in order saves guesswork.
Layer one: confirm the policy actually applied
A policy only blocks drives once Windows has read and applied it. Run gpresult in an administrator Command Prompt, read the registry value for Deny_All, and check that the setting sits in the branch you intended. Local policy loses to a domain policy that sets the same value.
gpresult /h "%USERPROFILE%\Desktop\gp-report.html" /f
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices"Open the HTML report and search for Removable Storage Access. If the setting is missing, the policy never reached the PC. If it appears under User Configuration but you tested with another account, the rule did not apply to that account.
Layer two: check the device class
Removable-disk rules apply to drives that Windows classes as removable storage. Phones in MTP or PTP mode, cameras and some media players are portable devices with their own policy, so they pass straight through. Identify which class your test device uses before blaming the setting.
| Test device | Likely class | What to enable |
|---|---|---|
| Standard flash drive | Removable disk | Deny all access or Removable Disks deny |
| Phone in file-transfer mode | Portable device (WPD) | WPD Devices deny read and write |
| Optical drive | CD and DVD | CD and DVD deny read |
| External SSD using UASP | Removable disk via uaspstor.sys | Group Policy deny; test the registry value |
Layer three: the drive Windows already trusts
A drive that Windows has seen before may already have a loaded driver, so a rule that governs new installations leaves it working. Remove the device in Device Manager, restart and reconnect it, or test with a drive that has never touched this PC. That is the only fair test.
Microsoft documents that device installation policies govern driver installation only, and that already-installed devices keep working until their drivers are removed. Some prevent policies include an option to apply to matching devices that are already installed, which is worth enabling when you want old drives caught as well.
Layer four: restart, leftover values and updates
After the first three layers, check whether the PC restarted, whether conflicting values remain, and whether a Windows update changed enforcement. A May 2025 update reportedly broke removable-storage Group Policy blocking on Windows 11 23H2, and current builds may differ, so a plug-in test beats trusting a setting.
The BitLocker write-protection setting adds another trap: Microsoft notes that it is ignored when Removable Disks: Deny write access is enabled, so combining them gives a result you may not expect. Keep one clear rule instead of stacking several.
If the policy is set, applied and still ignored after an update, move to the USBSTOR registry value as a fallback and retest. The step-by-step methods in the main guide list both values.
Fix-it table: symptom, cause and first fix
Match the symptom you see to its most likely cause and try the first fix before anything more drastic. Each row comes from the four-layer trace, so you can also read the table as a shortcut when you already know which layer is suspect.
| Symptom | Likely cause | First fix |
|---|---|---|
| Flash drive opens normally | No restart, or driver already loaded | Restart, then test a never-used drive |
| Phone files visible | WPD class not covered | Enable WPD Devices deny policies |
| Policy missing in gpresult | Setting never applied | Run gpupdate /force and check the branch |
| Policy shows but drive opens | Update issue or override | Read the registry value, use USBSTOR as backup |
| Only one account is blocked | User-side setting used | Use the computer branch instead |
| Fast SSD opens | UASP driver path | Use Group Policy deny or software |
| Block works then fails after an update | Enforcement changed | Retest after each major update |
A checklist to tick through
Run through this list before you give up on a block or ask for help. Six checks cover the common failures, and ticking them as you go gives you a record of what you already tried. The list is print-friendly if you work from a second screen.
0 of 6 completed
When built-in rules keep slipping
If Windows policy keeps failing on your build, a dedicated tool that enforces its own rules is a reasonable fallback. We recommend USB Block here because it uses its own password prompt and reports, and the developer says it also works on Windows Home. Test it on your Windows 11 build first.
The password prompt for unauthorized drives replaces the silent failure you get from a policy that quietly stops working. Its Reports and Logs tab keeps the last one hundred device and usage entries, so you can see whether a drive was refused.
Download packages are listed on the official download page, and installation needs administrator rights.
If a build behaves oddly, ask the developer through the developer contact page.

Questions about drives that still open
These answers cover the symptoms readers report most when a USB block seems to do nothing: restarts, phones, installed drives, policy conflicts and fast external SSDs. Each starts with the direct answer and then gives the condition behind it.
The usual causes are a missing restart, a drive whose driver Windows loaded earlier, or a setting that never applied. Restart, test with a drive you have never connected, then confirm the policy with gpresult. If the setting is applied and the drive still opens, check for a conflicting policy or a recent update.
A phone in file-transfer mode is a Windows Portable Device, which uses a different class from removable disks. Microsoft Q&A answers confirm that the removable disk rules have no effect on it. Enable the WPD Devices policies for read and write access to cover phones and cameras.
Another policy may override it, the setting may sit in the wrong branch, or an update may have broken enforcement. Reports in May 2025 described removable-storage blocking failing after update KB5060999 on Windows 11 23H2. Read the registry value directly and, if it is set but ignored, switch to the USBSTOR method.
Not reliably with driver-level rules alone. Installation restrictions govern new installs, and the USBSTOR value does not affect drives Windows has already loaded. Remove the device in Device Manager, enable the policy option that also applies to matching installed devices where offered, restart and reconnect to test.
Some drives use the USB Attached SCSI protocol, which loads uaspstor.sys instead of usbstor.sys. We found no confirmation that the USBSTOR value covers them, so do not assume it does. Use the Group Policy deny setting or a dedicated tool, and test with the actual SSD.
Want a second layer that does not depend on Windows policy? Download the free version and test it against your own build before you decide.