opus-nt/mods/[all]/uac level 2 - no dim (no secure desktop)/modscript.py

4 lines
524 B
Python
Raw Normal View History

2021-03-19 02:44:27 +00:00
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System","/v","ConsentPromptBehaviorAdmin","/t","REG_DWORD","/d","0x00000005","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System","/v","EnableLUA","/t","REG_DWORD","/d","0x00000001","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System","/v","PromptOnSecureDesktop","/t","REG_DWORD","/d","0x00000000","/f"])