Storage blocked, input devices alive
How to Block USB Storage but Keep the Keyboard and Mouse Working
Blocking USB storage while keeping a keyboard and mouse means targeting the mass-storage class instead of the port. Windows handles keyboards through a separate human interface driver, so a storage-only method leaves them running. This page shows what stays on, what turns off, and how to test.
Quick answer
Use a storage-only method: set USBSTOR Start to 4, or enable the Removable Storage Access policy. Both leave keyboards, mice and printers working. Do not disable USB controllers in Device Manager, because that can switch off the keyboard and mouse that share the port.
| Applies to | Windows 10 and Windows 11 |
|---|---|
| Time needed | About 15 minutes including the test |
| Difficulty | Beginner |
| Cost | Free for the built-in methods |
| Needs | Administrator account, a spare keyboard |
| Last verified | November 2026 |
Part of our parents’ guide to blocking USB drives. The device class cheat sheet in the main guide shows the short version of this page.
Why Storage Blocking Spares the Keyboard and Mouse
Windows loads a different driver for each kind of USB device. Flash drives use USBSTOR, while keyboards and mice use the human interface driver. Setting USBSTOR Start to 4 removes only the first, and N-able’s documentation confirms it does not affect mouse or keyboard.
The Plug-In Test: Five Devices in One Minute
After any storage block, run the plug-in test: connect five devices and compare each result to the table. It takes about a minute and catches the two common mistakes, a controller you disabled and a phone you forgot.
| Device | Expected result | If it differs |
|---|---|---|
| Flash drive | No drive letter appears | Restart and check the block |
| USB keyboard | Types normally | Re-enable the USB controller |
| USB mouse | Pointer moves | Re-enable the USB controller |
| Phone, charge only | Charges, no file access | Add the WPD Devices deny settings |
| Printer | Prints a test page | Check it is not a card reader |
| Pass mark | Storage fails, input passes. Any other pattern means a setting is too broad. | |
What Happens to Phones, Hubs and Wireless Dongles
A phone in file-transfer mode connects as a portable device using MTP or PTP, a separate class from flash drives. A Microsoft Q&A thread reports that Removable Disks policies had no effect on a phone until the WPD Devices policy was enabled.
Hubs and wireless dongles behave as their devices do. A hub passes on whatever is behind it, and a wireless receiver counts as an input device. Fortinet’s agent documentation describes the same split, with phones and cameras grouped as portable devices.
Why Device Manager Is the Wrong Tool Here
Disabling entries under Universal Serial Bus controllers in Device Manager can switch off a keyboard or mouse that shares the controller. NinjaOne’s how-to warns about this and recommends a restore point first, which is why this guide avoids the method.
If you disabled a controller and lost the keyboard, press Win + Ctrl + O to open the On-Screen Keyboard, then re-enable the controller.
Safe Order of Steps for a Storage-Only Block
- Check the accountConfirm your child is a Standard user.
- Make a restore pointSearch for Create a restore point in Start and make one.
- Apply one storage methodSet Start to 4, or enable the Removable Storage Access policy on Pro.
- RestartPolicies and driver changes apply at startup.
- Run the plug-in testCompare each device with the table above.
Storage-only checklist
If anything does not match, follow the steps for undoing the block and start again. If you are still choosing a method, compare policy, registry and software.
Questions About Keyboards, Phones and Hubs
Will a wireless keyboard dongle still work?
Yes. A wireless keyboard or mouse receiver presents itself to Windows as a human interface device, not as storage. The storage methods in this guide leave it alone. Test by typing after the restart, and keep a wired keyboard handy in case you changed the wrong setting.
Can I charge a phone but stop file transfer?
Usually. Storage blocking does not remove power from the port, so the phone charges. File transfer over MTP or PTP is a portable-device function, which needs the WPD Devices deny settings. Test with your own phone model, because behaviour differs by device.
Does a USB hub change anything?
Not for the block. Devices behind a hub follow the same rules as devices plugged in directly, so a flash drive on a hub is still blocked and a keyboard on a hub still works. Disabling the hub’s controller in Device Manager would cut off everything behind it.
What if I locked myself out of the keyboard?
Open the On-Screen Keyboard with the Win, Ctrl and O keys, or use a Bluetooth or PS/2 keyboard. Then re-enable the USB controller you disabled in Device Manager. Using the restore point you made earlier also reverses the change, which is why creating one first is worth the minute.
Do printers and webcams keep working?
Yes. Printers and webcams are not mass-storage devices, so USBSTOR and the Removable Storage policies do not touch them. A multifunction printer with a built-in card slot may expose that slot as storage, which the block would stop. Test the printer scan-to-card feature once if you rely on it.
A Storage Block With a Control Screen
USB Block blocks USB storage, discs and network drives from one Control Center and keeps a log. It is a Windows tool and its page lists Windows 10, 8 and 7.