opus-nt/mods-trustedInstaller/[all-based]/disable action center service and menus/modscript.py

6 lines
375 B
Python
Raw Normal View History

2021-03-19 02:44:27 +00:00
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"])