opus-nt/mods/[all]/disable remote assistance/modscript.py

4 lines
264 B
Python
Raw Normal View History

2022-05-28 06:42:19 +00:00
for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
opusnt.runReg(["add",key+ "\\Control\\Remote Assistance","/v","fAllowToGetHelp","/t","REG_DWORD","/d","0x00000000","/f"])