
- Usb block through regedit how to#
- Usb block through regedit full#
- Usb block through regedit professional#
- Usb block through regedit windows#
That's all folks! Which method worked for you? Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this solution. After restart if you connect a USB storage device and you try to access it you'll receive the error: " Location in not available. Close the Group Policy Editor and disconnect any connected USB drives. Set the policy setting to Enabled and click OK.Ħ. At the right pane open the Removable Disks: Deny read access policy.ĥ. Computer Configuration > Administrative Templates > System > Removable Storage AccessĤ.
Usb block through regedit windows#
To prevent the access to all Removable Storage Devices in Windows using Policy:
Usb block through regedit professional#
* Note: This method works in Windows 10, 8 or 7 Professional versions and in Windows Server versions. Disable Access to USB Disks using Group Policy. From now on, all USB drives are blocked and will not be accessible, with error: " Location in not available. 2 Navigate to the key below in the left pane of the Local Group Policy Editor. Type in regedit and press Enter to open Windows Registry Editor. * Note: The restriction does not work for already connected USB drives.Ĩ. Disable USB Storage Devices using Registry Editor Open Windows Run dialog by pressing Win + R keys together. Close the Registry Editor and disconnect any USB drives. * Note: Switch this value data back to 3, and USB storage devices will be enabled again.Ħ. Change the value data from 3 to 4 and click OK. At the right pane, double click at Start value.ĥ. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStorĤ.Navigate to the following key at the left pane:

Press simultaneously the Windows + R keys to open the run command box.ģ. Set the GPO name Disable USB Access Switch to GPO edit mode ( Edit ). To block USB drives in Windows using Registry:ġ. * Note: This method works on all Windows 10, 8 or 7 Editions (Home and Professional) and in Windows Server versions. Disable USB Storages Devices from Registry.
Usb block through regedit how to#
How to Disable the Access to USB Drives in Windows. You should now see the Registry Editor window on your screen. Press the Windows+R hotkeys to display the Windows Run box.
Usb block through regedit full#
Now click on Users in the security tab and then click in the Deny Full Control tick box then click OK. The most straightforward way of opening this tool is through the Run command. In this tutorial you will find instructions on how to disable the USB removable devices such as USB drives on Windows 10/8/7 OS or in Windows Server 2016/2012. Navigate to C:WindowsInf and select Usbstor.inf and press OK. PSProvider : some companies, there is the need to disable the USB storage devices, in order to prevent employees to copy sensitive data of the company, or to prevent the risk of malware that may run from a USB storage device. Press Windows + R to open the Run dialog box, type regedit and press Enter. If i again check the reg key value i see that it has been modified to 4 and if i plug in a USB drive it wont get detected Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\services\USBSTOR" -name start Method 2: Block USB Ports Using Registry Editor Step 1. If you want to disable it you can set the value to 4 using below command Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\services\USBSTOR" -name start -Value 4 PSParentPath : \Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services PSPath : \Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\services\USBSTOR" -name start Open registry and navigate to the following registry key and see what value the reg key start has in it If its set to '3' means that USB Drive is enabled on the PC.
