Windows 10 guide

How to Unblock USB Ports in Windows 10

Getting USB storage back is the same job as blocking it, run in reverse. This page gives the undo for each method, the order that avoids surprises and the recovery route if a keyboard or mouse stopped working along the way.

Editorial teamNovember 20265 min readLast verified: November 2026
Quick answer

Sign in as an administrator, set Deny all access to Not Configured, set the USBSTOR Start value back to 3, remove the Deny_All value and re-enable any disabled hub in Device Manager. Restart afterwards, then test a spare drive.

At a glance
GoalRestore access to flash drives
NeedsAdministrator account and a restart
Time5 to 10 minutes
RiskLow if you reverse in order
Parent guideBlock USB ports in Windows 10
Open padlock with a switched-on toggle and a registry value cardA large open padlock sits above an on toggle, with a USB port on the left and a small settings card on the right.
Undo order

Reverse in the order you blocked

Undo the newest change first and work back to the oldest. This keeps each step independent: a re-enabled hub is useless while the storage driver is still disabled, and a driver set back to 3 does nothing while a policy still denies access. Reversing in order also makes a mistake easy to spot.

Reverse a USB block in the opposite orderFour layers numbered from the policy at the top to the hardware at the bottom, with a note to undo them in reverse order.4Hardware or BIOSPort on first3Device ManagerEnable controller2Registry valuesStart back to 31Policy or softwareRemove the ruleBlock in the order 1 to 4, undo in the order 4 to 1. Skipping a layer is how people lose a keyboard.
  1. Device Manager first

    Open Device Manager, expand Universal Serial Bus controllers, right-click each disabled entry and choose Enable device. Skip this step if you never touched it.

  2. Registry policy values

    Under HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices, delete Deny_All or set it to 0, and do the same for any Deny_Read, Deny_Write or Deny_Execute values.

  3. The storage driver value

    Under HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR, set Start back to 3, which is the default on-demand setting.

  4. Group Policy last

    In the Local Group Policy Editor, open each setting you enabled under Removable Storage Access and select Not Configured. Do not leave a setting on Disabled unless you want that explicit state.

  5. Restart and test

    Restart, plug in a spare drive and confirm it mounts with a drive letter.

Command Prompt (administrator)
:: Restore the storage driver to its default
reg add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 3 /f
:: Remove the deny-all policy value if present
reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices /v Deny_All /f
By method

Undo table for every method

Each method has one exact reversal. Group Policy returns to Not Configured, the USBSTOR value returns to 3, policy registry values are deleted, and Device Manager entries are enabled again. Blocking software is switched off from its own window with its password. The table lists the check that proves each undo worked.

How to reverse each method and prove it
Method usedUndoProof it worked
Group PolicySet to Not Configuredgpresult no longer lists it
USBSTOR Start = 4Set to 3Drive letter appears
Deny_All valueDelete or set to 0Access-denied message gone
Device Manager hubEnable deviceEntry has no down arrow
Device ID restrictionsSet policies to Not ConfiguredUnlisted drive installs
Blocking softwareDisable protection with the passwordDrive opens without a prompt
USB Block Authorized Devices tab with a list of approved drives and a remove button
Software keeps its own approved-drive list, separate from Windows settings.
Recovery

Recovering when the keyboard or mouse stopped

If the keyboard stopped, a USB root hub or host controller was probably disabled. Switch to a PS/2 or Bluetooth keyboard if you have one, or start Windows recovery, open System Restore and choose the restore point made before the change. After the PC boots, re-enable the controller and restart.

Some PCs offer a USB switch in BIOS or UEFI; if that was changed, reopen setup at startup and restore the default. A BIOS password is a separate protection and is worth a look at a guide to BIOS password security before you rely on it.

Quick tip

Keep a second administrator account and a restore point from before any change. Together they cover almost every lockout.

If the drive still refuses to open after all steps, the causes list works through what might remain, including phones and policy overrides.

Software

Switching blocking software off with its password

Blocking software is switched off from its own control window, normally with the password you set at install. If you have lost the password, use the vendor's recovery route and proof of purchase rather than a workaround. The developer provides a lost-registration link and a contact page for that purpose.

The product page describes a password prompt for opening unauthorized devices and logging of wrong attempts, so repeated guesses will appear in the log. Contact the developer with your licence details if you are locked out of your own PC.

Questions

Questions about getting USB access back

Check each place in turn: gpedit.msc for the Removable Storage Access settings, the USBSTOR Start value, the RemovableStorageDevices policy key and the disabled entries in Device Manager. Undo every one you find, restart, and test a drive. If blocking software is installed, open it and switch protection off.

That message is what Deny all access produces: Windows detects the drive but refuses it. Set the policy to Not Configured or delete the Deny_All value, then restart. If the message appears for only some drives, a device-installation restriction or a write-deny rule may be responsible instead.

Use a PS/2 or Bluetooth device if one is available, or boot into the Windows recovery environment and restore the restore point. A disabled root hub is the usual cause. Once the system starts, re-enable each disabled controller in Device Manager and restart.

Yes. Restart after reversing any method, because the storage driver and the policy are read at startup. Group Policy can also refresh with gpupdate /force, but a restart is the surer route. Test with a spare drive once the PC is back, and only then remove your safety copies.

No. Every method requires administrator rights to change HKLM or machine policy, which is the reason the block works against ordinary users in the first place. Ask an administrator, or sign in to an administrator account you control. If you have lost that access, use the official recovery routes.

Use the vendor's own recovery route rather than a workaround. The USB Block page mentions a Lost Registration link for licence recovery, and the developer's support contact page handles other cases. Proof that you own the PC and the licence is the usual requirement. Do not use cracked tools.

Need more than the built-in tools?

If you want to keep blocking but let one trusted drive through, an approved-drive list avoids switching the whole block on and off.