Add scripts for disabling and enabling Windows Defender malware service
This commit is contained in:
@@ -93,10 +93,13 @@ processor time and is generally useless.
|
||||
some testing and didn't see any speedup when excluding a project folder.
|
||||
* Go into the Windows security settings and disable `Tamper Protection`.
|
||||
* winkey+r -> `gpedit.msc`.
|
||||
* Can now disable either with a policy or some custom batch files.
|
||||
* Policy:
|
||||
* Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus -> Real-time Protection
|
||||
* Double-click the `Turn off real-time protection` policy.
|
||||
* Select Enabled (you may have to restart PC).
|
||||
* If you want to re-enable then change the policy to `Not configured` and re-enable tamper protection.
|
||||
* Batch files: in `dotfiles/bin` run `antimalware-service-disable.bat` then restart. Reenable it with `antimalware-service-enable.bat`
|
||||
|
||||
* Enable/disable various Window features:
|
||||
* Go to Add/Remove Programs -> Turn Windows features on or off
|
||||
|
||||
Reference in New Issue
Block a user