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.

NewSoftwares.net editorial teamPublished: November 2026Last verified: November 20266 min read
Quick answerRestart the PC first, because the removable storage policy only applies after a restart. If the drive still opens, check whether a domain policy overrides the local one, whether the registry value sits under the exact key, and whether an allow rule or an optical-style device is letting it through. Test from a standard account.
Diagram of a flash drive icon passing a blocked padlock gate on a computer port
The list

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.

Seven causes, symptoms and fixes
CauseWhat you seeFix
1. No restartDrive opens right after the changeRestart; the policy applies afterwards
2. USBSTOR value resetStart reads 3 againUse Deny_All or Group Policy, or set Start after a first insertion
3. Wrong key or value typeValue is under a different key, or is not a DWORDRe-create it as a DWORD at the exact path
4. Overriding domain policyPC is joined and the local setting has no effectAsk the domain administrator which policy wins
5. Optical-style mediaDevice shows as a CD or DVD driveAdd optical deny settings to the policy
6. Non-storage modePhone or camera is not shown as a driveTest each model and mode; block discs and portable devices as policy requires
7. An allow ruleA device ID or class is explicitly allowedReview Device Installation allow rules and their order
Find yours

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.

  1. Restart the PC

    Do this even if you already did once. A change made after the last restart has not been applied yet.

  2. Sign in as a standard user

    Test as the person the block is for. An administrator test can mislead you about what students see.

  3. 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
  4. 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.

  5. 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?

Order of rules

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.

1. Instance IDmost specific2. Device IDhardware match3. Setup classdevice type4. Removablebroad ruleThe first rule that matches the device decides the result.
How Windows layers device installation rules
The driver detail

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.

Owner recovery

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.

  1. Group Policy

    Open gpedit.msc, go to Removable Storage Access, set All Removable Storage classes: Deny all access to Not Configured, and restart.

  2. Deny_All registry value

    Delete the Deny_All value under the RemovableStorageDevices key, or set it to 0, then restart.

  3. USBSTOR Start value

    Set Start back to 3 under the USBSTOR service key and restart.

  4. 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.

See what happened

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.

Download USB Block →

The product page lists Windows 10, 8 and 7 and several Server editions, so test on a Windows 11 PC first.

USB Block access log screen with buttons for viewing allowed devices and failed password attempts
Reports and logs from the product’s own screen.
Common question

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.

Keep going