Skip to content
Follow
Windows

How to Deny Removable Storage Access in Windows 11

Richard
Written by
Richard
Jun 19, 2022 Updated Jul 14, 2026 3 min read
How to Deny Removable Storage Access in Windows 11
How to Deny Removable Storage Access in Windows 11

Denying removable storage access in Windows 11 stops USB drives and other portable devices from connecting to your PC.

This is a security setting that lets you control exactly what can be plugged into your computer, like USB sticks or external hard drives.

For instance, you might want to prevent employees from copying sensitive files onto a USB drive on a work computer running Windows 11 Pro.

You can use the Local Group Policy Editor for this, a tool built into Windows that helps manage computer settings.

⚡ Quick Answer

Deny access to removable storage in Windows 11 by opening gpedit.msc and navigating to Computer Configuration > System > Removable Storage Access, then enabling “All Removable Storage classes: Deny all access.” Windows Home users can achieve this via the Registry Editor at 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices.

Why Deny Removable Storage Access?

USB drives, while convenient, present a significant security risk. These drives can carry malware or viruses that infect your computer as soon as you plug them in. Restricting removable storage access in Windows 11 prevents unauthorized data copying and protects your computer from malicious files.

What Happens When You Restrict Access?

When you block removable storage access in Windows 11, your computer won’t recognize USB drives, so they won’t appear in File Explorer. You’ll see an ‘Access Denied’ message if you try to open them.

Using Group Policy to Block USB Drives

Windows 11 Pro and Enterprise users can block removable storage access, like USB drives, using the Group Policy editor. This tool lets you control who can plug in and use USB devices on your computer.

1. Press ⊞ Win+R, type gpedit.msc, and hit Enter.

Local Group Policy Editor in Windows 11
windows 11 open local group policy

2. Navigate to: Computer Configuration > Administrative Templates > System > Removable Storage Access.

3. Find All Removable Storage classes: Deny all access in the right pane.

Deny access to removable storage in Windows 11
deny access to removable storage windows 11

4. Double-click it, select Enabled, and click OK.

All removable storage classes enabled settings in Windows 11
all removable storage classes enabled

5. To revert, select Not configured.

Not configured settings for all removable storage in Windows 11
windows 11 not configured all removable storage 1

Registry Editor Method for Windows Home

Windows 11 Home users can block removable storage access, such as USB drives, by using the Registry Editor. This tool allows you to change important system settings to prevent USB devices from working on your PC.

📝Good to Know
If you have Windows 11 Home, you must use the Registry Editor.

1. Press ⊞ Win+R, type regedit, and hit Enter.

2. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices.

3. If the ‘RemovableStorageDevices’ key isn’t there, right-click ‘Windows’ in the left pane. Choose New, then Key, and name it ‘RemovableStorageDevices’.

4. Next, right-click your new key, select New, then Key, and name it ‘{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}’.

5. Right-click in the right pane, select New, then DWORD (32-bit) Value, and name it Deny_Read. Setting its value to 1 blocks reading data from the drive.

6. You can repeat this for Deny_Write if you want to block saving files to the drive.

Best Practices for Administrators

  • Always test policies on a single machine before deploying to a network.
  • Use Deny write access if you want to allow users to read files but prevent them from stealing sensitive company data.
  • Document all changes made to the registry or GPO to avoid confusion during troubleshooting.

Summary

Restricting removable storage helps prevent data loss. Whether you use the Group Policy Editor for professional editions or the Registry Editor for Home editions, you can effectively block unauthorized USB access. Always remember that these settings require administrator privileges to configure.

Can I disable USB access for specific users only?

Yes, you can use the User Configuration section in the Group Policy Editor instead of Computer Configuration. This allows you to apply the restriction to specific user accounts rather than the entire machine, ensuring that only authorized individuals can use removable storage devices on the computer.

Does disabling removable storage affect wireless mice or keyboards?

No, these policies specifically target USB mass storage class devices like flash drives and external hard drives. Your wireless mouse, keyboard, and other human interface devices (HID) will continue to function normally because they do not fall under the removable storage classification in Windows.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Enable or Disable Access to Removable Storage Devices in Windows 11
Windows How to Enable or Disable Access to Removable Storage Devices in Windows 11
How to Enable Recycle Bin for USB Drives and Other Removable Drives in Windows 11
Windows How to Enable Recycle Bin for USB Drives and Other Removable Drives in Windows 11
How to Upgrade from Windows 10 to Windows 11
Windows How to Upgrade from Windows 10 to Windows 11
How to Encrypt USB Drives in Windows 11 with BitLocker
Windows How to Encrypt USB Drives in Windows 11 with BitLocker

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *