opus-nt/mods/[nu-only]/disable real-time protection/modscript.py

3 lines
204 B
Python
Raw Normal View History

2021-05-19 18:56:41 +00:00
# 20H2 or newer
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection","/v","DisableRealtimeMonitoring","/t","REG_DWORD","/d","0x00000001","/f"])