USB Block GuideUSB Block Guide
Updated November 2026

USB Block Complete Guide 2026

Block USB storage on a Windows PC without breaking the keyboard, mouse or charging. This guide compares Group Policy, registry and software methods, gives tested steps, and shows how to undo every change.

Written by NewSoftwares.net editorial teamReviewed November 2026Reading time about 20 minutes
USB storage blocked at the port while keyboard and approved drive stay allowedUSB storage: blockedKeyboard: allowedApproved drive: allowed
Quick answer

USB block and usb blocker mean stopping removable drives from working on a Windows PC. The fastest route is Group Policy (Pro and above) or the USBSTOR registry value (every edition). Both deny storage only, keep keyboards working, and reverse in minutes. Add dedicated blocker software when you need a password prompt, an approved-drive list or a usage log.

At a glance
Best forOffices, shared PCs, kiosks and anyone protecting files from USB copying
Fastest methodLocal Group Policy: All Removable Storage classes
Works on HomeRegistry or software, not Local Group Policy
Time per PCAbout 5 minutes plus one restart
NeedsAdministrator account and a written rollback
Main riskBlocking the wrong class and losing keyboard access

USB Block — Complete Guide

A USB block is any control that stops a Windows PC from using removable storage, from a single registry value to enterprise device control. The right choice depends on your Windows edition, how many PCs you manage and whether you need logs.

People search for usb block, usb blocker and windows usb blocker with different goals. A parent wants a child's laptop to refuse unknown sticks. An office manager wants staff unable to copy client files. A school technician wants lab PCs to stay clean. All of them need the same decision: which layer of Windows will say no, and who can say yes.

This guide uses one rule throughout, the Class-First Rule. Block the class of device first, allow by identity second, and always keep a way back that does not depend on a USB device. The rule keeps keyboards working, keeps approved drives usable and keeps you from locking yourself out.

Three step class-first rule: block the class, allow by identity, keep a rollback1Block the classDeny all storage first2Allow by identityNamed drive or device ID3Keep a way backRollback that needs no USBThe class-first rule: deny the class, allow the identity, plan the exit.
The Class-First Rule in three steps.

Windows gives you five places to enforce a block, from firmware down to dedicated software. The stack below shows how they relate. Lower items in the list do more work for you, and the first two are the bluntest.

Five stacked controls from BIOS port setting up to dedicated software with allow listsBIOS or firmwareTurns the physical port on or offUSB storage driver (USBSTOR)Start = 4 stops storage devices loadingRemovable Storage Access policyDenies read, write or execute by classDevice Installation RestrictionsAllows or prevents drivers by ID or classDevice control or dedicated softwareAllow-lists, passwords and logs
Five places a USB block can be enforced, from firmware to dedicated software.

Independent roundups such as the ITPRC guide to USB port locking tools and the AIMultiple list of free USB blocking software cover the tool market. This guide focuses on the decisions behind the tools, so you can judge any of them.

Why Block USB Ports at All

USB storage is the quietest route for data to leave a PC and for malware to enter one. A 64 GB drive fits in a pocket, copies thousands of files in minutes and leaves no trace unless logging is switched on.

Insider copying

A trusted employee or contractor can copy a customer list in under a minute. Most Windows installs record nothing about it by default, because event logging for removable storage is off until you enable it. Blocking storage removes the opportunity, and logging tells you who tried.

Malware and autorun

Modern Windows no longer runs programs automatically from USB sticks, but infected shortcut files and tricked users still spread malware this way. A drive found in a car park and plugged in "to see whose it is" remains a classic entry route.

Physical access attacks

Some attacks go beyond files. Security researchers describe direct memory and rogue-device attacks that need physical port access, as discussed in this Security Stack Exchange thread. Blocking storage does not stop every one of them, which is why the "Is USB Block Enough?" section lists the limits.

Scope

This guide covers PCs you own or administer. It does not help bypass a block on someone else's computer.

Choose a Method: Group Policy, Registry or Software

Pick by edition, scale and need. Local Group Policy suits a single Pro PC, the registry suits Home, a domain policy suits many PCs, and software suits anyone who needs allow-lists, passwords or a usage log.

USB block method picker

Windows edition
How many PCs?
What else do you need?

Risk score card: is your PC exposed through USB?

Tick every statement that is true today.

Built-in Windows Methods Compared

Windows can block USB storage on its own through six mechanisms: Group Policy, two registry values, installation restrictions, Device Manager and firmware. They differ in edition support, precision and how easily you can undo them.

Decision tree choosing registry, Local Group Policy Editor or domain policy by Windows editionWhich Windows edition?HomeRegistry or softwarePro, Enterprise, EducationLocal Group Policy EditorOne PC: gpedit.mscMany PCs: GPO or Intune
Choosing a built-in method by Windows edition and scale.
Built-in Windows methods compared
MethodEditionsScopeReversibleBest for
Local Group Policy, Removable Storage AccessPro, Enterprise, EducationStorage classesYes, set to Not configuredA few Pro PCs
Registry Deny_All policy valueAll editionsStorage classesYes, delete the valueHome PCs and scripts
USBSTOR driver Start = 4All editionsStorage driverYes, set back to 3Quick lockdown
Device Installation RestrictionsPro and aboveBy ID or classYesApproved-device lists
Device Manager, disable controllerAll editionsEvery portYes, but bluntLast resort only
BIOS or UEFI port settingHardwarePhysical portsNeeds firmware accessKiosks and shared labs
VerdictBuilt-in methods are free and reliableStorage or whole portsAll reversibleNo allow-list prompts or logs

Windows edition note: Home versus Pro

Windows Home does not include gpedit.msc, so Local Group Policy steps do nothing there. The registry values behind the policy still work on Home, which is why the registry method is the universal fallback. Microsoft community answers, including this Microsoft Q&A thread on protecting USB ports, confirm that Windows itself offers no password prompt for ports, so password control needs added software.

Device classes

Block by class, never by port. The table shows which classes to deny and which to leave alone so the keyboard keeps working.

USB device class cheat sheet: what to block
DeviceWindows classDefault stance
Removable storage (flash drives, external disks)Mass storage classBlock
Keyboards, mice, game controllersHuman interface classAllow
Printers and scannersPrinter and imaging classAllow
Phones and camerasMedia transfer classDecide
Optical drives and card readersMass storage classBlock
Wi-Fi and Bluetooth donglesWireless controller classAllow

Device Installation Restrictions

This policy family lets you allow or prevent driver installation by hardware ID, setup class or instance ID. Prevent rules beat allow rules unless you configure the override, which is the common reason an "allowed" drive stays blocked. Layer rules in this order: prevent the class, allow named IDs, then test.

How USB Block Works — Step-by-Step

Both native methods follow the same path: make a restore point, apply a storage-only deny rule, restart, then test with a known drive. Group Policy takes about five minutes on a Pro PC, and the registry takes about two on any edition.

Method A: Local Group Policy (Pro, Enterprise, Education)

  1. Create a restore point

    Search for Create a restore point, choose your system drive and press Create. A restore point gives you a way back if a setting misbehaves.

  2. Open the policy editor

    Press Win + R, type gpedit.msc and press Enter. Approve the administrator prompt.

  3. Find Removable Storage Access

    Go to Computer Configuration, Administrative Templates, System, Removable Storage Access.

  4. Deny all access

    Open All Removable Storage classes: Deny all access, choose Enabled and press OK. This blocks read, write and execute for storage while leaving keyboards alone.

  5. Apply and test

    Run gpupdate /force in an administrator prompt, restart, then plug in a known drive to confirm it is refused.

Method B: Registry (every edition)

The two values below do different jobs. The policy value mirrors the Group Policy setting, and the USBSTOR value stops the storage driver loading at all. Use the policy value first because it is easier to reverse.

Registry file: deny removable storage
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices]
"Deny_All"=dword:00000001
PowerShell: stop the USB storage driver
# Run PowerShell as administrator
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" -Name "Start" -Value 4
# Roll back
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" -Name "Start" -Value 3
Warning

Editing the registry changes how Windows behaves. Export the key first, work on one PC, and keep the rollback file somewhere that is not a USB drive.

Registry snippet generator

Method
Scope
Generated .reg text

Event logging deserves a mention here. Windows does not record removable storage use unless auditing is on, and the next diagram shows the events worth watching once it is.

Timeline of USB events from plug in to unplug with Windows event IDsPlug inEvent 2003Driver loadsEvent 2100Files touchedEvent 4663UnplugEvent 2102
Windows events that mark a USB device being connected and removed.

Best Free Methods for USB Block

The best free methods are Local Group Policy, the Deny_All policy value and the USBSTOR driver switch. All three ship with Windows, none costs anything, and each can be reversed by an administrator in under five minutes.

Free articles from IT vendors walk through the same set. The NinjaOne walkthrough on disabling USB drives and the WiseTech Labs list of tools to disable USB ports both show Group Policy, registry and Device Manager routes, and they are good second opinions on the steps above.

What free methods do well

  • Cost nothing and need no install
  • Reliable at the driver level
  • Easy to script across many PCs

Where they fall short

  • No password prompt for approved drives
  • No per-drive allow-list that non-experts can manage
  • No built-in usage log without extra auditing

If the three gaps on the right matter to you, the next section compares the software options.

Which USB Blocker Software Fits? An Honest Comparison

Four approaches cover most needs: Windows policy alone, Microsoft Defender device control, a device control suite and a dedicated blocker. Score each on setup effort, allow-list control and logging before you buy anything. Then confirm your pick with a one-week trial on two PCs.

Bar comparison of setup effort, allow-list control and logging across four USB control approachesSetup effortAllow-list controlLogging detailPolicyDefenderSuiteDedicatedRelative editorial ratings from documented features; bars are not benchmark results.
Relative ratings drawn from documented features of each approach.
USB blocker approaches compared
ApproachSetup effortAllow-listPassword promptUsage logBest fit
Windows policy onlyLowLimitedNoNeeds auditingOne or two PCs
Microsoft Defender device controlMediumYesNoYesManaged fleets with Defender for Endpoint
Device control suitesHighYesVariesYesLarge organizations with IT staff
USB Block by NewSoftwares.netLowYes, authorized devices listYesYes, reports and logsSmall offices, shops and shared PCs
Our pickUSB Block for small teamsAuthorized listYesReports and logsFast setup without a domain

What to ask any vendor

Five questions separate serious tools from thin ones.

Five question vendor test for choosing USB blocker software1Scope: which device classes?2Allow-list: by drive or by ID?3Logs: who and when?4Admin recovery: without USB?5Updates: tested on new builds?
Five questions to ask before choosing a USB blocker.

Independent lists such as Gitnux best USB lock software show how crowded the field is, so use the questions to cut it down.

Why we recommend USB Block for small teams

We build it, so weigh this as a vendor view. USB Block runs on Windows 10, 8 and 7 and on Windows Server 2008 to 2019, blocks USB storage by default, keeps an authorized devices list, protects its settings with a password, and records activity in reports. It also offers a stealth option and a safe mode setting. It does not replace network or email controls, and it does not cover macOS or Linux.

Strengths

  • Simple switches for each device type
  • Approved drives by authorized list
  • Password-protected settings
  • Activity reports

Limits

  • Windows only
  • No central console for large fleets
  • Paid licence for continued use
USB Block product box from NewSoftwares.net

Software-Based USB Blocking Step-by-Step

Dedicated software follows a short path: install, set an administrator password, switch off the device types you want blocked, add approved drives, then run a three-drive test. Most setups finish in under ten minutes, and the three-drive test confirms the result.

  1. Install and set a password

    Run the installer as administrator, then create the password that will guard every setting. Store it with your other admin credentials.

  2. Open the Control Center

    The device switches list each USB category. Turn off removable storage, and leave input devices on.

  3. Review the program options

    Choose whether the tool runs visibly or in stealth mode, and note where its safe mode setting sits for recovery.

  4. Add approved drives

    Plug in each drive you trust and add it to the authorized devices list. Unknown drives stay blocked.

  5. Check the reports

    Open the reports and logs view to confirm blocked attempts are recorded.

USB Block control center with switches for each USB device type
Device switches in the control center.
USB Block program options showing stealth mode and safe mode settings
Program options for stealth and safe mode.
USB Block detailed summary diagram of connected devices
Detailed summary of connected devices.

How to Allow Approved Drives Only

Approved-only access means the block stays on and a short list of known drives is exempt. Build the list by connecting each trusted drive once, then record its owner, purchase date and purpose in an asset sheet.

Windows can allow a drive by hardware ID through Device Installation Restrictions, but the IDs are long strings that vary per model, and many cheap drives share one ID. Dedicated tools simplify this by reading the connected drive and adding it to a list.

A good list has four traits: each entry names an owner, each drive is company-issued or checked, entries expire when staff leave, and the list is reviewed monthly. Without the review, the allow-list slowly becomes a loophole.

Tip

Pair approved drives with encryption so a lost stick does not become a breach. A tool such as USB Secure adds password protection to the drive itself.

USB Block authorized devices list showing approved drives
An authorized devices list keeps approved drives separate from unknown ones.

How to Verify the Block Worked

Verification uses three test drives: one approved, one unknown and one phone or camera. Run all three after the first restart and again after each Windows update, because updates can reset driver settings, so keep each result in a short log.

Three test drives for a new block: approved, unknown and phone or cameraApproved driveOpens after the password promptUnknown driveBlocked and written to the logPhone or cameraTreated as storage if it shows a drive
The three test drives and expected results.
  • Approved drive: opens normally or after a password prompt.
  • Unknown drive: Windows or the blocker refuses access and the attempt is logged.
  • Phone or camera: follows your rule, either blocked as storage or allowed for charging.

If any result differs, record the drive, the Windows build and the time, then use the troubleshooting table.

USB Block reports and logs screen listing connection events
A reports view helps confirm blocked attempts.

Common Mistakes With USB Block

Five mistakes cause most failed rollouts: blocking by port instead of class, skipping the pilot, forgetting a rollback, ignoring Windows Home, and never reviewing the allow-list. Each is cheap to prevent with a short written plan.

Blocking the whole controller

Disabling the controller in Device Manager turns off keyboards too. Block the storage class instead.

Skipping the pilot

Test on two PCs for a week before pushing to the rest.

No written rollback

Keep reversal steps that work without a USB device.

Assuming Home has Group Policy

Home needs the registry or software route.

Mistake to avoid

Never leave the only administrator copy of the rollback on a USB drive the block will refuse.

Is USB Block Enough? What Else to Do

A USB block is not enough alone. It closes the removable storage route, but files can still leave by email, cloud sync, network shares and screenshots, so pair it with permissions, encryption and monitoring. Treat it as one control among several, never the whole plan.

MythBlocking USB stops all data leaks.
FactIt stops one route. Email and cloud upload remain open.
MythGroup Policy blocks every USB threat.
FactIt targets storage classes. Rogue input devices need separate controls.

Lock sensitive files

Password-protect folders with Folder Protect so a copied file stays unreadable.

Stop copying

Tools such as Copy Protect limit duplication of content you distribute.

Encrypt the vault

A vault like NS Vault keeps sensitive data encrypted on the PC.

USB Block: Troubleshooting & Verification

Most USB block failures trace to four causes: the policy did not apply, the wrong class was blocked, the driver was already installed, or a restart was missed. The table maps each symptom to the first fix to try.

Recovery flow: if the keyboard works revert the storage block, otherwise reset the BIOSDoes the keyboard still work?Yes: storage-only blockNo: wider block or BIOSRevert policy or Start = 3Reset BIOS to defaultsRestart after every change, then test with a known drive.
Recovery flow for a block that went wrong.
Troubleshooting table: problem, cause, fix
ProblemLikely causeFirst fix
Drive still works after policyPolicy not applied or drive already installedRun gpupdate /force, restart, then reconnect the drive
Keyboard stopped workingBlock was too wide or the controller was disabledUse an on-screen keyboard or Safe Mode, then revert the setting
Approved drive is blockedA prevent rule overrides the allow ruleEnable the override setting or add the exact hardware ID
Block lost after Windows updateA driver or policy resetReapply the value and re-test after each update
Phone no longer chargesPort or controller disabledRe-enable the controller and use a storage-only rule
Home PC has no policy editorLocal Group Policy is Pro-onlyUse the registry or software method

Questions about disabled or locked ports belong to the owner or administrator of the PC. If you are locked out of your own machine, use the recovery steps in the next section rather than any workaround.

How to Re-enable USB Ports Safely

Re-enabling means reversing exactly what you changed: set the policy to Not configured, restore the USBSTOR Start value to 3, or use the software administrator password. Restart afterward and test with a known drive. Each case below has its own steps.

Three recovery routes after a USB lockout: firmware defaults, Safe Mode and vendor support1 Firmware setupEnter BIOS or UEFI, load defaults2 Safe ModeStart Windows with minimal drivers3 Vendor supportLicence email and recovery contact
Three recovery routes when a block locks you out.

If you can still sign in as an administrator, undo the change you made. If the keyboard is blocked, boot to Safe Mode, which loads minimal drivers, and revert from there. If the setting was in firmware, load the defaults from setup.

Keep the vendor contact with your licence record so recovery help is one email away. Questions about lost passwords for software you own go to the vendor with proof of purchase, through the developer contact page.

Office USB Policy Generator

A written policy turns a technical block into a rule people can follow. Four decisions complete it: who the policy covers, which drives are approved, whether connections are logged, and how exceptions are handled. Write the four answers as one short paragraph that everyone can read.

Build your policy sentence

Approved drives
Policy text
Four stage office rollout from pilot to monthly review for a USB policyPilot2 PCs, 1 weekProveTest drives and logsPushAll PCs by groupReviewMonthly log check
A four-stage rollout from pilot to review.

The office checklist page turns this into a tick-off list for each stage, with a progress bar that keeps your place.

Block USB storage without breaking daily work

USB Block gives small teams an authorized devices list, password-protected settings and activity reports, so you can run the three-drive test and keep approved drives working.

Questions and Answers About USB Block

These answers cover the questions people ask most about blocking USB storage on Windows, from first setup to recovery. Filter by topic to jump to the group you need, and use the troubleshooting table when a symptom is specific.

What is USB Block?

USB Block is a Windows security tool from NewSoftwares.net that stops removable storage from being used on a PC unless the administrator approves it. People also use the phrase for any method that blocks USB ports, including Group Policy and registry settings, which this guide compares side by side.

How does USB Block work?

A USB blocker sits between Windows and the USB storage driver. When a drive connects, the blocker checks the device against its rules, then denies access, prompts for a password, or allows it. Policy and registry methods work at the driver or class level, while dedicated software adds allow-lists and logs.

Is USB Block safe?

Blocking USB storage is safe when you keep an administrator rollback that does not depend on a USB device. The main risks are lockouts from a wrong setting and blocking a keyboard by mistake. Test on one PC first, record the exact change, and keep a tested way to reverse it.

What is the easiest way to get started with USB Block?

Start by testing on one PC. On Windows Pro, open the Local Group Policy Editor and deny all removable storage classes. On Windows Home, use the USBSTOR registry value. Then plug in a known drive to confirm the block works before touching any other computer.

What are the common problems with USB Block?

The usual problems are a policy that never applied, a keyboard or mouse blocked by a setting that was too wide, drives already installed before the block, and a missing restart. Updates to Windows can also reset driver settings. The troubleshooting table in this guide maps each symptom to a fix.

Can I block USB storage but keep my keyboard and mouse working?

Yes. Block by device class rather than by port. Removable storage is a separate class from keyboards and mice, which use the human interface class, so storage-only rules leave input devices working. Avoid disabling the whole USB controller in Device Manager, because that turns every port off.

Does blocking USB ports stop phone charging?

Usually not. A storage-only block stops a phone from showing up as a drive, but the port still supplies power, so charging continues. A phone that connects as a media device can still be reached by some rules, so test with your own phone before relying on it.

Will USB blocking work on Windows Home?

Yes, with a different method. Windows Home has no Local Group Policy Editor, but the registry method works on every edition, and dedicated software works there too. The registry change takes effect after a restart and needs an administrator account to make and to reverse.

How do I re-enable USB ports as the administrator?

Reverse the exact change you made. For policy, set the removable storage rule to Not configured and run gpupdate. For the registry, set the USBSTOR Start value back to 3, then restart. For software, use its administrator password. If the PC is locked out, use Safe Mode or firmware defaults.

Can I allow only one approved USB drive?

Yes, with an allow-list. Windows Device Installation Restrictions can permit a specific hardware ID, and dedicated blockers keep an authorized devices list that you build by connecting each approved drive once. Everything not on the list stays blocked and can be logged.

Does a USB block stop data theft over email or the cloud?

No. A USB block closes only the removable storage route. Files can still leave through email, cloud sync, network shares or screenshots. Treat it as one control in a wider data-loss plan that includes file permissions, encryption and monitoring. Teams that want fewer gaps usually combine it with access rules and alerts.

What is the difference between disabling a USB port and blocking USB storage?

Disabling a port cuts power and data for everything plugged into it, including keyboards and printers. Blocking storage targets only drives, so other devices keep working. Storage blocking is the safer default for offices because it removes the risk without breaking daily work.

How can I check that the block really works?

Test three drives: an approved one, an unknown one, and a phone or camera that shows up as storage. The approved drive should open, the unknown one should fail or prompt, and the phone should follow your rule. Repeat after a restart and after a Windows update.

Is there a free way to block USB drives?

Yes. The Local Group Policy Editor and the registry cost nothing and ship with Windows. They lack password prompts, allow-lists and a usage log, so teams that need those usually add dedicated software. Many small offices start free, then move up once the gaps start to cost time.

Go Deeper

Four companion guides each take one question from this page further, with their own steps and tables. Pick the one that matches the problem you have today. Each page has its own steps, tables and questions, so nothing here repeats the main guide.

About this guide. Written by the NewSoftwares.net editorial team, which develops USB Block. Facts about Windows methods come from Microsoft documentation behavior and tested steps; verify settings on a test PC before wide rollout.