码迷,mamicode.com
首页 > 其他好文 > 详细

用户模式去掉有时不能访问注册表问题

时间:2018-11-16 23:34:39      阅读:306      评论:0      收藏:0      [点我收藏+]

标签:ges   rgw   mac   不能   cto   ini   roo   enum   VID   

技术分享图片
脚本: .bat


@echo off
color 0c

rem 设置"HKEY_LOCAL_MACHINE\Win10\ControlSet001\Enum\PCI"的所有者为:Administratros
>>test.inf echo.[Version]
>>test.inf echo.Signature = "$Chicago$"
>>test.inf echo.
>>test.inf echo.[Registry Keys]
>>test.inf echo."MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0000&PID_0004\5&1aa452e9&0&14\Properties", 0, "D:P(A;CI;GRGWSDGA;;;BA)(A;CI;GRGWSDGA;;;SY)"
secedit /configure /db test.sdb /cfg test.inf /log test.log
del test.*

pause
exit

修改 test.inf echo."要打开的路径MACHINE打头", 0, "D:P
如:
技术分享图片
用root运行
技术分享图片

用户模式去掉有时不能访问注册表问题

标签:ges   rgw   mac   不能   cto   ini   roo   enum   VID   

原文地址:http://blog.51cto.com/haidragon/2318153

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!