Activate Windows defender in Windows server 2019 RRS feed

  • Question

  • Good afternoon,

    I am trying to activate windows defender on several servers that have Windows Server 2019 installed but it is being impossible.

    In Windows server 2016 I have been able to do it with the command Install-WindowsFeature -Name Windows-Defender -Source \\servidor_remoto\WinSxS\ or dism /online /enable-feature /featurename:Windows-Defender /all /source:\\servidor_remoto\c$\windows\WinSxS /limitaccess /NoRestart

    I have tried the same method, or from the Windows Manager indicating the source and it does not work either.

    I have followed procedures to put the .wim etc, but it does not work.

    Any ideas?


    Thursday, November 18, 2021 1:48 PM

All replies

  • Enable Windows Defender GUI on Windows Server

    In Windows Server 2019, the Defender GUI is based on the APPX application and is accessible through the Windows Security app (Settings -> Update and Security ). Windows Defender is configured through the “Virus and threat protection” menu.

    Thank You
    Monday, December 13, 2021 7:01 AM
  • Good morning and thanks for the answer Mukul

    I already know where Windows Defender is, the problem is that it gives me an error when I re-enable Windows Defender, also on some servers it works on others not, having the same Build and the same path to the WinSXS folder

    Monday, December 13, 2021 7:41 AM
  • Hi,

    What error does it give when you try to re-enable it?

    Wednesday, March 2, 2022 9:39 AM
  • nice article, waiting for your another :

    Thursday, March 3, 2022 6:02 PM
  • Même problème de mon côté. Merci à ceux qui donneront des solutions :)
    Thursday, March 3, 2022 6:21 PM
  • HI,

    Thanks for the information Mukul. I was also looking for the same.

    Tuesday, March 8, 2022 7:10 AM
  • Same issue I am facing from many couple of days on my BPO. I will try your suggestion . Thank You
    Wednesday, March 9, 2022 4:19 AM
  • I think u should activate it to get full features, probably you can use KMS VL to test it
    Monday, March 14, 2022 1:55 AM
  • Protector for Endpoint stretches out help to likewise incorporate the Windows Server working framework. This help gives progressed assault location and examination abilities consistently through the Microsoft 365 Defender console

    • Proposed as answer by 90S Outfits Wednesday, June 1, 2022 1:38 AM
    Monday, March 14, 2022 1:14 PM
  • How do I activate Microsoft Defender for endpoint server?
    • Proposed as answer by Nader75 Tuesday, March 22, 2022 5:58 PM
    Tuesday, March 22, 2022 4:10 AM
  • Thanks for Your answer Mukul.
    Tuesday, May 31, 2022 5:05 AM
  • I am trying to update my windows firmware but after updating my system crash the ClickTests game. Is there any solution to resolve it.

    Tuesday, May 31, 2022 8:06 AM
  • I agree with you Chitrar. Microsoft's Protector for Endpoint is a great product. I have been using it for a while now and I can say that it has made me feel more protected. I think the whole Microsoft Defender suite has been pretty good so far. All the systems I've seen it integrate with have had little to no problems. I’m keeping my fingers crossed so I won’t encounter any problems in the future.

    Wednesday, June 1, 2022 4:26 AM
  • Open the Settings app. Choose Update & security. Select Windows Defender on the side bar.
    For Windows 10 and Windows Server 2019 Systems:

    1. Open the Windows Security app.
    2. Choose Virus and Threat Protection.
    3. From "Virus & threat protection settings" choose "manage settings"

    Hope This Works,

    Tuesday, July 12, 2022 5:07 AM
  • What happens if you try to add it via Powershell?

    Install-WindowsFeature -Name Windows-Defender

    Thursday, July 21, 2022 4:39 PM
  • update windows maybe that help you 
    Wednesday, July 27, 2022 7:04 PM
  • Thanks for the information.
    Friday, July 29, 2022 11:22 AM
  • How do I install Windows Defender on Windows Server?
    By default, Windows Defender AV is installed and functional on Windows Server 2016. However, the GUI for Windows Defender which is a feature isn't installed.
    Enable Windows Defender GUI on Windows Server
    Launch the Server Manager.
    Click on Tools > Manage.
    Click Add Roles and Features.



    Monday, August 1, 2022 7:29 AM
  • the Defender GUI is based on the APPX application and is accessible through the Windows Security app
    Saturday, August 6, 2022 8:07 AM
  • Service Check

    Get-Service WinDefend

    Here’s how you can enable real-time antivirus protection:

    Set-MpPreference -DisableRealtimeMonitoring $false

    You can install Windows Defender services with the command:

    Add-WindowsFeature Windows-Defender-Features,Windows-Defender-GUI

    If you cannot open the Defender settings menu, and when you run the Windows Security applet you get the error “”, you need to re-register the APPX application using the manifest file with the following PowerShell command:You’ll need a new app to open this windowsdefender

    Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

    Tuesday, August 9, 2022 11:05 AM
  • Maybe you are not logged into your Windows as an administrator
    • Proposed as answer by Asim Khattak Saturday, September 3, 2022 10:13 PM
    • Unproposed as answer by Asim Khattak Saturday, September 3, 2022 10:13 PM
    Wednesday, August 17, 2022 12:29 PM