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.
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.
| Best for | Offices, shared PCs, kiosks and anyone protecting files from USB copying |
|---|---|
| Fastest method | Local Group Policy: All Removable Storage classes |
| Works on Home | Registry or software, not Local Group Policy |
| Time per PC | About 5 minutes plus one restart |
| Needs | Administrator account and a written rollback |
| Main risk | Blocking 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.
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.
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.
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.
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.
| Method | Editions | Scope | Reversible | Best for |
|---|---|---|---|---|
| Local Group Policy, Removable Storage Access | Pro, Enterprise, Education | Storage classes | Yes, set to Not configured | A few Pro PCs |
| Registry Deny_All policy value | All editions | Storage classes | Yes, delete the value | Home PCs and scripts |
| USBSTOR driver Start = 4 | All editions | Storage driver | Yes, set back to 3 | Quick lockdown |
| Device Installation Restrictions | Pro and above | By ID or class | Yes | Approved-device lists |
| Device Manager, disable controller | All editions | Every port | Yes, but blunt | Last resort only |
| BIOS or UEFI port setting | Hardware | Physical ports | Needs firmware access | Kiosks and shared labs |
| Verdict | Built-in methods are free and reliable | Storage or whole ports | All reversible | No 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.
| Device | Windows class | Default stance |
|---|---|---|
| Removable storage (flash drives, external disks) | Mass storage class | Block |
| Keyboards, mice, game controllers | Human interface class | Allow |
| Printers and scanners | Printer and imaging class | Allow |
| Phones and cameras | Media transfer class | Decide |
| Optical drives and card readers | Mass storage class | Block |
| Wi-Fi and Bluetooth dongles | Wireless controller class | Allow |
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)
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.
Open the policy editor
Press Win + R, type
gpedit.mscand press Enter. Approve the administrator prompt.Find Removable Storage Access
Go to Computer Configuration, Administrative Templates, System, Removable Storage Access.
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.
Apply and test
Run
gpupdate /forcein 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.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices]
"Deny_All"=dword:00000001
# 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 3Editing 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.
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.
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.
| Approach | Setup effort | Allow-list | Password prompt | Usage log | Best fit |
|---|---|---|---|---|---|
| Windows policy only | Low | Limited | No | Needs auditing | One or two PCs |
| Microsoft Defender device control | Medium | Yes | No | Yes | Managed fleets with Defender for Endpoint |
| Device control suites | High | Yes | Varies | Yes | Large organizations with IT staff |
| USB Block by NewSoftwares.net | Low | Yes, authorized devices list | Yes | Yes, reports and logs | Small offices, shops and shared PCs |
| Our pick | USB Block for small teams | Authorized list | Yes | Reports and logs | Fast setup without a domain |
What to ask any vendor
Five questions separate serious tools from thin ones.
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

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.
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.
Open the Control Center
The device switches list each USB category. Turn off removable storage, and leave input devices on.
Review the program options
Choose whether the tool runs visibly or in stealth mode, and note where its safe mode setting sits for recovery.
Add approved drives
Plug in each drive you trust and add it to the authorized devices list. Unknown drives stay blocked.
Check the reports
Open the reports and logs view to confirm blocked attempts are recorded.



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.
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.

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.
- 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.

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.
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.
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.
| Problem | Likely cause | First fix |
|---|---|---|
| Drive still works after policy | Policy not applied or drive already installed | Run gpupdate /force, restart, then reconnect the drive |
| Keyboard stopped working | Block was too wide or the controller was disabled | Use an on-screen keyboard or Safe Mode, then revert the setting |
| Approved drive is blocked | A prevent rule overrides the allow rule | Enable the override setting or add the exact hardware ID |
| Block lost after Windows update | A driver or policy reset | Reapply the value and re-test after each update |
| Phone no longer charges | Port or controller disabled | Re-enable the controller and use a storage-only rule |
| Home PC has no policy editor | Local Group Policy is Pro-only | Use 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.
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.
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.