opus-nt/mods/[hell]/disable security health service/modscript.py
2022-01-01 19:28:50 +01:00

4 lines
259 B
Python

for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
opusnt.runReg(["add",key+ "\\services\\SecurityHealthService","/v","Start","/t","REG_DWORD","/d","0x00000004","/f"])