Get-MpComputerStatus AntivirusEnabled False

ComputerHabit 1,031 Reputation points
2023-04-26T20:15:17.7266667+00:00

This is happening on an install with Server 2012.

User's image

How do I get Antivirus Enabled? Is there a powershell command?

It works on other servers. Not sure why this one is not True.

Searching google isn't helping.

Thanks in advance.

MICROSOFT WHY DON'T YOU HAVE A CATEGORY FOR DEFENDER AV? YOUR FLAGSHIP AV SOFTWARE!!!!!

Windows for business Windows Server User experience Other
Windows for business Windows Server Devices and deployment Configure application groups
{count} votes

2 answers

Sort by: Most helpful
  1. ComputerHabit 1,031 Reputation points
    2023-04-26T23:55:10.03+00:00

    There must have been some sort of delay after install I had not noticed before.

    After several hours of trying to figure out what was wrong, WSUS updates picked up some .Net updates. After that it started updating and working.

    0 comments No comments

  2. Limitless Technology 44,751 Reputation points
    2023-04-27T14:39:26.3733333+00:00

    Hello there,

    You can use PowerShell to perform various functions in Windows Defender. Similar to the command prompt or command line, PowerShell is a task-based command-line shell and scripting language designed especially for system administration.

    Open Start.

    Search for PowerShell, right-click the top result, and select the Run as administrator option.

    Type the following command to see the Microsoft Defender Antivirus status and press Enter:Get-MpComputerStatus

    Confirm the AntivirusEnabled is reads True to know if the security solution is running.

    More information here

    https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/use-powershell-cmdlets-microsoft-defender-antivirus?view=o365-worldwide

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.