How to Re-enable USB Ports as the Administrator After a Working-Hours Block
Re-enabling USB ports as the administrator means restoring USB storage on a Windows 10 or Windows 11 PC after a scheduled block, a Group Policy setting or a driver switch. This page gives the order of steps and the check for each method, so your fix is not undone.
To re-enable USB storage, disable the scheduled tasks first, then set Deny_All to 0 or the USBSTOR Start value back to 3, reconnect the drive and test. Restart once if the drive stays blocked. Work in that order or the next trigger will put the block back.
| Applies to | Windows 10 22H2, Windows 11, Windows Server |
|---|---|
| Time needed | 5 to 10 minutes |
| Difficulty | Easy to moderate |
| Cost | $0 |
| Needs admin or internet | Administrator yes, internet no |
| Last verified | November 2026 |
Restore in the Right Order
To re-enable USB storage as the administrator, stop whatever can switch the lock again, then change the value, reconnect the drive and test. Doing it in that order matters, because a scheduled task that fires after your fix will put the block straight back.
This page is part of our guide to allowing USB access only during working hours. Use it when you need USB storage back for a day, a repair or the end of the rule.
Write down the current state
Run
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" /v Deny_Alland note the result. If the key is missing, nothing is set there.Stop the schedule
Open taskschd.msc and disable USB Hours Open, USB Hours Close and USB Hours Startup, or run
schtasks /change /tn "USB Hours Close" /disablefor each.Set the value
For the policy value use
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" /v Deny_All /t REG_DWORD /d 0 /f. For the driver switch usereg add "HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR" /v Start /t REG_DWORD /d 3 /f.Reconnect the drive
Unplug the drive, wait a few seconds, plug it into the same port.
Test, then decide
If the drive opens, either leave the tasks disabled or enable them again. If it does not, restart once and test again.
Re-Enable by Method: Policy, Registry, Driver and Device
Each method reverses differently: Group Policy returns to Not Configured, the registry policy value returns to 0, the USBSTOR Start value returns to 3, and a Device Manager disable is undone with Enable device. Use the same method that applied the block, or the old setting will hide your fix.
| Method that applied the block | Reverse by | Takes effect |
|---|---|---|
| Group Policy | Set All Removable Storage classes: Deny all access to Not Configured, then reconnect | Next connection or restart |
| Registry Deny_All | Set the value to 0, or delete it | Next connection or restart |
| USBSTOR Start 4 | Set Start back to 3 | Reconnect; restart if needed |
| Device Manager disable | Right-click the device and choose Enable device | Immediately |
| Filter software | Disable protection with the password, or uninstall | Immediately |
The NinjaOne guide to disabling and re-enabling USB drives confirms the Start value toggle between 4 and 3 and the Device Manager route. It also warns to take a backup before editing the registry, which applies to every step on this page.
These steps assume you are the owner or the authorised administrator. If a PC belongs to someone else and a lock stops you, ask the person who set it up. Do not bypass access controls on machines you do not control.
Recover Access to a Locked Drive or Lock Software You Own
If you locked yourself out of USB storage with software you installed, owner recovery has four steps: sign in as an administrator, check any recovery key you saved, find the licence email, and contact the vendor’s support. Each step proves ownership; none of them bypasses the lock.
USB Block’s product page says customers who lost their registration can retrieve it through a link, and describes a password prompt for unauthorised devices. Keep the password and the licence email together in your password manager. For help beyond that, contact the vendor through the NewSoftwares.net contact page.
The restore-in-reverse rule: stop the writer, change the value, reconnect the drive, test, and only then re-arm. Skipping the first step is the reason most re-enable attempts appear to fail.
Questions on this topic
Why does my USB drive still not work after I set Deny_All to 0?
A scheduled task probably set it back to 1 at the next trigger, or the drive was blocked at the driver level. Disable the tasks first, check Deny_All reads 0x0, then check the USBSTOR Start value, which should be 3. Restart once if both are correct.
Do I need to restart to re-enable USB storage?
Sometimes. Microsoft Tech Community guidance says a removable-storage policy change may not take effect until the next restart, and Microsoft’s USBSTOR article does not say either way. Try unplugging and reconnecting first, then restart if the drive stays blocked.
How do I re-enable USB ports in Device Manager?
Open Device Manager, expand Universal Serial Bus controllers or Disk drives, right-click the greyed device and choose Enable device. This undoes a single-device disable only; it does nothing for a class-wide policy or the USBSTOR switch.
What if I forgot the password of my USB blocking software?
Use the owner recovery route: find the licence or registration email, then contact the vendor’s support. The USB Block page says customers who lost their registration can retrieve it through a link. Do not try to bypass a lock on a PC you do not own.
Is it safe to leave USB storage enabled permanently?
It is safe only with other controls: standard user accounts, patched Windows and an antivirus product. If staff still need hours-based control later, re-arm the schedule rather than leaving storage open all day.
Add the approved-drive layer
USB Block adds an allow-list, a password prompt and a device log to a Windows PC. Its product page does not document a timetable, so use it beside the scheduled tasks, not instead of them. The page lists Windows 10, 8 and 7 and Windows Server 2008 to 2019.