|
楼主 |
发表于 2017-5-23 16:02:00
|
显示全部楼层
刚刚搜索了下论坛,用了setacl.exe工具
补上代码。。。
RunWait('setacl.exe "HKEY_LOCAL_MACHINE64\SYSTEM\ControlSet003\Enum\USB\VID_05C6&PID_9015" /registry /grant everyone /full',"",@SW_HIDE)
RunWait('setacl.exe "HKEY_LOCAL_MACHINE64\SYSTEM\ControlSet003\Enum\USB\VID_05C6&PID_9015&MI_00" /registry /grant everyone /full',"",@SW_HIDE)
RunWait('setacl.exe "HKEY_LOCAL_MACHINE64\SYSTEM\ControlSet003\Enum\USB\VID_05C6&PID_9015&MI_01" /registry /grant everyone /full',"",@SW_HIDE)
但是还是没删掉。。。 |
|