Stop USB MalwareSee Our Top Pick →
USB drive stopped by a shield before it reaches a PC port

USB security guide for Windows

How to Stop Malware Spreading from USB Drives: Step-by-Step Guide 2026

Malware moves between Windows PCs on USB drives because someone opens a shortcut, not because Windows runs anything on its own. This guide blocks the route, then shows how to keep approved drives working.

NewSoftwares.net editorial teamPublished November 2026Last verified: November 202615 min read
Quick answer

To stop malware spreading from USB drives on Windows 10 and 11, block removable storage by default, allow only the drives you have named, and scan whatever you allow in. Group Policy handles this on Pro, Enterprise and Education. The USBSTOR registry value does it on every edition, Home included. Keyboards and mice keep working because both controls only touch storage.

At a glance
Applies toWindows 10 and Windows 11, all editions
Time needed15 minutes for one PC, plus a test drive
DifficultyModerate; one registry value or one policy
CostBuilt-in methods cost nothing; dedicated software is paid
NeedsAdministrator account; no internet for the built-in methods
Last verifiedNovember 2026

How to Stop Malware Spreading from USB Drives: Quick Answer

Stopping malware from spreading over USB drives means closing three doors in order: Windows mounting unknown drives, people opening files from them, and approved drives carrying something in. One storage block plus one scan habit covers most of it.

Windows 7 already turned AutoRun off for USB flash drives, and Microsoft later added the same change to XP and Vista through update KB971029. So the old “plug in and it runs” infection is mostly gone. What replaced it is quieter. A June 2026 worm campaign that Microsoft documented and BleepingComputer reported on 18 June 2026 hides your real documents on the drive, puts shortcuts with the same names in their place, and copies itself to every new drive a scheduled task notices. Nothing runs until a person double-clicks.

That changes what “stop it spreading” means. Blocking the port helps because an unmounted drive cannot be opened at all. It does not help once you allow a drive in, which is why the plan on this page has a scan step and an allow list as well as a switch.

Pick your path

What you need before you start

  • An administrator account on the PC. Standard accounts cannot change either control.
  • Your Windows edition. Open Settings, then System, then About, and read the Edition line under Windows specifications.
  • One drive you trust, for testing before and after the change.
  • A written rollback note: the value or policy you changed and what it was before.

The Block, Allow, Scan rule

Our decision rule for any USB policy: block storage by default, allow only drives you can name, scan everything you allow. If a plan skips one of the three, it has a gap.

The Block, Allow, Scan ruleBlockstorage by defaultAllowonly named drivesScanwhatever is allowed

Why Block USB Ports at All

USB drives stay a working infection route because they cross the gap between PCs that never touch the same network. Kaspersky’s removable-media research (summarised on Grokipedia) ranks the Windows LNK shortcut family among the top three USB threats since at least 2016.

People supply the missing step. In a 2016 University of Illinois experiment, researchers dropped 297 unlabelled drives around campus. Kaspersky’s write-up reports that 98 percent were picked up and at least half were plugged in. A PC that refuses to mount unknown drives removes that curiosity from the equation.

How malware moves from a USB drive to the next PCDrive plugged inuntrusted sourceShortcut openedlooks like a folderScript runswscript or cmdCopies itselfto the next driveBlock storage hereScan, ask every timeASR rule, DefenderAllow list, logging
Each stage of a typical USB infection, with the control that breaks it.

How autorun malware spreads from USB drives

AutoRun let a drive’s autorun.inf file launch a program the moment the drive appeared. Conficker used that in 2009, and Stuxnet reached its targets on USB sticks in 2010. Windows 7 removed the behavior for USB storage. One edge case remains from Microsoft’s own write-up: some “smart” drives report themselves to Windows as a CD or DVD, and the operating system trusts the hardware’s word.

USB data theft and insider-risk basics

The same drive that brings malware in can carry files out. Copying data away is a separate problem with different controls, and this guide stays on infection. If a drive is lost, the matter becomes password protection for the contents, which a tool such as USB Secure handles on its own terms.

Risk score card: is your PC exposed through USB?

Tick every statement that is true for this PC

How USB Port Blocking Differs from Disabling a Single Device

Blocking removable storage tells Windows to refuse every drive of that class. Disabling one device in Device Manager only silences that one hardware ID, and disabling a USB controller can switch off the keyboard you are typing on.

Three levels exist, and they behave differently. A storage-class control (Group Policy or the USBSTOR value) refuses mass-storage drives and leaves everything else alone. A device-level disable affects the single item you right-click. A controller-level disable removes every device on that port group, which NinjaOne’s guide warns can include the keyboard and mouse.

USB device-class cheat sheet

Which device classes a storage block touches
DeviceClassStorage block resultWhy
USB flash drive or external hard driveMass storageBlockedThis is the class the policy and the USBSTOR service target.
SD card in a USB readerMass storageBlockedThe reader presents the card as a removable disk.
Phone in file-transfer modePortable device (WPD)Policy onlyThe class “All Removable Storage classes: Deny all access” covers it; the USBSTOR value does not.
External SSD using UASPUSB Attached SCSITest itWindows loads Uaspstor.sys for these drives instead of Usbstor.sys, so the registry switch may miss them.
Keyboard and mouseHuman interface (HID)UnaffectedThey are not storage, so storage rules never see them.
Printer or scannerPrinter or imagingUnaffectedDifferent class, different driver.
Phone charging onlyPowerUnaffectedThe port still supplies power when data access is denied.

Allow keyboard and mouse while blocking storage

Use a storage-class control and nothing keyboard-shaped is ever touched. The mistake to avoid is the shortcut of disabling “USB Root Hub” or a host controller entry in Device Manager. If the keyboard is plugged into that controller, you lose it, and reaching the setting again may need a PS/2 keyboard or a remote session.

Built-in Windows Methods Compared

Windows has five built-in ways to cut USB risk, and they solve different problems. Group Policy and the registry value stop drives mounting, AutoPlay settings and Defender scans reduce what a mounted drive can do, and only dedicated software tells one drive from another.

USB control methods compared
MethodDifficultySecurityCostBest forLimitations
Group Policy: Removable Storage AccessModerateStrong; denies read, write or execute per classFree; Pro, Enterprise, EducationOne PC or a domainNo Group Policy Editor on Home; all-or-nothing by class
USBSTOR registry value (Start = 4)ModerateStrong for standard mass storageFree; every editionHome PCs and quick rolloutsDoes not cover phones in file-transfer mode; UASP drives may bypass it
Device Manager: disable a controllerEasyBluntFreeShort tests onlyCan disable the keyboard and mouse
AutoPlay set to “Ask me every time”EasyWeak on its ownFreeEveryone, as a habitDoes not stop a person opening a file
Attack surface reduction rule for USBAdvancedStrong against untrusted programs on drivesFree to set; full feature set tied to enterprise licensingManaged officesUnsigned installers on drives get blocked too
USB Block (dedicated software)EasyPer-drive control with password and logPaidPer-drive allow lists on any editionOfficial page lists Windows 10, 8 and 7; no malware scanning
VerdictGroup Policy or the registry value for a plain blockSoftware when you need approved drivesAdd scanning to any of them

USB block method picker

Your Windows edition
What you need
How many PCs

Group Policy vs registry vs software-based control

The short version: Group Policy and the registry decide whether a class of device may work, and software decides whether this particular drive may work. A fuller side-by-side, including what each does after a reboot and who can undo it, is on its own page: the three USB control layers compared.

Step-by-Step: Stop Malware Spreading from USB Drives

The built-in block takes five steps: confirm your edition, write the rollback, apply the policy or registry value, restart, and test with a drive you trust. Group Policy fits Pro, Enterprise and Education; the registry fits every edition.

  1. Confirm the edition and your rights

    Open Settings, System, About and read Edition. Microsoft ships the Local Group Policy Editor with Pro, Enterprise and Education only, so Home users go straight to the registry route. Sign in with an administrator account.

  2. Write the rollback first

    Note the current USBSTOR Start value (3 on a default install) or that the policy is “Not configured”. The undo is the same setting reversed, and you will want it on paper if a keyboard or scanner behaves oddly.

  3. Apply the block

    On Pro and above, run Win + R, type gpedit.msc, then go to Computer Configuration, Administrative Templates, System, Removable Storage Access. Enable “All Removable Storage classes: Deny all access”. Microsoft’s own example also enables “Set time (in seconds) to force reboot” so the change does not wait for a manual restart. On Home, use the PowerShell block below from a PowerShell window opened as administrator.

  4. Restart or refresh policy

    Microsoft notes that without a forced reboot the denied access does not take effect until the PC restarts. Restart the PC; on a managed machine, gpupdate /force followed by a restart is the safe pairing.

  5. Test with a known drive

    Plug in the trusted drive. It should not appear in File Explorer. Then plug in a keyboard or mouse and confirm it works. Both results together prove the block is narrow.

Registry block (PowerShell, run as administrator)
# Block standard USB mass storage
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" -Name "Start" -Value 4
Undo (restores the default value)
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" -Name "Start" -Value 3
Windows edition note

Registry edits can lock out storage you need, such as an external backup drive. Export the key or note the value before you change it, and keep one administrator session open while you test.

Group Policy deny settings, one by one

The Removable Storage Access folder holds separate Deny read, Deny write and Deny execute settings for each class, plus the single “All Removable Storage classes: Deny all access” switch. Deny execute on Removable Disks is the narrow option: files stay readable but programs on the drive cannot start. For malware, that is a useful middle step when a full block is unpopular.

Registry USBSTOR method explained

USBSTOR is the Windows service that attaches standard mass-storage drives. Start = 3 means “load on demand”; Start = 4 means disabled. The effect is wide, because every standard flash drive goes through that service, and narrow, because other device classes never do. Microsoft’s support notes describe this value for the case where a drive is already installed.

Best Free Methods to Stop Malware Spreading from USB Drives

Four free changes lower USB risk without any new software: set AutoPlay to ask, scan each drive with Microsoft Defender before opening it, include removable drives in full scans, and test the attack surface reduction rule for untrusted programs on USB.

Set AutoPlay to ask every time

Comparison roundups such as AIMultiple, Gitnux and ITPRC list paid and free blockers; none of them replaces the three built-in habits below. Open Settings, Bluetooth & devices, AutoPlay. Under Removable drive, choose “Ask me every time” or “Open folder to view files”. This keeps a fake “install” prompt from becoming the default action.

Scan a drive before you open it

In File Explorer, right-click the drive under This PC and choose Scan with Microsoft Defender; on Windows 11 it sits under Show more options. The alternative is Windows Security, Virus & threat protection, Scan options, Custom scan, then the drive letter.

Include removable drives in full scans

A full Defender scan skips removable drives by default, according to Windows Central’s walkthrough. The policy “Scan removable drives” under Microsoft Defender Antivirus, Scan, changes that for Pro and above.

Test the USB attack surface reduction rule

Microsoft’s rule “Block untrusted and unsigned processes that run from USB” works on Windows 10 version 1709 or later and stops unsigned executables on removable media from starting. Microsoft’s FAQ says the full set of rules is supported with an enterprise license, so treat this one as a managed-office option. Start in audit mode, read the events for a week, then switch to block.

ASR rule: audit first, then enforce (PowerShell, administrator)
# Audit mode: log what would be blocked
Add-MpPreference -AttackSurfaceReductionRules_Ids b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 -AttackSurfaceReductionRules_Actions AuditMode
# After a week of clean logs, enforce it
Add-MpPreference -AttackSurfaceReductionRules_Ids b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 -AttackSurfaceReductionRules_Actions Enabled

Policy rollout checklist for multi-PC offices

Office USB policy generator

Choose the settings for your policy
Generated setting list

How to Allow Approved Drives Only

Windows’ storage policies work by class, so a block that lets one named drive through needs either device installation restrictions on Pro or software that keeps an allow list. USB whitelisting is the usual name for the second route.

The idea is simple: your own drives are identified once, everything else stays blocked or asks for a password. The practical details, such as how a drive is identified and what happens when a drive’s serial number is not unique, are covered in the approved-drives walkthrough. For a single PC with a single backup drive, a plain Deny write policy is often simpler than any allow list.

The Tool We Recommend for Blocking Removable Storage

Of the options covered, we recommend USB Block’s per-drive control when you need to keep your own drives working while everything else stays locked. It is the one option here that tells drives apart.

The product is developed by NewSoftwares.net, the publisher of this guide, so weigh that. Its official page lists blocking for USB storage, discs, network drives and non-system drives, a password prompt before an unauthorized device opens, and a whitelist for your own drives and phones. Everything else in this guide works without it.

Three limits to know before you install. The official page lists Windows 10, 8 and 7 plus Windows Server 2008 to 2019, and does not mention Windows 11. It needs administrator rights to install. And it controls access; it does not scan or clean malware, so the scan step of the rule still belongs to your antivirus.

USB Block detailed summary screen showing USB, disc, network and non-system drive status
The Detailed Summary tab shows each drive class as allowed or blocked.

Software-Based USB Blocking Step-by-Step

Setting up USB Block takes about ten minutes: install with administrator rights, switch on the protections in Control Center, add your own drives on the Authorized Devices tab, set the password, then read the Reports & Logs tab after a day.

  1. Install as an administrator

    The official page says installation needs administrator rights. Install on the PC you want to protect, then restart if the installer asks.

  2. Open Control Center and tick the protections

    The switches are Block USB Devices, Block Discs & Floppy Drives, Block Network Access and Block Non-System Drives. Each shows Enabled or Disabled beside it. For this guide’s goal, start with the first two.

  3. Add your own drives

    Plug in a drive you trust and add it on the Authorized Devices tab. The same tab lets you remove an entry later with the Remove from List button.

  4. Set a program password

    On Program Options, use Change Password. The official page says a password is required before an unauthorized device can be opened.

  5. Check the logs

    Reports & Logs shows a device report and a usage report, and the tab notes that it keeps the last hundred entries. Clear it after you have recorded what you need.

USB Block Control Center with switches for USB drives, discs, network access and non-system drives
Control Center: one switch per drive class.

What USB Block Covers and What It Leaves Out

USB Block covers storage that appears as a drive: flash drives, external hard drives, SD cards, cameras and phones, plus discs, network shares and extra internal partitions. It leaves out detection and cleanup, and its official page does not list Windows 11.

Covered, per the official page

  • USB storage, including phones that appear as drives
  • CD, DVD and Blu-ray discs, floppy and Zip drives
  • Mapped network drives and shared folders reached by IP address
  • Non-system hard drives and partitions
  • A whitelist for your own drives and phones
  • A log of which device was allowed and when, plus wrong password attempts

Not covered or not stated

  • Malware scanning or removal
  • Windows 11 (the page lists Windows 10, 8 and 7)
  • Trial length and trial limits
  • Macs; this product is for Windows PCs

Best for: a Windows PC where certain drives must keep working and others must not. Not ideal for: a fleet that already runs Group Policy and needs only a blanket block.

USB Block application window displayed on a desktop monitor showing the drive status summary
The same Detailed Summary view on a desktop.

Logging and auditing USB device activity

The Reports & Logs tab lists each device by type and name, how many times it was inserted, when it was authorized, and who used it. Windows itself has no equivalent report without extra tooling, which is why audit logs are a common reason to choose software over a plain policy. For office rollouts, the audit mode of the attack surface reduction rule gives a second, event-based record.

USB Block Cost and Trial Terms

The NewSoftwares store listed USB Block at 49.95 USD as a one-time price when we checked in November 2026. The product page does not state the trial length or its limits, so confirm both before you plan a rollout.

The product page describes the full version as having no trial reminders and no limitations, which implies a restricted trial exists. It does not say how long the trial runs or what it restricts. Licence terms per PC are also not stated on the store page we read.

Is it worth it? On Windows Pro with one backup drive, a Deny write policy costs nothing and is enough. On Windows Home, or anywhere you need a named list of approved drives and a record of use, the paid tool fills a real gap.

USB Block product box with a red shield and the words Data Leak Prevention
USB Block, Data Leak Prevention edition box.

Troubleshooting: USB Drives Still Working After You Block Them

When a blocked drive still mounts, the cause is usually one of seven things: no restart, a phone or UASP drive outside the class you blocked, a user-level policy, or the wrong edition. The table gives the check and the fix for each.

Problem, cause and fix
ProblemLikely causeFix
Drive still opens after the policyThe change has not taken effect without a restartRestart; on managed PCs run gpupdate /force first
Registry value is 4 but a drive worksUASP external drives use Uaspstor.sys, not Usbstor.sysAdd the policy “All Removable Storage classes: Deny all access”, or use software
A phone still transfers filesPhones belong to the portable-device class, not USBSTORUse the all-classes policy, or WPD deny policies
Keyboard or mouse stoppedA USB controller or hub was disabled in Device ManagerRe-enable it from a working input device, then use a storage-class control instead
gpedit.msc says it cannot be foundWindows Home has no Local Group Policy EditorUse the USBSTOR registry value
Policy hits only some peoplePolicies exist under both User and Computer ConfigurationSet it under Computer Configuration so it applies to the PC
A legitimate installer will not start from a driveThe USB attack surface reduction rule blocks unsigned programsSign the installer, copy it to the PC first, or add an approved exclusion

Locked out of your own USB block settings?

If you set a password on a PC you own and forgot it, recovery runs through ownership, not workarounds: check any password manager entry, look for the licence email that came with your purchase, and contact the developer through its support contact page. A full recovery order for blocked ports is on the page about turning USB ports back on.

How to Verify It Worked After You Stop Malware Spreading from USB Drives

Verification has two halves: prove the block works on a drive, and prove it leaves your keyboard, mouse and printer alone. Run the checklist below once after any change, then keep the output of the PowerShell check as a record.

Confirmation commands (PowerShell)
# USBSTOR start type: 4 means disabled, 3 means default
Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" | Select-Object Start
# ASR rules and their actions: 1 = block, 2 = audit, 0 = off
Get-MpPreference | Select-Object -ExpandProperty AttackSurfaceReductionRules_Ids
Get-MpPreference | Select-Object -ExpandProperty AttackSurfaceReductionRules_Actions

If Start reads 4 and the test drive stays hidden, the registry route works. If the drive still opens, the drive is probably one of the classes in the cheat sheet above; the troubleshooting table names the fix.

Common Mistakes When You Stop Malware Spreading from USB Drives

Four mistakes cause most failed USB blocks: disabling controllers instead of storage, forgetting phones and UASP drives, skipping the rollback note, and treating the block as a scanner.

MistakeDisabling every entry under Universal Serial Bus controllers to “be safe”.
Do this insteadDeny the removable-storage class and leave controllers alone.
MistakeTesting only with the drive you are worried about.
Do this insteadTest with a drive you trust, so a failure points at the setting.
MistakeBelieving AutoRun is why USB malware spreads today.
RealityWindows 7 and later do not auto-run USB storage; shortcut files and clicks do the work now.
MistakeTreating a blocked port as a cleaned PC.
RealityA block stops new drives; it does nothing about malware already installed.
Common mistake

Setting the registry value on a PC that has the only copy of a backup on a USB drive. The backup job fails silently the next night. Move the job to an approved drive first.

Tip

Open File Explorer, View, Show, and turn on File name extensions and Hidden items. An infected drive often shows a shortcut named like the drive with the real folders hidden; AhnLab documented that pattern in a coin-miner campaign.

Is This Enough? What Else to Do After You Stop Malware Spreading from USB Drives

A storage block is one layer. After it, keep Microsoft Defender updated, scan every drive you allow, set AutoPlay to ask, and watch for scripting activity that does not belong, which Microsoft names as the clearest sign of the 2026 shortcut worm.

Layers after the block
LayerWhat it catchesHow often
Defender custom scan on each allowed driveKnown malware on files you are about to openEvery time a drive is plugged in
AutoPlay set to askA fake install prompt becoming the default actionOnce
Windows and Defender updatesFixes for the shortcut-parsing flaws that older USB threats usedAutomatic; check monthly
Watching wscript.exe and cscript.exe launchesScripted payloads that start after a shortcut is openedContinuous, in a managed office
Allow list and logUnknown drives and unexpected reuse of known onesReview weekly

Microsoft’s write-up on the 2026 campaign says the strongest indicators are behavioral, not signature-based. In practice that means unexpected launches of curl, PowerShell or cmd, and connections to a local Tor proxy port. A home user will rarely see these; an administrator can alert on them.

USB Blocking on Shared, School and Kiosk PCs

Shared machines need the block applied to the computer, not to one user, and a way to let a few trusted staff through. Group Policy security groups handle that; per-drive software handles the rest.

USB blocking by type of shared PC
SettingRecommended controlWhy
Home PC used by familyUSBSTOR value or Deny execute policySimple, reversible by one adult
School labComputer-level Group Policy plus a staff security groupMicrosoft’s TechNet example grants “read all” to a group and denies the rest
Public kioskAll Removable Storage classes: Deny all access, plus a locked-down accountNothing legitimate should ever mount
Small office, 5 to 20 PCsGroup Policy with a pilot group, or software with an allow listOne change, audited, with named exceptions

How to Re-enable USB Ports Safely

To turn USB storage back on, reverse your change in the order you made it: set USBSTOR Start back to 3 or set the policy to Not configured, restart, and test with a known drive. Do it only on a PC you own or administer.

If the block came from software, open the program, enter its password and switch off the protections, or uninstall it from Program Options. If an employer or school set the policy, the change belongs to their administrator. The step-by-step version, with the undo order and what to do when a keyboard stops, is on the re-enable page.

Which USB Control Fits Your Situation

One home PCRegistry value, plus Defender custom scans.
Shared family PCDeny execute policy or the registry value; AutoPlay set to ask.
Small officeGroup Policy pilot, then a named allow list in software.
School or kioskComputer-level deny-all policy with a staff exception group.
Who should use which option
ReaderRecommended methodDoes USB Block fit?Honest alternative
Windows 11 Home user with one backup driveUSBSTOR valueNot confirmed; the page lists Windows 10, 8 and 7Registry plus a Deny write habit
Windows 10 Pro admin of 10 PCsGroup PolicyYes, if you want per-drive controlDevice installation restrictions by hardware ID
Parent with a shared Windows 10 PCSoftware with a passwordYesStandard accounts for children plus the registry value
Large managed fleetIntune or Defender device controlNot designed for that scaleEnterprise tooling

Frequently Asked Questions About Stopping USB Malware

How to stop malware spreading from USB drives?

Block removable storage with Group Policy or the USBSTOR registry value, allow only drives you have named, and scan what you allow in. Restart after the change, then test with a drive you trust and confirm your keyboard still works. Pro, Enterprise and Education can use Group Policy; Home uses the registry.

Can I stop malware spreading from USB drives without paid software?

Yes. Group Policy on Pro and above, or the USBSTOR registry value on any edition, blocks storage at no cost. Add AutoPlay set to ask and a Microsoft Defender custom scan on each drive. Paid software only enters when you need a list of approved drives and a usage log.

What is the fastest way to stop malware spreading from USB drives?

Set the USBSTOR Start value to 4 in PowerShell and restart. It takes about two minutes and works on every Windows edition. Phones in file-transfer mode and UASP external SSDs may still get through, so follow it with the all-classes policy where you have Pro.

What mistakes should I avoid when I stop malware spreading from USB drives?

Avoid disabling USB controllers in Device Manager, since that can switch off your keyboard. Skip testing with the suspect drive itself, and write a rollback note before you start. Remember that a block does not clean malware already installed on the PC.

How do I check that it worked after I stop malware spreading from USB drives?

Restart, plug in a trusted drive and confirm it does not open in File Explorer. Then check a keyboard or mouse still works. In PowerShell, reading the USBSTOR Start value should return 4 if you used the registry route. The verify section lists every check.

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

Yes. Storage-class controls, meaning the Removable Storage Access policies and the USBSTOR value, only affect mass-storage drives. Keyboards and mice use the human interface class and never pass through them. Avoid disabling hubs or controllers, which is the step that can take input devices offline.

Does blocking USB ports stop phone charging?

Usually not. Denying storage access leaves the port supplying power, so a phone still charges. A phone in file-transfer mode is a portable device, covered by the all-classes policy rather than the USBSTOR value. Disabling the controller itself is the case that can cut power and data together.

Will USB blocking work on Windows Home?

Yes, through the USBSTOR registry value, which exists in every edition. Windows Home does not include the Local Group Policy Editor, so the Removable Storage Access policies are not available there. Software that keeps its own allow list also works on Home, subject to its listed Windows versions.

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

Reverse your change: set USBSTOR Start back to 3, or set the policy to Not configured, then restart and test with a known drive. If software did the blocking, enter its password and switch the protections off. The re-enable page gives the order in full.

Can I allow only one approved USB drive?

Not with the storage policies alone, because they work by class. Pro editions can use device installation restrictions by hardware ID. The simpler route is software with an allow list, such as USB Block’s whitelist for your own drives.

Does USB Block work on Windows 11?

Its official page lists Windows 10, 8 and 7 plus Windows Server 2008, 2012, 2016 and 2019, and does not mention Windows 11. Test it on a spare PC before relying on it. If you need a Windows 11 block today, use Group Policy or the registry value.

Is AutoRun still a risk on current Windows?

For USB storage, AutoRun has been off since Windows 7, so a drive no longer launches a program by itself. The risk now is a person opening a lookalike shortcut. Some drives also report themselves as a CD or DVD, which Windows treats differently.

Does Microsoft Defender scan USB drives automatically?

It protects files when they are opened, but a full scan skips removable drives by default. Run a custom scan on each drive, or enable the “Scan removable drives” policy on Pro and above. There is no per-insertion scan setting in the Windows Security app.

Does blocking USB drives remove malware already on the PC?

No. A block only stops new drives from mounting. If you suspect an infection, run a full Microsoft Defender scan and a Defender Offline scan, then apply the block. A blocked PC with an active infection will keep trying to copy itself to any drive you later allow.

Straight Answers to Related Questions

Is it possible to stop malware spreading from USB drives?

It is possible to stop most of it, though not all of it. Blocking storage removes the drive route entirely on that PC. Approved drives remain a path, so they need scanning. Network shares, email and downloads are separate routes that a USB policy never touches.

The residual risk is why this guide ends on scanning, not on the block.

What is the easiest way to stop malware spreading from USB drives?

The easiest dependable step is the single registry value, because it takes seconds and applies to every edition. The easiest habit is right-clicking each drive and choosing Scan with Microsoft Defender before opening anything on it.

Do both and you have covered the most common cases with no software purchase.

Can you stop malware spreading from USB drives for free?

Yes. Group Policy, the USBSTOR value, AutoPlay settings and Defender scans all ship with Windows. What you pay for is convenience: a named allow list, a password prompt and a log of which drive was used on which day.

If you never need those three, the free route is complete.

Do you still need a USB block on a 2026 Windows install?

A new Windows 11 install already has AutoRun off for USB storage, so no drive runs by itself. Even so, the 2026 shortcut worm shows that people double-clicking a lookalike file is enough.

A block, or at least a scan habit, matters most on shared machines and PCs that handle client files.

Our Verdict on Stopping USB Malware

For most readers, the right answer is the USBSTOR value or Group Policy, plus a Defender scan on every drive you allow. Choose software when you need a named list of approved drives, a password prompt and a record of use.

The built-in block is quick, free and reversible, and it removes the drive route from that PC. The scan habit covers the drives you let back in. What neither does is tell one trusted drive from another, which is the one job USB Block does that Windows does not. Check the Windows version it lists before you buy.

Go Deeper on Each Topic

Compare the three control layers

Group Policy, the registry value and software, side by side, with the edition test.

Compare Group Policy, registry and software

Keep your own drives working

How an allow list identifies a drive and what to do when serial numbers repeat.

Allow approved USB drives only

Turn USB storage back on

The undo order, what to do if a keyboard stops, and who may reverse a policy.

Re-enable USB ports after blocking

This guide is written by the NewSoftwares.net team, which develops USB Block. We cover free and built-in options alongside our own so you can choose with the facts in front of you. To reach the developer, use the contact page.