← Learn
Dangerous
Disable-WindowsOptionalFeature -Online -FeatureName Windows-Defender -NoRestart

windows · powershell · Beginner

Removes Windows Defender from the running system as an optional feature. This is not a pause or an exclusion, it uninstalls the endpoint protection entirely, and -NoRestart hides the reboot that would make it obvious.

Signals to notice

  • Disable-WindowsOptionalFeature uninstalls the feature rather than pausing it
  • -NoRestart defers the reboot that would surface the change

Think you can spot these under time pressure?

Start Training

More Windows