通过 rundll32 创建设置注册表项权限
[Version]
SIGNATURE="$Windows NT$"
[DefaultInstall]
AddReg=test.reg
[test.reg]
HKLM,"SOFTWARE\TEST",SZ字符串1,0x00000000,123
[test.reg.security]
"D:P(A;CI;GA;;;SY)"
rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 .\secreg.inf
欢迎加入QQ技术群聊:70539804