USB Enable Version:
Create an enable_usb.reg file with a value of 0 to reverse:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions]
“DenyRemovableDevices”=dword:00000000
Pro Tip:
Combine with a Batch Script for complete automation:
echo off
regedit /s disable_usb.reg
shutdown /r /t 0
Commemoration:
– REG files from unknown sources can be harmful
– Always check the content of the script before running it
– Keep a backup of REG files in a safe location