Source: Windows Central
On Windows 10, if a USB or another supported port is available on the computer, users can connect removable storage devices (such as USB flash drives, external hard drives, and other types of mass storage devices) to access or export data.
Although it's a common practice to use removable drives, there are times when you may want to restrict access to these types of devices. For instance, you may want to disable access to prevent users from connecting foreign devices, which may contain malware that can harm the computer or make it more difficult to install applications from unknown sources.
Or if the device stores sensitive data, disabling read and write access to removable storage devices can help lock-down the system to stop users from trying to make a copy of certain information, improving security – even if the data is stored in the network.
Regardless of the reason, Windows 10 includes settings that allow you to disable access to all removable storage devices using the Local Group Policy Editor or Registry.
In this Windows 10 guide, we'll walk you through the steps to disable read and write access for all removable storage device classes.
- How to disable all removable storage access using Group Policy
- How to disable all removable storage access using Registry
How to disable all removable storage access using Group Policy
On Windows 10 Pro (Enterprise or education), the easiest way to prevent users from accessing removable storage is using the Local Group Policy Editor.
To disable removable storage access on Windows 10, use these steps:
- Open Start.
- Search for gpedit.msc and click OK to open the Local Group Policy Editor.
Browse the following path:
Computer Configuration > Administrative Templates > System > Removable Storage Access
On the right side, double-click the All Removable Storage classes: Deny all access policy.
Source: Windows Central
Select the Enabled option.
Source: Windows Central
- Click the Apply button.
- Click the OK button.
- Restart your computer.
Once you complete the steps, Windows 10 will deny access to removable storage classes, including USB flash drives, USB external hard drives, physical discs (such as CD and DVD), and other storage that falls into the removable class.
If you change your mind, you can always revert the changes using the same instructions, but on step No. 5, make sure to select the Not Configured option.
How to disable all removable storage access using Registry
Windows 10 Home doesn't include access to the Local Group Policy Editor, but you can achieve the same results by modifying the Registry.
Warning: This is a friendly reminder that editing the Registry is risky, and it can cause irreversible damage to your installation if you don't do it correctly. It's recommended to make a full backup of your PC before proceeding.
To prevent access to all removable storage, use these steps:
- Open Start.
- Search for regedit and click the top result to open the Registry.
Browse the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
Quick tip: On Windows 10, you can now copy and paste the path in the Registry's address bar to quickly jump to the key destination.
Right-click the Windows (folder) key, select the New submenu, and choose the Key option.
Source: Windows Central
- Name the key RemovableStorageDevices and press Enter.
- Right-click the newly created key, select the New submenu, and choose the DWORD (32-bit) Value option.
- Name the key Deny_All and press Enter.
Double-click the newly created DWORD and set the value from 0 to 1.
Source: Windows Central
- Click the OK button.
- Restart your computer.
After you complete the steps, users will no longer have access to available removable storage devices, nor will they be able to connect external storage drives.
You can always undo the changes using the same instructions outlined above, but on step No. 4, make sure to right-click the RemovableStorageDevices key and select the Delete option. If you have other settings configured inside the key, don't delete it. Instead, double-click the Deny_All DWORD and change the value from 1 to 0.
After undoing the changes using either method, you should regain access to storage devices immediately. However, if this is not the case, then reboot the device to refresh the changes.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central

Samsung's next Galaxy Unpacked is April 28. Are new laptops on the way?
Samsung has a new Galaxy Unpacked event happening on Wednesday, April 28th. What is odd is Samsung has already announced all its flagship phones for this season, suggesting this could be about its non-phone hardware. We have a few ideas based on recent leaks ...

Beoplay Portal for Xbox first look: Premium feel meets puzzling oversights
Bang & Olufsen caught the gaming world off guard with the launch of its ultra-premium Beoplay Portal headset. With an eye-watering $500 price, the headset cost as much as an Xbox Series X. But is it worth it? Here are some early thoughts.

Could Microsoft roll out a handheld Xbox console to take on Nintendo?
Since the dawn of time, man has looked to the heavens and asked, "what if Microsoft made an Xbox handheld?" For fun, let's imagine what that could potentially look like.

These are the best PC sticks when you're on the move
Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!