mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-16 07:17:24 +00:00
Update microsoft-defender-antivirus-on-windows-server-2016.md
This commit is contained in:
parent
983c2b7934
commit
8bfcddfa8f
@ -46,7 +46,7 @@ The process of setting up and running Microsoft Defender Antivirus on a server p
|
||||
|
||||
5. (As needed) [Configure automatic exclusions](#configure-automatic-exclusions)
|
||||
|
||||
6. (Only if necessary) [Uninstall Microsoft Defender Antivirus](#need-to-uninstall-microsoft-defender-antivirus)
|
||||
6. (Only if necessary) [Set Microsoft Defender Antivirus to passive mode](#need-to-uninstall-microsoft-defender-antivirus)
|
||||
|
||||
## Enable the user interface on Windows Server 2016 or 2019
|
||||
|
||||
@ -171,11 +171,11 @@ To help ensure security and performance, certain exclusions are automatically ad
|
||||
|
||||
See [Configure exclusions in Microsoft Defender Antivirus on Windows Server](configure-server-exclusions-microsoft-defender-antivirus.md).
|
||||
|
||||
## Need to uninstall Microsoft Defender Antivirus?
|
||||
## Need to set Microsoft Defender Antivirus to passive mode?
|
||||
|
||||
If you are using a non-Microsoft antivirus product as your primary antivirus solution, you can either disable Microsoft Defender Antivirus, or set it to passive mode, as described in the following procedures.
|
||||
If you are using a non-Microsoft antivirus product as your primary antivirus solution, set Microsoft Defender Antivirus to passive mode.
|
||||
|
||||
### Set Microsoft Defender Antivirus to passive mode
|
||||
### Set Microsoft Defender Antivirus to passive mode using a registry key
|
||||
|
||||
If you are using Windows Server, version 1803 or Windows Server 2019, you can set Microsoft Defender Antivirus to passive mode by setting the following registry key:
|
||||
- Path: `HKLM\SOFTWARE\Policies\Microsoft\Windows Advanced Threat Protection`
|
||||
@ -193,17 +193,6 @@ If you are using Windows Server, version 1803 or Windows Server 2019, you can se
|
||||
|
||||
Microsoft Defender Antivirus will still run normally without the user interface, but the user interface cannot be enabled if you disable the core **Windows Defender** feature.
|
||||
|
||||
### Disable Microsoft Defender Antivirus using PowerShell
|
||||
|
||||
>[!NOTE]
|
||||
>You can't uninstall the Windows Security app, but you can disable the interface with these instructions.
|
||||
|
||||
The following PowerShell cmdlet uninstalls Microsoft Defender Antivirus on Windows Server 2016 or 2019:
|
||||
|
||||
```PowerShell
|
||||
Uninstall-WindowsFeature -Name Windows-Defender
|
||||
```
|
||||
|
||||
### Turn off the Microsoft Defender Antivirus user interface using PowerShell
|
||||
|
||||
To turn off the Microsoft Defender Antivirus GUI, use the following PowerShell cmdlet:
|
||||
|
Loading…
x
Reference in New Issue
Block a user