Windows 10 and 11 · USB policy

How to Block USB Data Transfer But Allow Charging on Windows: Step-by-Step Guide 2026

You want a Windows PC where a phone can draw power from a USB port but nobody can copy files across it. That split is possible, as long as you treat three things separately: storage drives, phones that expose files, and plain power. This guide shows which settings handle each one, where they fall short, and how to confirm the result.

  • NewSoftwares.net editorial team
  • Published: November 2026
  • Last verified: November 2026
  • 14 min read

Quick answer

Block removable storage with the Group Policy setting “All Removable Storage classes: Deny all access” on Windows Pro, Enterprise or Education, or set the USBSTOR Start value to 4 on Windows Home. Neither change cuts the port’s power, so a plugged-in phone keeps charging. Phones that expose files over MTP need a separate check, and charging speed still depends on the port hardware.

At a glance
Applies toWindows 10 and 11; Group Policy needs Pro, Enterprise or Education
Time neededAbout 10 to 20 minutes per PC
DifficultyModerate: administrator account and one registry or policy edit
CostBuilt-in methods cost nothing
Needs admin or internetAdministrator rights; no internet
Last verifiedNovember 2026
USB port with data blocked and power openWINDOWS PCFILES: BLOCKEDPOWER: ONPHONE

How to Block USB Data Transfer But Allow Charging on Windows: Quick Answer

Blocking USB data transfer on Windows while allowing charging means switching off the drivers that read and write files through a port, while leaving the port’s power supply untouched. On Windows 10 and 11 that is a removable storage deny policy or the USBSTOR registry value.

Windows does not have a single “charge only” switch. It has separate drivers for mass storage (flash drives, external disks), for portable devices (phones using MTP or PTP) and for human input (keyboards, mice). Power comes from the port itself and does not depend on any of them. A Group Policy deny rule or a registry value therefore stops file access without turning the port off, which is why a phone usually keeps charging.

The storage, phone, power check

Every USB situation on a Windows PC falls into one of three layers. Settle each layer on its own and the whole job stops feeling vague. We call this the storage, phone, power check, and it is the frame the rest of this guide follows.

The storage, phone, power check
LayerWhat Windows seesWhat blocks itWhat to test
1. StorageMass storage class device: flash drive, USB disk, card readerRemovable Disks deny policies, USBSTOR Start = 4Drive never opens in File Explorer
2. PhonePortable device over MTP or PTP, sometimes a drive letterWPD deny policies, charge-only mode on the phone, or software that blocks phonesFile Explorer shows no phone storage
3. PowerNothing: the port supplies current regardless of driversOnly disabling the controller or port in Device Manager, UEFI or hardwarePhone shows a charging indicator
RuleBlock layers 1 and 2 with software or policy. Never touch layer 3 unless you want the port dead.
Storage and phone layers blocked, power layer left on1 STORAGEFlash drivesExternal disksBLOCKED2 PHONEMTP and PTP filesTest every modelBLOCK AND TEST3 POWERCharging currentPort stays enabledLEFT ON
The three layers Windows treats separately. Only layer 3 should stay untouched.

What you need before you start

  • An administrator account, plus a second administrator account you can use if the first one gets locked out of a device.
  • A System Restore point or a registry export, created before any change.
  • Your Windows edition: open Settings > System > About and read the Edition line (Home, Pro, Enterprise or Education).
  • A test flash drive and the phone model you actually want to keep charging.

Pick your path

My phone stopped charging

Risk score card: is your PC exposed through USB?

Tick every statement that is true for the PC you are protecting.

Low exposure (0 of 6 risk factors ticked)

Few open paths. A single storage block plus a log is probably enough.

Why Block USB Ports at All

A USB port is the quickest physical route for copying data off a PC or carrying malware onto it, and a Windows PC accepts almost any drive by default. Blocking storage while allowing power closes that route without taking the port away from people who only need to charge a device.

Two risks drive most USB policies. The first is data leaving: an employee, a visitor or a student copies files to a drive in under a minute, and nothing on a default Windows install records it. The second is data arriving: a drive plugged in from a home computer can carry malware, and trade writers describe USB delivery as a relatively common way to introduce it.

USB data theft and insider-risk basics

Most USB data loss is not dramatic. It is a person taking a spreadsheet home to finish work, or a contractor copying a template library. A storage block turns those moments into a visible refusal, which is often enough to start a conversation about the right sharing route. It does not replace access control on the files themselves.

How autorun malware spreads from USB drives

Malware on a removable drive spreads when the PC trusts the drive, mounts it and lets something on it run. Removable Disks has a separate “Deny execute access” setting for that reason. It stops programs from running off a drive that is allowed to mount, which is a useful middle step if a full block is not possible yet.

USB blocking on shared, school and kiosk PCs

Shared machines benefit most. A reception PC, a school lab computer and a point-of-sale kiosk all invite strangers to plug things in. These are also the machines where visitors ask to charge a phone, which is exactly the case this guide exists for.

Myth

Blocking USB storage disables the port, so nothing can charge from it.

Fact

Storage rules switch off drivers, not power. The port keeps supplying current unless you disable the controller or the hardware behind it.

Best Free Methods to Block USB Data Transfer But Allow Charging on Windows

Windows gives you four free routes: a Group Policy deny setting, the USBSTOR registry value, Device Manager and device installation rules. Only the first, second and fourth leave the port powered, and each works at a different level of control.

Method 1: Group Policy removable storage deny settings

The Removable Storage Access folder holds policies for CD and DVD, floppy, removable disks, tape and custom classes, each with deny read, write and execute options, plus one master policy named “All Removable Storage classes: Deny all access”. It is the cleanest route on Pro, Enterprise and Education because the policy is visible, reversible and ready for domain rollout. The Local Group Policy editor is not part of Windows Home.

Pros

  • Visible and easy to audit
  • One-click rollback
  • Scales to a domain

Limits

  • Not on Windows Home
  • No activity log
  • Phones in MTP mode need testing

Method 2: the USBSTOR registry value

Microsoft’s long-standing support note tells administrators to set the Start value under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR to 4 so a USB storage device does not work when connected. The default is 3. It works on every edition, which makes it the standard answer for Windows Home, and the full Home walkthrough with a rollback script lives on its own page.

Limit

If no USB storage device has ever been installed on the PC, Windows can reset the Start value to 3 the first time a drive is plugged in. Plug in a drive once before you change the value, or use a policy-based method instead.

Method 3: Device Manager

NinjaOne’s practical guide lists Device Manager as a third option, disabling entries under Universal Serial Bus controllers. We advise against it for this goal. A disabled controller can take keyboards and mice down with it, and a port with no controller may stop supplying power, which defeats the purpose. The NinjaOne walkthrough on disabling USB drives is worth reading for the registry and Group Policy steps it compares.

Method 4: device installation restrictions

Microsoft’s Intune guidance blocks USB storage indirectly. You allow only the device setup classes you name, such as keyboard and mouse, then enable “Prevent installation of devices not described by other policy settings”. Everything not on the list, including mass storage, is refused. It is powerful and easy to over-block, because a wireless receiver may need the USB Bus and HID classes added before it works again.

Step-by-Step: Block USB Data Transfer But Allow Charging on Windows

The quickest dependable sequence on Windows 10 or 11 Pro is: create a restore point, open gpedit.msc, enable the storage deny policy, restart, then test one flash drive and one phone. The same logic applies on other editions with a registry value instead.

  1. Create a restore pointSearch for “Create a restore point”, choose your system drive and select Create. Name it with today’s date so you can find it later.
  2. Open the policy editorPress Win + R, type gpedit.msc and press Enter. A missing editor means Windows Home, so use the Home method instead.
  3. Go to Removable Storage AccessOpen Computer Configuration, Administrative Templates, System, then Removable Storage Access.
  4. Enable the deny settingDouble-click “All Removable Storage classes: Deny all access”, select Enabled and press OK. For a lighter touch, enable “Removable Disks: Deny write access” so drives stay readable but nothing can be copied out.
  5. Restart and testRestart the PC, then follow the checks in the verification section below. Do not skip the phone test.
Where the removable storage policies liveComputer ConfigurationAdministrative TemplatesSystemRemovable Storage AccessAll Removable Storage classes: Deny all access
Where the deny settings sit in the policy editor.

The same policy can be written straight to the registry. This snippet sets the policy value that the editor writes, and is useful when you push settings with a script. Run it in a Command Prompt opened as administrator.

Command Prompt as administrator: deny all removable storage classes
:: apply
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" /v Deny_All /t REG_DWORD /d 1 /f

:: undo
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices" /v Deny_All /f
Tip

Deny_All set to 1 blocks removable storage for every user on the PC. A value removed or set to 0 returns the default behavior. Keep the undo line in a text file on a different computer.

Built-in Windows Methods Compared

Group Policy, the USBSTOR value, Device Manager, device installation rules and dedicated software each trade effort against control. Only Group Policy and the registry are available without extra tooling on both Pro and Home editions, with Group Policy limited to Pro-level editions.

Methods for blocking USB data while leaving the port powered
MethodDifficultyEditionKeeps chargingActivity logMain limit
Group Policy deny settingsLowPro, Enterprise, EducationYesNoNot on Home
USBSTOR Start = 4ModerateAll editionsYesNoDoes not cover phones in MTP mode
Device ManagerLowAll editionsNot reliablyNoCan disable keyboards, mice and power
Device installation rulesHighPro and above, or IntuneYesNoEasy to block input devices by accident
Dedicated software such as USB BlockLowWindows 10, 8, 7 and listed Server releasesNot documentedYesWindows 11 is not named on the product page
VerdictUse Group Policy where you can, the registry where you must, and software where you need a password, an allow list or a log.

Group Policy vs registry vs software-based control

The three families differ in who can undo them. A policy or registry value is undone by any administrator. Software with its own password can keep another administrator from switching protection off, which matters on shared PCs where several people hold admin rights.

Method decision flowWindows edition?Pro and above: policyHome: registryNeed a log or password? Add software
Choose by edition first, then by the extras you need.

USB block method picker

Which Windows edition does the PC run?
How many PCs do you manage?
Group Policy, Removable Storage Access

Open gpedit.msc and enable the removable storage deny settings. No extra software is needed unless you want logging or a password.

Windows edition note: Home versus Pro

The Local Group Policy editor ships with Pro, Enterprise and Education only. Microsoft’s Storage policy documentation lists the same three editions for RemovableDiskDenyWriteAccess, which needs Windows 10 version 1809 or later. Home users fall back to registry edits, and the Windows Home registry page covers them in full.

USB device class cheat sheet

What each USB device type needs
Device typeWindows driver familyAffected by a storage blockCharging
Flash drive, external diskUSB mass storageYes, blockedNot applicable
Android phone or tabletPortable device (MTP, PTP) or mass storageDepends on modeContinues in charge-only mode
Keyboard, mouseHuman interface deviceNoNot applicable
Printer, scannerPrinter or imaging classNoNot applicable
Webcam, headsetCamera or audio classNoNot applicable

Technical writers on the Microsoft Q&A forum and in vendor knowledge bases agree on the basic split: storage rules leave keyboards, mice and webcams alone, while charging depends on the hardware and the OS together.

Keep Your Keyboard and Mouse Working While Storage Is Blocked

Storage-only rules never touch keyboards and mice, because those use the human interface class. Trouble starts only when you disable a whole controller or use an allow-everything-else-blocked policy that forgets to list the input classes.

Allow keyboard and mouse while blocking storage

With the Group Policy and USBSTOR methods you do nothing extra. With device installation restrictions you must list the classes you want to keep. Microsoft’s example lists the keyboard class GUID {4d36e96b-e325-11ce-bfc1-08002be10318} and the mouse class GUID {4d36e96f-e325-11ce-bfc1-08002be10318}. In the same article, a Logitech wireless receiver stayed blocked until the USB Bus and Human Interface Device classes were also added, so test with the real hardware.

Common mistake

Testing on a laptop with a built-in keyboard and trackpad hides the problem. A desktop with only USB input devices is the real test, and the place where a lockout hurts.

How USB port blocking differs from disabling a single device

Disabling one device in Device Manager turns off that specific device instance. Blocking a port, or a class of devices, applies to everything of that type now and later. The first is a repair step. The second is a policy, and only the second keeps working when someone plugs in a different drive tomorrow.

When Native Settings Fall Short: The Software Option We Recommend

USB Block product box with a red shield and monitor symbol and the words Data Leak Prevention

For Windows Home PCs, shared computers and offices that want a password and a log, we recommend USB Block. The USB Block product page describes a Windows-only tool that blocks unauthorized USB drives, external drives, SD cards, discs and phones that show up as a drive.

It also lets you whitelist trusted devices, asks for a password before an unauthorized device opens, and records wrong password attempts and which device was allowed and when. Installation needs administrator rights and protects every user on the PC.

Where it helps

  • Works on Windows Home, where Group Policy is missing
  • Per-device allow list without hardware IDs
  • Reports and logs of allowed devices and wrong passwords

Limits we want you to know

  • The page lists Windows 10, 8 and 7 and Server 2008 to 2019, not Windows 11
  • Charging behavior is not documented
  • It is not antivirus, as the page itself says

USB Block Compared With Group Policy and Other Blocking Tools

Against Group Policy, USB Block’s page claims advantages on Home support, one-password access for a single trusted device, whitelisting from inside the app, one place for disc and network blocking, and logging. Group Policy wins on cost and on domain-wide rollout.

USB Block against Windows Group Policy, as the product page frames it
CapabilityGroup PolicyUSB Block
Works on Windows HomeNoYes
Allows one password-protected deviceNoYes
WhitelistingComplex, uses hardware IDsDone from the app
Blocks discs and network drivesSeparate settings for eachOne place
Logs blocked attemptsNoYes
CostIncluded with Windows Pro and aboveOne-time license
VerdictSuits managed domainsSuits Home PCs and shared PCs that need a log

An independent roundup of free USB blocking tools reviews ten options by operating system support and free-edition limits, and is a fair place to compare alternatives before you decide.

Software-Based USB Blocking Step-by-Step

With software, the job is install, set a password, switch on the storage and phone blocks, whitelist what you trust, and test with a spare drive. Run it from an administrator account, because installation requires administrator rights.

  1. Install on an administrator accountGet the Windows installer and set an authorization password when asked.
  2. Open the Control CenterTick “Block USB Devices”. Add “Block Discs and Floppy Drives” if the PC also has an optical drive.
  3. Decide on the extra blocks“Block Network Access” and “Block Non-System Drives” are optional, so switch them on only if you need them.
  4. Whitelist trusted devicesConnect each approved drive or phone and add it on the Authorized Devices tab.
  5. TestPlug in an unlisted drive and expect a password prompt. Then plug in a phone and watch the charge indicator.
USB Block Control Center tab with switches for USB devices, discs, network access and non-system drives
The Control Center tab, with each block shown as enabled or disabled.

What USB Block Offers Beyond a Plain Deny Rule

The Reports and Logs tab keeps a device report and a usage report, with a button to clear the list. Use it to see which drive was allowed and when.

Program Options holds Change Password, an optional master key and a “Protection in Safe Mode” setting that also blocks devices when Windows starts in Safe Mode. Know this before you plan to use Safe Mode as a recovery route.

Stealth mode hides the program shortcuts from the Start menu, Desktop and Control Panel, and a hotkey starts it. It reduces casual tampering. It is not a substitute for limiting who has administrator rights.

The same tab counts program deletion attempts, unauthorized uninstall attempts and invalid password attempts. Check it after a shared PC has been left unattended.

USB Block Program Options tab showing stealth, Safe Mode protection, password and hack attempt monitoring settings
Program Options: stealth, password and monitoring settings.

How to Allow Approved Drives Only

To allow only approved drives, keep storage blocked by default and add each trusted drive to an allow list. Windows does this with device installation rules matched on hardware IDs, and dedicated software does it from an authorized-devices tab.

The plain Removable Storage deny settings have no exceptions list, so a single approved drive needs the other approach. The Windows route is slow to set up and brittle when a drive is replaced. A software list is quicker to maintain. Our single approved drive walkthrough goes through both and explains what an allow list does and does not protect against.

If you want a password on the drive itself, Microsoft Q&A volunteers point to BitLocker, which is built into Windows Pro and Enterprise, as one way to require a password before an encrypted USB drive opens. The thread, is there a way to password protect USB ports, also lists several third-party control tools.

Troubleshooting a USB Block That Misbehaves

Most failures fall into five patterns: the phone will not charge, a keyboard went dead, a drive still opens, the setting reverts, or the policy editor is missing. The table pairs each with its cause and a fix.

Problem, cause and fix
ProblemLikely causeFix
Phone no longer chargesController disabled, weak cable, or a port that cuts power without a data linkRe-enable the controller, swap the cable, test another port. The charging fix page has the full test order.
Keyboard or mouse stoppedController disabled, or an allow-list policy missing the HID and USB Bus classesRe-enable the controller or add the classes, then restart.
Drive still opensPolicy not applied, or driver already loaded in this sessionRestart, then check the policy or the Start value again.
Phone still shows filesMTP or PTP uses the portable device stack, not USBSTORApply a portable device deny policy where available, or set the phone to charging only.
Start value returns to 3No USB storage driver had been installed before the editPlug in a drive once, set the value again, or switch to the policy method.
gpedit.msc not foundWindows HomeUse the registry method.

Troubleshooting checklist

0 of 5 completed

How to Verify It Worked After You Block USB Data Transfer But Allow Charging on Windows

Verification is a four-part test: a known flash drive stays closed, a phone shows charging, a phone shows no file storage, and a keyboard and mouse still work after a restart. Run all four, in that order, on the real PC.

  1. Test storageInsert a flash drive that opened normally before. Expect no drive letter in File Explorer, or an access denied message.
  2. Test powerConnect your phone with its own cable. Expect the charging indicator to appear within a few seconds.
  3. Test the phone layerOpen File Explorer, then This PC. A blocked phone shows no storage, or an error when you open it.
  4. Test input and restartConfirm the keyboard and mouse respond, restart, and repeat steps 1 to 3 once.
Verification order1 STORAGEdrive stays closed2 POWERphone charges3 PHONEno files shown4 INPUTworks after reboot
The four verification checks, in order.
Note

Charging speed is not part of a pass or fail. A phone that charges slowly on a USB 2.0 port behaves the same way with no policy applied.

Common Mistakes When You Block USB Data Transfer But Allow Charging on Windows

Disabling the USB controller

It switches off the very port you want powered and often silences keyboards and mice on the same controller.

Trusting a storage rule to cover phones

A phone in MTP mode lives outside the mass storage driver. Test the phone, do not assume.

Skipping the second administrator

A deny policy applies to every user. With one admin account and a bad edit, undoing it gets harder.

Editing USBSTOR on a clean PC

On a machine that never saw a USB drive, Windows may put the value back to 3 on first use.

Is This Enough? What Else to Do After You Block USB Data Transfer But Allow Charging on Windows

A storage block is one layer. It does not stop cloud uploads, email attachments or a device that poses as a keyboard, so pair it with drive encryption, account controls and, where records matter, a log of what was plugged in.

  • Encrypt the drives you do allow. Microsoft’s Storage policy notes describe “Deny write access to drives not protected by BitLocker” for organizations that must permit some writes.
  • Log device activity. A reports tab or event review tells you who plugged in what, which a deny rule alone never does.
  • Keep antivirus running. USB Block’s own page says it is not antivirus and advises separate protection.
  • Limit administrator rights. Anyone with admin rights can reverse a registry or policy edit.

Audit checklist

0 of 5 completed

How to Re-enable USB Ports Safely

Re-enable by reversing the exact method you used, from an administrator account, then restart. The steps differ by method, so keep a note of which one you applied on each PC.

Undo steps by method
Method usedUndo step
Group PolicySet the policy to Not configured or Disabled, then restart.
Policy registry valueDelete Deny_All or set it to 0.
USBSTOR valueSet Start back to 3.
Device ManagerRight-click the disabled controller and choose Enable device.
Dedicated softwareSign in with its password, untick the blocks or uninstall from Program Options.
Recovery note

If you own the PC and cannot sign in as an administrator, use System Restore from the recovery options or ask the person who installed the policy. Do not try to bypass a password on a PC you do not own.

USB Block Cost: What You Get and What the Store Lists

The NewSoftwares store lists USB Block at 49.95 USD as a one-time license. The product page shows a Buy Full Version button and describes the full version as removing trial reminders and limitations, but it does not state the trial length.

Built-in Windows methods cost nothing. That makes the real question one of time and features: a log, a password and a per-device allow list are what the one-time price buys. The store shows the current price before you buy.

USB Block Registered Version tab with a Buy More button and registration fields
The Registered Version tab.

Who Should Use Which Option for Blocking USB Data

Home user, one PC

Use the USBSTOR value, then test your phone. Add software only if other people use the PC.

Small office on Pro

Use Group Policy and keep a written exceptions list. Consider software if you need a log.

School or kiosk PC

Combine a storage block with a locked account and an allow list for the one drive teachers need.

Policy rollout checklist for multi-PC offices

0 of 5 completed

Office USB policy generator

Pick the options that match your rules and copy the result into your handbook.

Who does the policy cover?
Storage devices
Phone and tablet charging
Exceptions
Review
Policy text
USB policy for all office PCs:
1. Storage devices (flash drives, external disks, phones that mount as drives): blocked.
2. Keyboards, mice and headsets: allowed.
3. Phone and tablet charging: allowed, with data transfer blocked.
4. Exceptions: requested through the IT contact.
5. Review: every six months.

Frequently Asked Questions About Blocking USB Data but Keeping Charging

Block removable storage, then test a phone. On Windows Pro, Enterprise or Education, enable “All Removable Storage classes: Deny all access” in Group Policy. On Windows Home, set the USBSTOR Start value to 4. The port keeps supplying power, but a phone that exposes files over MTP needs its own check, so confirm with the actual device.

Yes. Group Policy, the USBSTOR registry value and device installation rules are all built into Windows and cost nothing. They give you no activity log, no password and no per-device allow list on Home. Paid or dedicated software only becomes worth considering when you need those extras.

On a single PC the registry route is fastest: set USBSTOR Start to 4 in an administrator session, then test a flash drive. It takes about two minutes. Group Policy is just as quick on Pro editions and is easier to undo. Either way, plan the rollback before you start.

Do not disable USB controllers in Device Manager, because keyboards and mice often sit on the same controller. Do not assume phones are covered by a storage rule. Do not apply a deny policy without a second administrator account and a restore point ready.

Plug in a known flash drive and confirm it never opens in File Explorer. Then plug in a phone and check two things: its screen shows charging, and File Explorer shows no phone storage. Restart once and repeat, because some settings apply only after sign-in or reboot.

Yes. Storage rules such as Removable Disks deny policies and the USBSTOR value target storage drivers only, so keyboards, mice and webcams keep working. The risk comes from broader methods like disabling a USB controller or blocking every non-listed device class, which can switch off input devices too.

Not by itself. Storage policies stop file access and leave the power supply alone. Charging can still fail if you disabled the controller, if the port design cuts power when no data link forms, or if the cable carries power only weakly. Test the exact port and phone you plan to use.

The registry method works on Home, because it needs no Group Policy editor. The Local Group Policy editor itself ships only with Pro, Enterprise and Education. Dedicated blocking software is the other route for Home PCs, and USB Block’s own page lists Home as supported where Group Policy is not.

Reverse whichever method you used. Set the Group Policy to Not configured, delete or zero the Deny_All value, change USBSTOR Start back to 3, or re-enable the controller in Device Manager. Sign in with an administrator account and restart afterwards so the storage driver loads again.

Yes, but not with the plain storage deny settings. You need a device allow list: Windows device installation rules matched on hardware IDs, or software with an authorized-devices list. The dedicated walkthrough on this site covers both approaches and the limits of each.

Often not. A phone in MTP or PTP mode uses the portable device stack, not the mass storage driver that USBSTOR controls. Microsoft’s own notes say portable device policies alone are not a reliable block. Switch the phone to charging only and confirm with a real test.

Group Policy deny settings and the registry values apply to Windows 10 and Windows 11. The portable device (WPD) policies need Windows 11 21H2 or later on Pro, Enterprise or Education. USB Block’s product page lists Windows 10, 8 and 7, plus several Windows Server releases, but does not name Windows 11.

The official USB Block page does not describe charging behavior at all, so any promise would be a guess. It does say phones that mount as a drive are blocked unless whitelisted. Install the trial on a spare PC, plug in your phone and watch the charging indicator before rolling it out.

No. Storage blocking leaves keyboards and similar input devices working by design, so a device that pretends to be a keyboard is not stopped. Reduce that risk with physical port control, account lockout, and endpoint tools that can allow-list hardware IDs.

Windows can record device installation events, but reading them takes manual effort and no built-in screen summarizes who plugged in what. Dedicated software with a reports tab does that for you, which is the main practical reason offices add it to the native deny policies.

In-Depth Answers to Common Variations

Is it possible to block USB data transfer but allow charging on Windows?

Yes, with the caveat that the block is a software decision and the charging is a hardware one. Windows can be told to ignore storage and phone file access, while the port keeps supplying power. Hardware varies, so a test with your phone is the only real proof.

What is the easiest way to do it?

On Pro editions the easiest route is the Group Policy deny setting, because it can be switched on and off in under a minute. On Home the easiest route is the registry value or a tool with a Control Center screen. Neither needs a restart longer than an ordinary reboot.

Can you do it for free?

Yes. Every built-in method here is free. You only pay if you choose dedicated software for a log or password.

Does anything change for 2026?

The registry value and Group Policy names in this guide have been stable for years, and Microsoft’s documentation still describes them. New in recent Windows 11 releases are the WPD policies for portable devices, which need version 21H2 or later on Pro, Enterprise or Education.

Can a phone still show files after I apply a storage rule?

Yes, if it connects in MTP or PTP mode. That is why the phone layer exists in the storage, phone, power check. Switch the phone to charging only, then test again.

Our Verdict: Block Storage, Test the Phone, Leave Power Alone

For most readers the right answer is a storage block that leaves power untouched: Group Policy on Pro editions, the USBSTOR value on Home, and a phone test either way. Add USB Block when you need a password, an allow list or a log.

Remember the three layers. Storage is easy to block, phones need their own test, and power should never be your target. Verify on the PC you actually use, write down the undo step, and keep a second administrator account.

USB Block Detailed Summary window displayed on a desktop monitor with device status and report counters

Go deeper

Fix charging problems

A three-step test for a port or phone that stopped charging.

Phone not charging after a USB block

Windows Home registry

The USBSTOR method with a backup and a rollback script.

Registry steps for Home

Allow one approved drive

Allow lists through Windows rules or software.

Whitelist one USB drive

This guide is written by the NewSoftwares.net team, the developer of USB Block. We cover free and built-in options alongside our own, and you can reach the developer through the developer contact page if something here is out of date.