Windows Removable Drive Control Guide

How to Block Removable Drives on Windows

Stop unknown USB flash drives, portable HDDs and SSDs, memory cards, and other removable storage from moving files on a Windows PC, while approved company media and normal USB peripherals remain usable.

  • Block all removable storage or restrict only reading or writing
  • Allow verified company drives through a trusted-device list
  • Review blocked attempts and control related transfer channels
GiliSoft USB Lock controls for blocking removable drives on Windows
GiliSoft USB Lock

Block Removable Storage Without Breaking Everyday USB Devices

Quick answerFor most Windows PCs, block the removable-storage class instead of disabling USB ports or host controllers. This can stop flash drives, portable disks, and card readers while keyboards, mice, printers, security keys, and other non-storage peripherals continue working.

A removable drive is only one type of device connected through USB. A broad port-level shutdown can also interrupt input devices, printers, cameras, license dongles, recovery media, and charging. Start by choosing the exact file operation to stop: reading from removable media, writing company files to it, using unknown drives, or all removable-storage access.

Windows can apply class-wide read, write, or all-access restrictions. GiliSoft USB Lock adds a more approachable Windows interface for trusted-drive exceptions, phone and SD-card controls, password-protected settings, and access records.

Deny writeUsers may open approved media, but cannot copy files from the PC to the drive.
Deny readUsers cannot open or import files from removable storage.
Deny all or whitelistBlock both directions, or permit only registered company drives.

Choose What Windows Should Do with Removable Drives

Do not judge the result only by drive visibility. A deny-read or deny-write policy may leave the drive letter visible in File Explorer while the restricted operation fails. Test opening a file, copying into the drive, copying out of it, reconnecting it, and restarting Windows.

Compare Ways to Block Removable Drives on Windows

OptionGood forUser experienceImportant consideration
Windows Group Policy or MDMManaged read, write, or all-access restrictionsWindows rejects the configured removable-storage operationLocal Group Policy is normally unavailable on Windows Home; policy scope must be tested carefully
Microsoft Defender Device ControlEnterprise device groups, user conditions, granular permissions, and reportingAccess can vary by device, user, and machineRequires eligible Microsoft licensing and experienced administration
Device installation restrictionsPreventing specified devices or removable-device classes from being installedWindows blocks matching device installationInstallation control is not the same as denying file access to devices already installed
Device Manager or USBSTORA coarse local block on one PCThe storage device or mass-storage driver is disabledNo approved-drive workflow, policy reporting, or useful access history
Method 1: GiliSoft USB Lock

Block Unknown Removable Drives and Keep Approved Media Working

  1. List every USB peripheral and removable drive that must continue working on the test PC.
  2. Install GiliSoft USB Lock, create the administrator password, and configure recovery information.
  3. Open USB & CD Lock, then choose the USB/SD storage and related channels to restrict.
  4. If approved storage is required, insert each verified drive and add it to the trusted-device whitelist.
  5. Reconnect an unknown drive and confirm that Windows blocks the intended read or write operation.
  6. Reconnect an approved drive, test normal access, and review the access log for both attempts.
  7. Export the tested whitelist before applying the same configuration to additional PCs.
GiliSoft USB Lock USB storage access settings
Control USB and SD storage separately from phone transfer, tethering, and CD/DVD access.
GiliSoft USB Lock approved USB drive whitelist
Register approved drives so required company media remains available.
GiliSoft USB Lock removable-storage access log
Review allowed and blocked attempts after testing the rule.
Method 2: Windows policy

Block Removable Storage with Windows Group Policy

On supported Windows editions, open the Local Group Policy Editor and go to Computer Configuration > Administrative Templates > System > Removable Storage Access. Microsoft provides separate policies for removable-disk read access, write access, and all removable-storage classes. Choose the narrowest rule that matches the requirement:

  • Removable Disks: Deny write access stops copying files from the PC to removable disks.
  • Removable Disks: Deny read access stops users opening or importing files from removable disks.
  • All Removable Storage classes: Deny all access applies a broader block across removable-media classes.
  • Managed deployment: use domain Group Policy or MDM instead of configuring each PC manually.
  1. Open gpedit.msc with administrator rights.
  2. Navigate to the Removable Storage Access policy folder.
  3. Enable the required deny-read, deny-write, or deny-all setting.
  4. Run gpupdate /force, reconnect the drive, and test both copy directions.
Method 3: simple local block

Use Device Installation Rules, Device Manager, or USBSTOR Carefully

Windows device-installation restrictions can allow or prevent devices by device ID, instance ID, or class. That is useful when the requirement is to stop hardware installation, but it is different from denying file access after a drive has already been installed. Device Manager can disable one device, while the USBSTOR service controls the Windows USB mass-storage driver. These methods do not provide a convenient trusted-drive workflow, phone-transfer rules, exception handling, or readable access history.

Avoid disabling USB host controllers unless the PC truly needs no USB devices. That can also interrupt keyboards, mice, printers, recovery media, and service equipment. Always keep a tested administrator recovery path.
GiliSoft recommendation

Use GiliSoft USB Lock When a Simple On/Off Switch Is Not Enough

GiliSoft USB Lock brings USB and SD storage control, trusted-device whitelisting, Android and iPhone transfer rules, tethering restrictions, CD/DVD controls, password-protected settings, and activity records into one Windows interface. It is the practical choice when unknown storage must be blocked but approved media and normal USB peripherals still have a job to do.

GiliSoft USB Lock software box

GiliSoft USB Lock

Download the trial and test an unknown drive, an approved drive, required peripherals, and every related transfer channel covered by your policy.

Need deployment support?

GiliSoft offers volume licensing, OEM options, and custom development for organizations with specific device-control or rollout requirements.

Contact sales@gilisoft.com

Verify Every Removable-Media Path

Test more than one flash drive. Include an external HDD or SSD, an SD-card reader, and a phone in file-transfer mode if those devices are relevant. A rule that blocks one USB mass-storage device does not automatically prove that every removable-media channel is covered.

Related Removable-Drive Control Guides

Block Removable Drives FAQ

Can I block removable drives without disabling keyboards and mice?

Yes. Apply removable-storage controls instead of disabling the USB host controller, then test every required peripheral.

Which devices count as removable drives?

Typical examples include USB flash drives, portable HDDs and SSDs, SD or microSD cards connected through readers, and some phones or cameras that expose file-transfer storage. Windows may classify different device types separately, so test each channel covered by your policy.

What is the difference between deny read, deny write, and deny all?

Deny read prevents users opening or importing files from removable storage. Deny write prevents copying files from the PC to the drive. Deny all blocks both directions.

Can approved USB drives still work when unknown storage is blocked?

Yes. Add verified company drives to the trusted-device whitelist while unknown removable storage remains restricted.

Can USB storage and phone transfer be controlled separately?

Yes. USB Lock provides separate controls for USB and SD storage, Android and iPhone data access, USB tethering, and CD/DVD media.

Is Group Policy available on every Windows edition?

The Local Group Policy Editor is normally available on Pro, Enterprise, and Education editions, not Windows Home. Managed organizations may also use MDM or Microsoft Defender Device Control where licensed.

Why can a blocked USB drive still appear in File Explorer?

Some policies deny reading or writing without removing the drive letter. The device may remain visible, but the restricted operation should fail. Test the exact action rather than checking visibility alone.

Official Windows References

Block unknown removable drives without disabling everyday peripherals

Test an unknown drive, an approved drive, both copy directions, and every USB peripheral the Windows PC still needs.