Home > Common Problem > body text

How to prevent removable devices from being installed on Windows 11/10

PHPz
Release: 2023-04-17 19:55:01
forward
1261 people have browsed it

Removable devices like memory drives, flash drives, external hard drives, music players like iPods, plug and play mice, keyboards and other such USB based devices are some of the things that can be connected to the system while it is on Storage devices. Windows 11/10 supports the installation and use of such removable media. Once you connect any USB-based drive to the system, Windows 11/10 will automatically mount and mount the removable device. If the device's file system is recognized, a drive letter is assigned to that specific device. The automated installation of such removable devices may pose a threat to the integrity of the system.

However, this behavior of the Windows operating system can be modified so that any attached removable devices are not automatically recognized and installed on the system. When you prevent removable media from being installed, you add an extra layer of security to your system by not allowing external devices to be installed when connected to the system. In turn, you protect your system from data theft by disabling this behavior.

Keep reading this article to find out two ways you can prevent removable devices from being installed on your Windows 11/10 PC.

Method 1 – Modify the Windows Registry

Note: Since you will be making changes to the registry, be sure to create a backup of the registry in case any issues arise when used to restore the registry.

1. Press the Windows R key to open the "Run" dialog box.

Type regedit and press Enter key to open the Windows Registry Editor.

How to prevent removable devices from being installed on Windows 11/10

#2. Navigate or copy and paste the following path into the navigation bar of Registry Editor.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions
Copy after login

How to prevent removable devices from being installed on Windows 11/10

NOTE: If you do not find the DeviceInstall key in the Windows folder, Please right-click the WindowsFile folder and select New –> Key.

How to prevent removable devices from being installed on Windows 11/10

Name this new key DeviceInstall.

Now, right-click on the DeviceInstall key and select New –> Key.

How to prevent removable devices from being installed on Windows 11/10

Name this new key Restrictions.

3. Once inside the Restrictions folder, move to the right and look for the DWORD named DenyRemovableDevices.

Double-click it to open the edit window to modify the value.

Make sure the value in the Value Data field is set to 0.

Click OK to save changes.

How to prevent removable devices from being installed on Windows 11/10

NOTE: If the DWORD is not found or you just created a new key, then right click on any to the right Blank area and select New –> DWORD (32-bit) Value.

How to prevent removable devices from being installed on Windows 11/10

Name this DWORD DenyRemovableDevices and make sure its data value is set to 0.

4.Restart the computer to apply these changes.

After startup, try to connect any removable device and check if this method helps prevent the installation of removable devices.

Method 2 – Change Policy Settings in Group Policy Editor

If you are using Windows 11/10 Home Edition, you must first enable Group Policy Editing using the steps mentioned here device before proceeding with the steps mentioned below.

1. Just hold down the Windows and R keys to open Run.

Type gpedit.msc and press Enter to open the Local Group Policy Editor.

How to prevent removable devices from being installed on Windows 11/10

2. In your Local Group Policy Editor, click # under Local Computer Policy ##computer configuration.

Then, click the small arrow next to Manage Templates.

Now, double-click on

System to see the items available here.

How to prevent removable devices from being installed on Windows 11/10

Next, select

Device Installation -> Device Installation Restrictions.

How to prevent removable devices from being installed on Windows 11/10

3. After selecting the

Device Installation Restrictions item, move to the right and double-click the name "Prevent the installation of removable devices "setting.

How to prevent removable devices from being installed on Windows 11/10

In the window that opens, select the option

Enabled to modify the default policy setting to prevent the installation of removable devices.

Click

Apply and then click OK to save the changes.

How to prevent removable devices from being installed on Windows 11/10

4.Restart your system.

Then, check if you can prevent removable devices from being installed.

The above is the detailed content of How to prevent removable devices from being installed on Windows 11/10. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!