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

4 lines
497 B
Python

opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System","/v","ConsentPromptBehaviorAdmin","/t","REG_DWORD","/d","5","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System","/v","EnableLUA","/t","REG_DWORD","/d","1","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System","/v","PromptOnSecureDesktop","/t","REG_DWORD","/d","0","/f"])