Set-MpPreference -DisableRealtimeMonitoring禁用第一个,那么当你打开UI时,什么是特定的开关来禁用你看到的其他开关呢? 我还没有在文档中find一个清晰的例子,我不想运行每个禁用开关,因为MS文档是不好的。
花了几个小时通过文档: https : //docs.microsoft.com/en-us/powershell/module/defender/index? view = win10- ps
只是决定卸载它。 这适用于WS 2016与PS 5.1。
Remove-WindowsFeature Windows-Defender, Windows-Defender-GUI
以下内容对我来说不起作用(来自2011-2012版的博客),但在卸载之前请尝试一下:
Get-Service WinDefend | Stop-Service -PassThru | Set-Service -StartupType Disabled