opus-nt/mods/[hell]/disable automatic driver updates/modscript.py

3 lines
347 B
Python
Raw Normal View History

opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows\\WindowsUpdate","/v","ExcludeWUDriversInQualityUpdate","/t","REG_DWORD","/d","1","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Device Metadata","/v","PreventDeviceMetadataFromNetwork","/t","REG_DWORD","/d","1","/f"])