Windows Utilities for Enforcing Disk Access Permissions

Windows Utilities for Enforcing Disk Access Permissions

David Lv13

Windows Utilities for Enforcing Disk Access Permissions

Want to prevent others from stealing your PC data through removable storage devices? Or do you want to protect your device from harmful files contained on removable storage devices?

In this article, we’ll explore how you can prevent others from installing removable storage devices on Windows. That way, your device won’t read any removable storage devices without your permission. Lastly, we’ll also show you how to allow others to install specific removable storage devices.

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

How to Prevent Others From Installing Any Removable Storage Devices

Let’s start by checking out how you can prevent others from installing any removable storage device into your PC. You can do this using either the Local Group Policy Editor or the Registry Editor.

Using the Local Group Policy Editor

Using a Windows laptop on a brown desk

The Local Group Policy Editor (LGPE) is a reliable tool for troubleshooting system errors. Interestingly, you can also use it for other tasks such as preventing others from changing your Windows desktop background .

Now, here’s how to use the LGPE to prevent others from installing removable storage devices on Windows:

  1. Press Win + R to open the Run command dialog box.
  2. Type gpedit.msc and press Enter to open the LGPE.
  3. Navigate to Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions.
  4. Double-click on the Prevent installation of removable devices option on the right-hand side.

Clicking the prevent installation of removable devices option

Select Enabled on the next screen to prevent others from installing removable storage devices into your PC. Alternatively, select Disabled or Not Configured to restore the default settings.

Finally, press Apply and then press OK to save these changes.

Struggling to access the LGPE on Windows Home? There are a few tricks you can apply to access the LGPE on Windows Home . But if that sounds complicated to you, then skip to the Registry Editor method.

Using the Registry Editor

A person typing commands on a laptop

The Registry Editor is another reliable tool you can use for tweaking system settings and troubleshooting PC issues.

However, this tool is quite sensitive. So, it’s often worth backing up the Registry first before editing its keys.

Now, here’s how to use the Registry Editor to prevent others from installing removable storage devices on Windows:

  1. Press Win + R to open the Run command dialog box.
  2. Type Regedit and press Enter to open the Registry Editor.
  3. Copy-paste the following command into the address bar and press Enter:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

From there, follow these steps:

  1. Right-click on the Windows folder and select New > Key. From there, name this key as DeviceInstall and press Enter.
  2. Right-click on the DeviceInstall key and select New > Key. Next, name the key as Restrictions and press Enter.
  3. Click the Restrictions folder, right-click on a blank space on the right, and then select New > DWORD (32-bit) Value. From there, name the value as DenyRemovableDevices and press Enter.

Clicking the DenyRemovableDevices value

Now, follow these steps:

  1. Double-click on the DenyRemovableDevices value.
  2. Set the Value data as 1 and then press OK to prevent others from installing storage devices into your PC. Alternatively, set the Value data as 0 and press OK to allow others to install removable storage devices on your PC.
  3. Close the Registry Editor and restart your device to save these changes.

How to Prevent Others From Installing Specific Removable Storage Devices

In some instances, you might want to prevent others from installing specific removable storage devices. So, let’s show you how you can do that using either the LGPE or the Registry Editor.

Also read:

  • Title: Windows Utilities for Enforcing Disk Access Permissions
  • Author: David
  • Created at : 2024-12-11 16:00:10
  • Updated at : 2024-12-13 03:45:21
  • Link: https://win11.techidaily.com/windows-utilities-for-enforcing-disk-access-permissions/
  • License: This work is licensed under CC BY-NC-SA 4.0.