opus-nt/mods-trustedInstaller/[all-based]/disable action center service and menus/modscript.py
2021-05-27 22:09:41 +02:00

6 lines
375 B
Python

opusnt.runReg(["delete",opusnt.regTmpPath + "software\\Classes\\CLSID\\{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}","/f"],check=False)
for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
opusnt.runReg(["add",key+ "\\services\\wscsvc","/v","Start","/t","REG_DWORD","/d","0x00000004","/f"])