opus-nt/mods/[all]/uac level 2 - no dim (no secure desktop)/modscript.py
2021-03-19 03:44:27 +01:00

4 lines
524 B
Python

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"])