USB Schedule How-ToUSB ScheduleHOW-TO See Our Top Pick →
Windows 10 and 11 · Task Scheduler method

How to Schedule When USB Ports Are Blocked: Step-by-Step Guide 2026

Windows has no setting that blocks USB storage only between set hours. You build the schedule yourself: one task shuts the USB storage driver off at closing time, a second turns it back on at opening time, and both run as SYSTEM so nobody has to be signed in.

  • By the NewSoftwares.net editorial team
  • Published November 2026
  • Last verified: November 2026
  • 18 min read
Quick answer

Create two Task Scheduler tasks that run as SYSTEM. The evening task sets the USBSTOR Start value to 4, which stops Windows loading USB storage. The morning task sets it back to 3. Neither Windows nor USB Block documents a built-in timer, so this pair of tasks is the schedule. Test with a spare drive first.

See our top recommendation →Jump to the steps

Clock face with a green blocked window and a USB plug showing an eight to eighteen hundred schedule
At a glance
Applies toWindows 10 22H2 and Windows 11 24H2 and 25H2, Home and Pro
Time neededAbout 15 minutes for the first PC
DifficultyModerate; you edit one registry value through a scheduled command
CostFree with built-in tools; USB Block is a paid add-on
Needs admin or internetAdministrator account yes; internet no
Last verifiedNovember 2026

How to Schedule When USB Ports Are Blocked: Quick Answer

To schedule when USB ports are blocked on a Windows PC, create two Task Scheduler tasks that run as SYSTEM: one sets the USBSTOR Start value to 4 at closing time, the other sets it to 3 at opening time. USB storage is then refused outside your window.

Scheduling USB port blocking means making Windows refuse USB storage during chosen hours and accept it during others. This guide covers Windows 10 version 22H2, which Microsoft stopped supporting on October 14, 2025, and Windows 11 versions 24H2 and 25H2. Windows cannot switch off a physical port from software, so the practical target is the storage driver, not the metal socket.

Pick your path

Choose what you need and jump straight to it.

If you run one home or shop PC

Two tasks are enough: block at 18:00, open at 08:00, plus a third that opens storage on demand. Windows Home can do all of it.

If you manage an office of shared PCs

Push the same two tasks with your management tool or a startup script. Group Policy can carry the deny rules, but domain computers refresh policy every 90 minutes plus up to 30 minutes of offset, so a policy flip is a poor clock. The method comparison page covers the trade-off in full: Group Policy, registry and software compared.

The block-open-rollback rule

Every schedule needs three tasks: one that blocks, one that opens, and one manual task that opens storage immediately. Skip the third and a bad time zone or a failed run can leave a PC blocked with nobody able to fix it quickly.

Why Block USB Ports at All

USB storage is blocked to stop two things: files leaving on a flash drive and malware arriving on one. Windows mounts a plugged-in drive within seconds and asks for no approval, so a single unknown stick gets the same access as your own.

Data theft by an insider rarely looks dramatic. A contractor copies a client list at lunch, or a lost drive carries a payroll file out of the building. The reverse path matters as much: a drive picked up in a car park or handed over at a trade show can carry malware that runs when a user opens a file from it. CISA’s removable-media guidance lists the NoDriveTypeAutoRun registry value set to FF as the way to switch off AutoRun for every drive type, which shows how seriously the agency treats the path. The overview of removable media risks adds background.

A timed block fits the pattern of the risk. Most copying happens when a PC is unattended, such as after hours, over lunch or during a shift change, so closing storage in those windows removes the quiet moments an opportunist needs. For lost drives, encryption is the better answer, and one write-up on why a USB drive should be password-protected explains the case.

Risk score card: is your PC exposed through USB?

Tick every statement that is true
Result: Low (0 of 9): Low exposure. A timed block is optional; keep AutoPlay off and review it twice a year.

Myth

Blocking USB ports switches the hardware off, so nothing can be plugged in.

Fact

The scheduled value stops the storage driver. The port still powers a phone, and keyboards and mice keep working.

Built-in Windows Methods Compared

Windows offers four built-in ways to restrict USB storage: the USBSTOR registry value, Removable Storage Access policies in Group Policy, Device Manager and Task Scheduler as the clock. Only the registry value flips quickly enough to follow a daily timetable.

Built-in methods for restricting USB storage on Windows 10 and 11
MethodEditionTime-based?Takes effectMain limit
USBSTOR Start value (registry)Home, Pro, EnterpriseYes, with two scheduled tasksNext time a storage device loadsA drive already mounted may keep working until removed
Removable Storage Access policiesPro, Enterprise, EducationOnly by editing the policyAfter policy refresh; Microsoft notes some need a restartPolicy lag of 90 minutes plus 0 to 30; phones need a separate WPD rule
Device Manager: disable a deviceAll editionsNo clean way to scheduleImmediately for that one devicePer device, so a new drive is not covered
Task Scheduler as the clockAll editionsYes, daily or weeklyAt the set time, even with nobody signed inRuns whatever command you give it; it blocks nothing itself
Verdict for a daily windowRegistry value plus Task SchedulerYesQuickPair it with a rollback task
Windows edition note

The Local Group Policy Editor is not included with Windows 10 or 11 Home. On Home, use the registry route. On Pro, Enterprise and Education, gpedit.msc exposes the Removable Storage Access settings, but the policy refresh lag still applies.

Admin rights and rollback

Creating tasks and editing HKLM needs an administrator. Before you start, record the current value with reg query, create a restore point, and write down which account holds the administrator rights.

Device class cheat sheet

USB devices belong to classes, and each class has its own driver. The table shows what the USBSTOR switch touches and what it leaves alone.

Grid showing storage blocked while keyboards and printers stay allowed and phones need a separate setting
The storage switch covers flash drives and disks only.
USB device classes and how a storage block treats them
DeviceDriver or classAffected by USBSTOR Start 4?What to do if it must be blocked
Flash drive or external diskMass storage (USBSTOR)YesNothing more needed
Keyboard or mouseHuman interface deviceNoLeave alone
Printer or scannerPrinter and imaging classesNoSeparate policy if required
Phone in file-transfer modeWindows Portable Devices (WPD)NoEnable the WPD deny settings
CD or DVD driveOptical classNoCD and DVD deny settings

Policy rollout checklist for multi-PC offices

Method picker

Windows edition
Situation
Are phones in scope?
Suggested method: Use two Task Scheduler tasks that set the USBSTOR Start value to 4 at closing time and 3 at opening time. This works on Home.

Step-by-Step: Schedule When USB Ports Are Blocked

Create the schedule in six steps: record the current value, choose the window, create the block task, create the open task, create a manual rollback task, then test with a spare drive. Each task runs as SYSTEM with the highest run level.

What you need before starting

  • An administrator account on Windows 10 or 11
  • A spare USB flash drive with nothing important on it
  • An elevated Command Prompt: right-click Start, then choose Terminal (Admin) or Command Prompt (Admin)
  • Ten minutes without anyone needing USB storage
  1. Record the current value

    Run the query below and write down the Start value. Windows normally ships with 3 for USB storage.

    Command Prompt (admin)
    reg query HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start
  2. Choose the window

    Pick a close time and an open time in 24-hour format, for example 18:00 and 08:00. The schtasks tool takes /st in HH:mm, and /d accepts MON to SUN in a comma list.

  3. Create the block task

    This command sets Start to 4 on weekdays at 18:00. The /ru SYSTEM option runs it without a signed-in user, and /rl HIGHEST gives it full rights.

    Block task
    schtasks /create /tn "USB Storage Block" /tr "reg add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 4 /f" /sc weekly /d MON,TUE,WED,THU,FRI /st 18:00 /ru SYSTEM /rl HIGHEST /f
  4. Create the open task

    The mirror task sets Start back to 3 at 08:00.

    Open task
    schtasks /create /tn "USB Storage Open" /tr "reg add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 3 /f" /sc weekly /d MON,TUE,WED,THU,FRI /st 08:00 /ru SYSTEM /rl HIGHEST /f
  5. Create the manual rollback

    Run the open command once with a different name and no schedule, or simply run the open task on demand with the command below. Keep it somewhere an administrator can find it.

    Run the open task now
    schtasks /run /tn "USB Storage Open"
  6. Test with a spare drive

    Run the block task by hand, plug in the spare drive and confirm it does not appear. Then run the open task and replug. Do this before the first real evening.

Flow from Task Scheduler to a registry value that changes the storage driver state
The two tasks flip one registry value.

Office USB schedule generator

Pick times and days; the commands below update as you change them.

Days
Your two commands
schtasks /create /tn "USB Storage Block" /tr "reg add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 4 /f" /sc weekly /d MON,TUE,WED,THU,FRI /st 18:00 /ru SYSTEM /rl HIGHEST /f
schtasks /create /tn "USB Storage Open" /tr "reg add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 3 /f" /sc weekly /d MON,TUE,WED,THU,FRI /st 08:00 /ru SYSTEM /rl HIGHEST /f
Twenty-four hour bar with allowed hours from 08:00 to 18:00 and blocked hours outside
A weekday window: open from 08:00, closed from 18:00.
PCs that sleep or shut down

If the PC is off at 08:00, the open task is skipped and storage stays blocked. Task Scheduler has a setting to start a missed task as soon as possible, and Microsoft documents a default delay of 10 minutes. It is off by default, so turn it on in the PowerShell version below.

PowerShell (admin), with missed-start catch-up
$act = New-ScheduledTaskAction -Execute "reg.exe" -Argument "add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 4 /f"
$trg = New-ScheduledTaskTrigger -Weekly -DaysOfWeek Monday,Tuesday,Wednesday,Thursday,Friday -At 18:00
$set = New-ScheduledTaskSettingsSet -StartWhenAvailable
Register-ScheduledTask -TaskName "USB Storage Block" -Action $act -Trigger $trg -Settings $set -User "NT AUTHORITY\SYSTEM" -RunLevel Highest

Best Free Methods to Schedule When USB Ports Are Blocked

Three free approaches work on a modern Windows PC: the USBSTOR value, the Removable Storage Access policy values, and a separate WPD rule for phones. The USBSTOR value is the only one that applies the moment a task runs.

Free ways to run a USB block on a timetable
ApproachWhat the task changesNeeds restart?Covers phones?
USBSTOR Start valueHKLM Services USBSTOR Start 4 or 3Not for new drivesNo
Deny_All policy valueRemovableStorageDevices Deny_All set to 1, then deletedMicrosoft says some policy access rights wait for a restartIncludes WPD in the all-classes setting
WPD deny valuesThe two Windows Portable Devices GUIDs, Deny_Read and Deny_WritePlan on a restartYes, phones and players
Pick this firstUSBSTOR valueNoAdd WPD rules if needed

The policy route changes the same registry keys Group Policy writes. CISA documents the all-classes switch as the Deny_All value set to 1 under the Windows RemovableStorageDevices policy key. Microsoft’s deployment notes warn that without a forced reboot, the access right does not take effect until the operating system restarts, which makes this route a weak fit for a 08:00 opening time.

Policy-style block and release (admin)
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices /v Deny_All /t REG_DWORD /d 1 /f
reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices /v Deny_All /f

Phones need extra thought. A Microsoft Q&A answer points to the WPD Devices deny settings, because the all-classes rule alone did not stop an Android phone in that thread. Test your own phone.

Software-Based USB Blocking Step-by-Step

Blocking software replaces the registry edits with a control panel, a password and a log. USB Block, documented for Windows 10, 8, 7 and Server 2008 to 2019, adds those layers but lists no timer, so the schedule still comes from Task Scheduler.

  1. Install with administrator rights

    The product page says installation needs administrator rights and that, once installed, protection covers every user on the PC.

  2. Open Control Center

    The Control Center tab lists four switches: block USB devices, block discs and floppy drives, block network access and block non-system drives.

  3. Set the password

    A password is required before an unauthorized device can be opened. Set it under Program Options and store it with your other administrator credentials.

  4. Authorize trusted devices

    Add your own drives to the Authorized Devices list so they work without a prompt.

  5. Check the logs

    The Reports and Logs tab records which devices were allowed and when, and logs wrong password attempts.

USB Block Control Center with switches for USB devices, discs, network access and non-system drives
The Control Center switches in USB Block.
USB Block program options showing stealth mode, safe mode protection and master key settings
Password and stealth settings.
No documented timer

The official page does not mention scheduling or time-based rules. The only documented way to open a window is to turn the relevant protection off and on by hand. Whether a Task Scheduler registry flip and USB Block interact cleanly is not published, so test the combination on a spare PC.

USB Block: The Always-On Layer We Recommend Alongside a Schedule

Of the options covered, we recommend USB Block for readers who want a password, an approved-drive list and an activity log behind the timetable. It does not schedule, and its Windows 11 support is not stated on the product page.

We are the developer, so weigh this as an editorial pick rather than an independent test. We have not run benchmarks and make no claim about detection or speed. What follows comes from the product page.

What it does

  • Blocks USB storage including flash drives, external drives, SD cards and phones that appear as drives, plus discs and network drives
  • Keeps a whitelist so your own devices open without a prompt
  • Asks for a password before any unauthorized device opens
  • Records allowed devices and wrong password attempts

Good for and not ideal for

Good for

  • Shared counters and small offices
  • Owners who want a visible log
  • Windows 10, 8 and 7 machines and Server 2008 to 2019

Not ideal for

  • A strict clock-driven window, since no timer is documented
  • Mac, Linux or mobile devices, which are not listed
  • Readers who need antivirus, which the page says it is not

Get USB Block →Download the Windows installer →

The product page offers a Windows download and does not state a trial length, so read the installer’s terms before you rely on it.

USB Block Control Center summary window shown on a desktop monitor with device status
USB Block summary view.
USB Block red product box with a shield and the words Data Leak Prevention

How to Allow Approved Drives Only

Allowing one approved drive means the PC blocks every storage device except those you name. Windows can do it with device installation rules, Microsoft Defender for Endpoint device control supports serial-based allow lists, and USB Block offers a whitelist.

Start with an inventory: plug each approved drive into one PC and note its brand, size and serial. Names such as Kingston DataTraveler are not unique, so an allow rule based on a model name lets every identical stick through. A rule based on the individual serial does not.

USB Block Authorized Devices tab with a list of approved devices and a remove button
The Authorized Devices list in USB Block.

An allow list and a schedule solve different problems. The schedule says when storage works at all; the allow list says which storage works when it is open. Use both on shared PCs.

Software Compared: Windows Controls, Defender Device Control and USB Block

For a timed USB block, built-in registry tasks win on cost and on timing, Defender for Endpoint device control wins on managed fleets, and USB Block wins on a simple password plus log for one PC. None is a complete answer alone.

Timed USB blocking options compared
OptionCostTime windowPassword to openActivity logAllow list
Task Scheduler plus registryFreeYes, you build itNoTask history onlyNo
Defender for Endpoint device controlManaged serviceNo timer documented in the sources we checkedPolicy-basedAudit supportedSerial-based lists
USB Block49.95 USD one-time on the storeNo timer documentedYesYesWhitelist
VerdictFree to startTask Scheduler winsUSB Block winsUSB Block winsDefender is finest-grained

For third-party reviews of USB blocking tools, see this review of USB port locking tools and this comparison of free USB blocking software. The Microsoft Q&A thread on password-protecting USB ports on Windows 11 shows the same options discussed by users.

The full side-by-side lives on its own page: Group Policy, registry and software compared.

How USB Blocking Works: Driver, Policy and Device Class

USB storage on Windows loads through the USBSTOR driver, whose registry Start value of 3 means on demand and 4 means disabled. Policy rules sit above that driver, and Group Policy delivers them on a 90 minute cycle.

Microsoft Group Policy Preference examples set HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR\Start to 4 to disable USB drives and 3 to enable them. The change affects devices that load afterwards.

The policy values live under Software\Policies\Microsoft\Windows\RemovableStorageDevices. Removable disks use the class GUID 53f5630d-b6bf-11d0-94f2-00a0c91efb8b with Deny_Read and Deny_Write DWORD values set to 1.

Computers refresh Group Policy at startup and then every 90 minutes with a random offset of 0 to 30 minutes. Running gpupdate /force triggers a refresh on one PC.

Only administrators can create tasks. A task run as SYSTEM has no interactive logon. The setting that starts a missed task defaults to off and, when on, waits ten minutes by default.

Timeline showing a 90 minute policy refresh plus up to 30 minutes of random offset
A policy change can take up to two hours to arrive.
USB Block detailed summary showing blocked and allowed device paths in a diagram
USB Block summary diagram.

Common Mistakes When You Schedule When USB Ports Are Blocked

Five mistakes cause most failed schedules: no open task, tasks tied to a signed-in user, testing with a drive that was already plugged in, disabling hubs in Device Manager and forgetting phones. Each is easy to avoid with a short test.

Creating the block task and forgetting the open task

Storage stays blocked all morning. Create both tasks in the same sitting and test both.

Running the task as your own account

A task set to run only when you are logged on skips the block at night. Use SYSTEM with the highest run level.

Testing with a drive that was plugged in before the block

A mounted drive may keep working. Unplug, run the task, then plug in.

Disabling USB hubs or controllers in Device Manager

That turns off keyboards and mice on the same controller. Change the storage driver value instead.

Leaving phones out of scope without saying so

Phones in file-transfer mode use a different class. Decide on purpose, and add the WPD deny setting if phones matter.

How to Verify It Worked After You Schedule When USB Ports Are Blocked

Verify in four checks: the task exists with Last Run Result 0x0, the registry shows Start 0x4 in the blocked window, a spare drive does not mount, and your keyboard still types. Repeat the first two after the next restart.

Verification commands
schtasks /query /tn "USB Storage Block" /v /fo list
reg query HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start

Troubleshooting a Scheduled USB Block: Cause and Fix Table

When a scheduled USB block misbehaves, the cause is usually the task account, a missed start or a drive that was already mounted. The table maps six common symptoms to a cause and a fix; the full repair guide has the detail.

Scheduled USB block problems, causes and fixes
ProblemLikely causeFix
Drives still mount in the eveningDrive was plugged in before the task ran, or the task failedUnplug, run the task by hand, check Last Run Result
Storage blocked all morningOpen task missed because the PC was asleep or offTurn on the missed-start setting or run the rollback task
Task shows 0x1 or never runsWrong path or arguments; schtasks does not check themRun the reg command by hand in an elevated prompt first
Works when you are signed in onlyTask set to run only when the user is logged onRecreate it as SYSTEM
Phone still transfers filesPhone uses the WPD class, not USBSTORAdd the WPD deny setting
Policy change arrives hours lateGroup Policy refresh runs every 90 minutes plus up to 30Run gpupdate /force or use the registry value

Seven checks, a history walkthrough and more fixes are on the repair page: fix a scheduled USB block that is not running.

How to Re-enable USB Ports Safely

To re-enable USB storage as the administrator, sign in with an administrator account, set the USBSTOR Start value back to 3 with reg add, disable the scheduled block task and replug the drive. Restart only if the drive still does not appear.

Re-enable storage (admin)
reg add HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 3 /f
schtasks /change /tn "USB Storage Block" /disable

If you cannot sign in as an administrator, the answer is account recovery with your Microsoft account or your IT contact, not a workaround. The step-by-step recovery page covers each case: re-enable blocked USB ports as the administrator.

Is This Enough? What Else to Do After You Schedule When USB Ports Are Blocked

A scheduled storage block is one layer. Add four more: turn AutoPlay off, encrypt portable drives with BitLocker To Go on Pro and above, keep a log of device use, and remember that a USB device posing as a keyboard is not storage and is not stopped.

Encryption covers the case a block cannot: a drive that leaves with the user. One walkthrough on encrypting a USB flash drive on Windows covers BitLocker. For drive-level passwords on Windows, USB Secure from NewSoftwares password-protects flash drives and external drives.

USB Block Reports and Logs tab with device report and usage report tables
The device and usage reports in USB Block.

Which Option Fits: A Decision Guide by Situation

Match the method to the PC: Task Scheduler with the registry value for a timed window on any edition, a fixed deny policy on Pro for an always-on rule, and USB Block where you also want a password and a log.

Who should use which option
UserRecommended methodDoes USB Block fit?Honest alternative
Home user on Windows HomeTask Scheduler plus USBSTOROptionalRegistry only
Small office on ProTask Scheduler plus deny policyYes, for password and logDefender device control if licensed
Counter PC with walk-up trafficFixed block, no scheduleYesHardware port locks
Mixed fleet of 50 or more PCsManaged endpoint policySingle-PC focusDefender or Intune policies

USB Block Pricing and Trial Terms

The NewSoftwares.net store lists USB Block at 49.95 USD as a one-time purchase, checked in November 2026. The product page offers a Windows download but states no trial length, and the pages we checked give no PC count or update terms.

49.95 USDOne-time, per the store
WindowsOnly platform listed
Not statedTrial length
Not statedLicence PC count

Is it worth it? If a timer is all you need, the free Task Scheduler route costs nothing. Pay for USB Block when you want a password prompt, a whitelist and a log on a PC that people other than you use.

View full version pricing →

Frequently Asked Questions About Scheduled USB Blocking

Fifteen short answers cover the questions people ask most about timing, editions, phones and recovery. Filter by topic with the buttons, or read them all; every answer is on the page without scripts.

Create two Task Scheduler tasks that run as SYSTEM. One sets the USBSTOR Start value to 4 at closing time, which stops Windows loading USB storage. The other sets it to 3 at opening time. Windows has no built-in timer for this, so the pair of tasks is the schedule. Test with a spare drive before relying on it.

Yes. Task Scheduler and the reg command are built into Windows 10 and 11, including Home, and cost nothing. You write one task to block storage and one to allow it again. What you give up compared with paid software is a password prompt, an allow list for approved drives and an activity log.

Run the two schtasks commands from the step-by-step section in an elevated Command Prompt. Each command creates one task, so the whole schedule takes under five minutes. Change the times and days, run the block task once by hand, and confirm that a spare flash drive no longer mounts before you leave the PC.

Skipping the open task is the most common one, because storage then stays blocked until someone edits the registry. Running tasks as a signed-in user, testing only with a drive that is already plugged in, and forgetting phones in file-transfer mode are the next three. Always keep a manual rollback task.

Run reg query on the USBSTOR key and look for Start 0x4 during the blocked window and 0x3 during the open window. Then plug in a spare drive: it should not appear in File Explorer while blocked. Check the task’s Last Run Result for 0x0 and confirm your keyboard still works.

Yes. The USBSTOR value only affects the USB mass storage driver, so keyboards and mice, which use the human interface class, keep working. Do not disable generic USB hubs or controllers in Device Manager, because that would take the keyboard and mouse down with the storage. The keyboard and mouse guide covers the details.

Not normally. Setting USBSTOR to 4 stops Windows from mounting storage; it does not cut power to the port, so a phone usually keeps charging. File transfer is a different matter, because phones in file-transfer mode use the Windows Portable Devices class and need their own deny setting.

Yes for the registry and Task Scheduler method. Microsoft ships the Local Group Policy Editor only with Pro, Enterprise and Education, so Home users cannot use the Removable Storage Access deny settings through gpedit.msc. The USBSTOR value and scheduled tasks work on Home because they need only the registry and the Task Scheduler service.

Sign in with an administrator account, open an elevated Command Prompt and set the value back with reg add using Start 3. Replug the drive. If a scheduled task keeps re-blocking, disable that task first. You need the machine’s own administrator login; the guide does not cover bypassing an account you do not own.

With built-in tools it is awkward: device installation restrictions can allow specific device IDs, and Microsoft Defender for Endpoint device control supports serial-based allow lists. Software such as USB Block offers a whitelist for trusted devices. A schedule is a separate layer, so combine the two if you need both.

No schedule is documented. The official USB Block page describes blocking of USB storage, discs, network drives and non-system drives, a password, a whitelist and logging, and it does not mention scheduling or time-based rules. If you need a time window, build it with Task Scheduler and treat USB Block as the always-on layer.

The product page names Windows 10, 8 and 7 and Windows Server 2008, 2012, 2016 and 2019, in 32-bit and 64-bit. It does not name Windows 11. Check the vendor before buying for a Windows 11 machine, and test the installer on a spare PC if you can.

Not reliably. Changing the USBSTOR value stops new storage from loading, but a drive Windows has already mounted may stay usable until you remove it or restart the PC. Plan the block time for after closing, and add a restart or a lock-screen routine if you need the cut-off to be exact.

By default, computers refresh Group Policy every 90 minutes with a random offset of 0 to 30 minutes, so a change can take up to two hours. Running gpupdate /force triggers a refresh on one PC. This lag is why a registry-based task suits a timed block better than a policy edit.

Yes, when the task runs as the SYSTEM account. Microsoft’s schtasks documentation says SYSTEM tasks have no interactive logon, which means they run in the background whether or not a user is signed in. A task set to run only when a user is logged on will skip the block overnight.

Netsoftwares USB Block

Netsoftwares USB Block is the Windows product USB Block, published by NewSoftwares.net. The product page lists Windows 10, 8 and 7 and Server 2008 to 2019, blocking of USB storage, discs and network drives, a password, a whitelist and logging, and no scheduling.

Its page names itself plainly: USB Block. Other products also use similar names, so check that the publisher is NewSoftwares.net before you download.

USB Malware Blocker

A USB malware blocker keeps harmful files off a PC by refusing the device, not by scanning it. USB Block’s page states it is not antivirus, so it stops an unknown drive from opening and does not clean a drive already in use.

USB Blocking Software

USB blocking software is an application that denies, allows and logs USB devices on a PC. When you compare options, check four things: password, allow list, activity log and whether a timer exists, because each product differs on the last one.

Block USB

To block USB on Windows, choose a level: the storage driver value, a Removable Storage Access policy, a blocking application, or the BIOS or UEFI setting that turns ports off at the firmware level. Only the first two can follow a schedule.

Our Verdict: Schedule With Task Scheduler, Back It With a Password Layer

For most readers, two SYSTEM tasks that flip the USBSTOR value give a reliable USB schedule at no cost, and USB Block is the right add-on if you also want a password, a whitelist and a log. Keep a manual rollback task either way.

The honest summary: Windows will not schedule USB blocking for you, and neither does the product we make. A timetable is a few lines of command, a short test and the block-open-rollback rule. Everything else is a choice about how much control and evidence you want.

Get USB Block →Back to the steps

Go deeper

This guide is published by the NewSoftwares.net team, the developer of USB Block. Free and built-in options are covered alongside our own product. To reach the developer, use the contact page.