Add mod: disable diagnostics tracking service

This commit is contained in:
Fierelier 2021-05-19 23:34:28 +02:00
parent 043ccdc760
commit 99eea4924e

View File

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