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

用户模式去掉有时不能访问注册表问题
脚本: .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运行
用户模式去掉有时不能访问注册表问题

猜你喜欢

转载自blog.51cto.com/haidragon/2318153