1.注册表开启USB
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
修改"Start"=dword:00000003,即USB打开.
2.注册表禁止USB
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
修改"Start"=dword:00000004,即USB关闭.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
修改"Start"=dword:00000003,即USB打开.
2.注册表禁止USB
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
修改"Start"=dword:00000004,即USB关闭.