How to disable window defender using powershell:

Set-MpPreference -DisableRealtimeMonitoring $true

The command above will disable window defender permanently, except for window server 2012 and windows 7 operating system since there is no window defender features on it

How to disable window defender using group policy editor:

Right click on taskbar and click run

Type gpedit.msc and click ok

Double click on administrative templates

Double click on windows components

Double click on windows defender

Double click on turn off windows defender

Tick enabled and click apply

How to disable windows update:

sc.exe config wuauserv start= disabled

The command above will stop windows update service from starting

sc.exe stop wuauserv

in case the windows update service has already been started, run the command above to stop it

How to disable windows update with server core:

This method only applicable on window server 2012 and 2016.

Search for powershell, right click and click run as administrator

Type sconfig and press enter

Enter 5 and press enter, then enter M for manual update

Click OK

44 views0 comments