opus-nt/mods/[hell]/disable security health service/modscript.py

4 lines
250 B
Python
Raw Normal View History

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","4","/f"])