Windows 10 Server Preview - How to Disable Windows Defender =========================================================== # Get information about Server roles and features that are available or installed Get-WindowsFeature # Turn-off real-time protection Set-MpPreference -DisableRealtimeMonitoring $true # Check real-time protection status Get-MpPreference | FL *RealtimeMonitoring # Turn-on real-time protection Set-MpPreference -DisableRealtimeMonitoring $false # Install Windows Defender GUI (no restart required) Install-WindowsFeature Windows-Defender-GUI # Uninstall Windows Defender and its GUI (restart required) Remove-WindowsFeature Windows-Defender, Windows-Defender-GUI