Prevent installation of Removable Devices on Windows
There are two methods that will help you to prevent the installation of a Removable device on Windows 11/10. They are the following:
1] Use Windows Registry Editor
Open the Windows Registry Editor and navigate to the following path:
Find the DWORD named as DenyRemovableDevices and set its value to 0. If this path does not exist on your computer, just create it. Reboot your computer to apply the changes.
2] Use Group Policy Editor
It is worth noting that the Group Policy Editor is not available on the Home edition of the Windows operating systems. Hence, these methods will not be of any use if you are using them. Open the Group Policy Editor. Navigate to the following path: Computer Configuration\Administrative Templates\System\Device Installation\Device Installation Restrictions Look out for the entry that says, Prevent installation of removable devices.
Set is as Enabled. Select Apply and then select OK. Reboot your computer to prevent the installation of removable devices on a computer running Windows 11/10 now. All the best! This post will show you how to prevent the installation of Programs from Removable Media Source.