
If running these manually, they must be run line by line in order to function properly. We recommend setting this up as a script on your RMM for easier enablement. Step 3: Look for the Update & Security section choosing from the options displayed. The settings can be accessed via the cog icon. Step 2: Now open the settings by clicking on the cog icon. After clicking on the Windows logo, the main menu will open. Scroll to the bottom of the list and select Turn off Microsoft Defender Antivirus. Select Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.


If you are not familiar with troubleshooting PowerShell errors please enable defender through the GUI.īefore running the following commands, please note that this will not work if the machine doesn't have Windows Defender installed and if you run these while having another AV installed it could cause conflicts between the two. Step 1: Click on the Windows logo in the task bar. Then select Edit group policy from the listed results. Please be aware that these commands provide no error checking, installation validation, etc. Take caution when running these commands to enable Defender as you may have another issue present. Windows Defender should be turned ON by default.

This is because Microsoft Defender is enabled by default in Windows 8.1+ (and Server 2016+) and will even re-enable itself if it's disabled and detects no 3rd party AV. The Huntress Agent cannot enable Microsoft Defender if it is explicitly disabled.
