If the feature is installed but the service is disabled, use the MpCmdRun tool: Open as an Administrator.
Download the , which includes the necessary MSI and scripts.
The most common way to "get" Defender back is to re-enable it as a Windows feature: from the Start menu. Click Manage and select Add Roles and Features .
If Defender is not visible on your system, follow these methods to restore it. Method 1: Using the Add Roles and Features Wizard
Install-WindowsFeature -Name Windows-Defender, Windows-Defender-Gui Use code with caution. After the command completes, restart your server. Method 3: Re-enabling via Command Line
Check the box for . To have a visual interface, ensure GUI for Windows Defender is also selected. Click Next , then Install . Restart the server to complete the installation. Method 2: Using PowerShell (Fastest)