USB Block GuideUSB Block Guide
Updated November 2026

Windows USB Blocker: Setup, Allow-List and Logging

Set up a Windows USB blocker the safe way: restore point first, storage-only rule second, three-drive test third, and a rollback that never needs a USB device.

Written by NewSoftwares.net editorial teamReviewed November 2026
Monitor showing blocked and allowed device switches beside a USB connector for testingTest with three drives
Quick answer

To set up a Windows USB blocker, make a restore point, apply a storage-only deny rule with gpedit.msc or the USBSTOR registry value, restart, then test three drives. Keep a written rollback that needs no USB device.

At a glance
Time neededAbout 15 minutes per PC
Works onWindows 11, 10 and earlier
Home editionRegistry method only
Check afterEvery major Windows update
Key riskBlocking the wrong class

Before You Change Anything on Windows

Preparation takes five minutes and prevents most lockouts. Confirm your edition, confirm administrator rights, create a restore point and write the rollback first, because the rollback is the step people skip. Do it first and keep it somewhere safe.

  • Confirm you can sign in as an administrator.
  • Create a restore point and export the registry keys you will change.
  • Keep a second admin account that is not affected by the block.
  • Write the reversal steps on paper or in a document stored off the PC.
Warning

Apply the first change to a test PC, not your only machine.

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
Which method fits your Windows edition.

The Windows Walkthrough

The walkthrough has six steps: restore point, edition check, apply, refresh, test and rollback. Each step has one purpose, which makes it easy to repeat across several PCs without skipping the safety steps. Follow the order every time.

  1. Make a restore point

    Create a restore point so you can return to the exact state before the change.

  2. Check your edition

    Open Settings, System, About. Pro, Enterprise and Education include gpedit.msc, and Home does not.

  3. Apply the block

    Use the Removable Storage Access policy on Pro, or the USBSTOR Start value on any edition.

  4. Restart and refresh policy

    Run gpupdate /force and restart so the setting takes effect.

  5. Test three drives

    Connect an approved drive, an unknown drive and a phone, and record each result.

  6. Write the rollback

    Save the reversal steps somewhere that is not a USB drive.

The main guide shows the exact policy path and registry text, so this page does not repeat them.

Allow One Drive by Hardware ID

Device Installation Restrictions can permit a single drive by hardware ID while everything else stays blocked. Find the ID in Device Manager, add it to the allow list and enable the override so allow beats prevent.

  1. Find the ID

    Device Manager, Disk drives, Properties, Details, Hardware Ids.

  2. Add the allow rule

    Computer Configuration, Administrative Templates, System, Device Installation, Device Installation Restrictions.

  3. Enable the override

    Allow administrators to override Device Installation Restriction policies.

  4. Test and record

    Connect the drive and note its owner in an asset list.

Many low-cost drives report the same ID, so one allow rule can admit a whole batch. That limit is why teams that need real per-drive control choose a tool with an authorized devices list, such as the one covered in the USB Block product overview.

Log USB Activity on Windows

Windows records USB activity only after you enable the right logs. Turn on the DriverFrameworks operational log and object access auditing, then review monthly, because past connections cannot be recovered once overwritten. Set the log size large enough to hold a month.

Timeline of USB events from plug in to unplug with Windows event IDsPlug inEvent 2003Driver loadsEvent 2100Files touchedEvent 4663UnplugEvent 2102
USB events worth watching once logging is enabled.

The NinjaOne guide to disabling USB drives covers related auditing steps if you manage several machines.

Questions About Windows USB Blocker

These answers cover the questions readers ask most about windows usb blocker. Each one stands alone, so you can jump to the one you need, and the longer reasoning lives in the sections above for readers who want the full steps.

What is a Windows USB blocker?

A Windows USB blocker is any setting or program that stops Windows from using USB storage. It can be a Group Policy rule, a registry value, a device installation restriction or dedicated software. The best choice depends on your edition and on whether you need approved drives.

How do I block USB on Windows 11 and Windows 10?

The steps match on both. Use gpedit.msc on Pro, or set the USBSTOR Start value to 4 in the registry on any edition. Restart afterward and test with a known drive. Windows 11 groups the same policy under the same Removable Storage Access path.

Can I allow one USB drive on a Windows blocker?

Yes. Use Device Installation Restrictions to allow its hardware ID, and add the override that lets allow rules beat prevent rules. Because many cheap drives share an ID, a dedicated allow-list tool is more precise. Test with two drives of the same model.

How do I find a USB drive hardware ID?

Open Device Manager, expand Disk drives, open the drive properties, choose Details and select Hardware Ids. Copy the longest value. That string is what an allow rule in Device Installation Restrictions needs to match. Paste it exactly, without spaces, or the rule will not match.

Where do I see which USB drives connected?

Windows keeps connection history in the registry and in Event Viewer under the Kernel-PnP and DriverFrameworks logs, but only when those logs are enabled. Turn on auditing before you need it, since past connections may not exist. Plan to keep logs for at least ninety days.

Is it safe to edit the Windows registry for a USB block?

It is safe when you export the key first, work on one PC and keep a rollback file. A wrong value can block more than intended, so apply only the documented USBSTOR or RemovableStorageDevices values and restart to test. Document each change.

Does a Windows update undo a USB block?

Sometimes. Feature updates can reset driver start values, and policy refresh can overwrite local changes on managed PCs. Re-test after each major update and keep the reapply script nearby. Test again after the PC restarts and a user signs in, because some policy values apply only at sign-in.

Ready to test a blocker on one PC?

USB Block keeps an authorized devices list, protects its settings with a password and records activity in reports. Try it on a single test machine before you decide.

About this page. Written by the NewSoftwares.net editorial team, the developer of USB Block. Test every setting on one PC first.