USB Schedule How-ToUSB ScheduleHOW-TO See Our Top Pick →

Fix a Scheduled USB Block That Is Not Running (Seven Checks)

A scheduled block fails in a small number of ways, and each one leaves a clear trace in Task Scheduler or the registry. Work through the seven checks in order and you will find the break in a few minutes.

  • By the NewSoftwares.net editorial team
  • Last verified: November 2026
Quick answer

Open Task Scheduler, find the task, and read its Last Run Result. 0x0 means the command ran, so look at the registry value and at drives that were already mounted. Any other code means the command or the account is wrong. Fix the account first, then the command.

Task Scheduler window with a failed run flag beside a registry key
At a glance
Applies toWindows 10 and 11, Home and Pro
Time needed10 minutes
DifficultyEasy
CostFree
Needs adminYes
Last verifiedNovember 2026

Seven Checks for a USB Block Task That Is Not Running

Check the account, the trigger, the command, the missed start, the mounted drive, the policy conflict and the history log, in that order. The first two explain most failures.

  1. Confirm the task exists and is enabled

    Open Task Scheduler and look for the task name in the library. A greyed icon means it is disabled.

  2. Check the account

    On the General tab, the task should run as SYSTEM and not depend on a signed-in user. Tick the highest privileges box.

  3. Check the trigger

    Look at the days and the start time in 24-hour form. A trigger set to 6:00 PM works; one set to 6:00 AM does not do what you meant.

  4. Run the command by hand

    Paste the exact command into an elevated prompt. If it fails there, it will fail in the task.

  5. Check the missed-start setting

    A PC that slept through the time will skip the task unless the start-when-available option is on.

  6. Check for a mounted drive

    Remove the test drive, run the task, then plug it back in.

  7. Check for a conflicting rule

    A Group Policy or endpoint tool can overwrite the value. Query the key right after the task runs, then again an hour later.

Checklist flow of seven checks for a USB block task that is not running
The seven checks as a flow.
Read the result from the command line
schtasks /query /tn "USB Storage Block" /v /fo list
Named framework: the seven-check ladder

Go top to bottom and stop at the first check that fails. Skipping ahead is how people fix the wrong thing twice.

Read Task Scheduler History to See What Happened

History is switched off on many PCs. Turn it on in the Actions pane, then run the task once and read the rows for the start, action and completion events.

With history on, each run leaves a short trail: the task was triggered, the action started, the action completed. A missing completed row means the command did not finish.

Task history rows showing started, action started and completed events with a failure row
Rows to look for in the History tab.
What Last Run Result codes usually mean
CodeMeaningNext move
0x0The command returned successCheck the registry value and mounted drives
0x1The command returned an errorRun the command by hand
0x41301The task is still runningWait, then check again
0x41303The task has not yet runCheck the trigger time

If the task shows success and the value is right, the remaining culprit is almost always a drive that was already in use.

Failure Patterns We See Most Often

Four patterns explain nearly every broken schedule: a wrong account, a sleeping PC, a quoting slip in the command and a second tool fighting the value. Each has a distinct fingerprint.

The account pattern

A task created from a normal prompt without the SYSTEM option inherits your own sign-in. It then runs only while you are signed in, so the evening block never fires on a PC left at the sign-in screen. The fix is to delete the task and recreate it with the user option set to SYSTEM.

The sleeping PC pattern

Laptops and tidy office PCs sleep or shut down overnight. A morning open task cannot run on a machine that is off, so storage stays blocked until someone wakes it and the missed task is made up. Turn on the start-when-available setting for the open task, and keep the manual rollback close to hand.

The quoting pattern

The command inside the task is a string inside a string. A stray quote mark moves part of the registry command into the wrong place, and the task still saves without complaint. Compare your command with the working version in the main guide, character by character.

The second tool pattern

Endpoint protection, a management agent or a startup script can write the same key. If the value changes back within minutes of your task, look for another writer, not for a fault in the schedule.

Editing the task while it is running

Change a task only when its status is Ready. Editing during a run can leave the old action in place and waste an evening of testing.

Questions About Tasks That Do Not Run

Six short answers cover the questions we see most often about failing USB block tasks.

Usually the drive was already mounted when the task ran. Changing the USBSTOR value stops new storage from loading, and a mounted drive can keep working until it is removed or the PC restarts. Unplug the drive, run the task by hand, then plug it in again and watch whether it appears.

A non-zero result means the command returned an error. Task Scheduler does not check your command when you create the task, so a wrong path or quote only shows up at run time. Paste the reg command into an elevated prompt, run it, and read the exact error it prints.

It was probably set to run only when the user is logged on. Recreate it with the SYSTEM account so it runs in the background whether or not anyone is signed in, and give it the highest run level. Then lock the screen, wait for the trigger time and check the registry value.

Yes for the open task. If the PC was off at the scheduled time, the setting that starts a task when available runs it after the next boot. It is off by default, and Microsoft documents a ten minute default delay when it is on, so allow for that before you test the morning case.

Run the open task by hand with schtasks /run and its name, or set the USBSTOR Start value back to 3 from an elevated prompt. Then unplug and replug the drive. If the block returns within minutes, another tool or policy is writing the same value, so look for it.

Some endpoint tools watch security-related keys and may revert or log the change. Check the tool’s event log if the value reads 3 when you expect 4, and read the vendor’s documentation on exclusions before you add one. Do not turn protection off just to make a test pass.

After the fix: keep the schedule healthy

Return to the main guide for the full schedule: how to schedule when USB ports are blocked. Other pages: frequently asked questions and our recommendation. If you want a password and a log behind your schedule, read about USB Block; to protect the data on a drive that leaves the building, see USB Secure.

Get USB Block →

This guide is published by the NewSoftwares.net team, the developer of USB Block. We recommend our own product alongside other methods. Recommendations reflect our editorial assessment.