Why a USB Drive Still Works After You Block USB Storage
You enabled the setting, and a flash drive opened anyway. That is a common result on shared Windows PCs, and it nearly always has a short list of causes. This page walks through seven of them, in the order that saves the most time.
Seven reasons a blocked USB drive still opens
A blocked drive that still opens usually points to one of seven causes: no restart, a reset USBSTOR value, a wrong registry path, an overriding domain policy, optical-style media, a non-storage mode, or an allow rule. Match the symptom to the row.
| Cause | What you see | Fix |
|---|---|---|
| 1. No restart | Drive opens right after the change | Restart; the policy applies afterwards |
| 2. USBSTOR value reset | Start reads 3 again | Use Deny_All or Group Policy, or set Start after a first insertion |
| 3. Wrong key or value type | Value is under a different key, or is not a DWORD | Re-create it as a DWORD at the exact path |
| 4. Overriding domain policy | PC is joined and the local setting has no effect | Ask the domain administrator which policy wins |
| 5. Optical-style media | Device shows as a CD or DVD drive | Add optical deny settings to the policy |
| 6. Non-storage mode | Phone or camera is not shown as a drive | Test each model and mode; block discs and portable devices as policy requires |
| 7. An allow rule | A device ID or class is explicitly allowed | Review Device Installation allow rules and their order |
Diagnose it in five checks
Five checks find most causes in under ten minutes: restart, sign in as a standard user, read the two registry values, confirm the edition and look for a domain policy. Run them in this order on the same PC.
Restart the PC
Do this even if you already did once. A change made after the last restart has not been applied yet.
Sign in as a standard user
Test as the person the block is for. An administrator test can mislead you about what students see.
Read the two registry values
Open Command Prompt as an administrator and run the commands below. Deny_All should read 0x1, and Start should read 0x4 if you used the driver method.
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" /v Deny_All reg query "HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR" /v Start
Confirm the edition
Press Win + R, type winver, and read the edition. Windows Home has no Local Group Policy Editor, so a Group Policy attempt there achieves nothing.
Look for a domain policy
On a joined PC, a policy from the domain can replace the local setting. Ask whoever administers the domain which policy applies to this computer.
Quick diagnosis
Did the PC restart after you changed the setting?
Is the PC joined to a school or library domain?
Does the device show up as a drive letter?
Cause 1 Restart now, then test again from a standard account.
Cause 4 A domain policy can override the local setting. Ask the domain administrator which policy wins.
Causes 2, 3 or 7 Check the registry values and any allow rules in the tables above.
Cause 5 or 6 The device is not using the storage driver. It may be a phone, a camera or optical-style media.
When you use allow rules, Windows checks them in layers, so a specific allow can win over a broad block. The diagram shows the order Microsoft documents.
Why the USBSTOR value resets
Setting USBSTOR Start to 4 stops the storage driver, but Windows may set it back to 3 when no storage device was ever installed on the PC. The value is only as reliable as the driver state beneath it.
Microsoft’s support article on the topic says the change applies when a storage device has already been installed, and ComputerHope describes the value resetting on a clean machine. For a lab image that has never seen a flash drive, the Deny_All value or Group Policy is the steadier choice. See the comparison of the three methods for how they differ.
Why a device that looks like a CD still works
Some USB drives report themselves to Windows as CD or DVD media, so storage-class rules may not catch them. Microsoft’s own AutoRun notes describe this exception, and the fix is to deny optical media as well.
Add the CD and DVD deny settings to your policy, and include a disc-style device in the five-device test described in the main guide.
Re-enable USB storage when you need it
To turn USB storage back on, sign in as an administrator, reverse the setting you made and restart. The reverse of each method is one change, and it works only on computers you administer.
Group Policy
Open gpedit.msc, go to Removable Storage Access, set All Removable Storage classes: Deny all access to Not Configured, and restart.
Deny_All registry value
Delete the Deny_All value under the RemovableStorageDevices key, or set it to 0, then restart.
USBSTOR Start value
Set Start back to 3 under the USBSTOR service key and restart.
USB Block
Open the program, enter its password, switch the protections off, and test with a flash drive.
For a wider view of the driver and policy options, NinjaOne’s guide to disabling USB drives covers the same Windows routes from a management angle.
If the block comes from USB Block and the password is lost on your own PC, contact the developer through the support page with your licence details.
Use a log to see what the drive did
Guessing at causes is slower than reading a log. USB Block records allowed devices and incorrect password attempts, which shows whether a drive was approved, refused or opened with the password.
Windows has its own trail, but it is off by default. The DriverFrameworks-UserMode Operational log records connection events once enabled. If you only need an answer for one machine, the product’s report view is faster to read.
The product page lists Windows 10, 8 and 7 and several Server editions, so test on a Windows 11 PC first.

Frequently asked questions
Why does my USB drive still open after I enabled the Group Policy setting?
The most common reason is that the PC has not restarted, because the removable storage policy does not take effect until a restart. Next check the edition, the policy state and whether a domain policy is overriding the local one. Restart first, then test from a standard account.
Why does the USBSTOR Start value keep changing back to 3?
Windows can reinstall the storage driver when no storage device has ever been installed on the PC, which resets the value. Insert a drive once so the driver exists, set Start to 4, or use the Deny_All value or Group Policy instead, which do not depend on the driver state.
Can a phone still transfer files after USB storage is blocked?
Possibly. A phone in file transfer mode may appear as a portable device instead of a drive, and behaviour depends on the model and mode. USB Block lists phones that appear as drives among what it blocks. Test your phone models on a pilot PC and write down which mode each one used.
How do I turn the block off for one day for maintenance?
Reverse the method you used while signed in as an administrator, restart, do the work, then reapply the block and restart again. Keep a note of the date and the reason. If a site needs this often, an approved drive list is a safer pattern than switching the block on and off.