Windows Server / Services, IIS & Secure Operations
Check Windows Server antimalware mode before investigating exclusions
Protection behavior can differ when another endpoint-security product or managed mode is active. Collect actual state first.
Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
Get-MpComputerStatus | Select-Object AMRunningMode, AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, AntivirusSignatureLastUpdated
What the results mean
With Defender tools available, these fields describe reported protection state. Expected mode depends on the supported security stack and policy.
Fix the cause and check again
Compare the state with the endpoint-management record and security alerts. Repair policy or update failures through the security owner and validate the application separately.
Before changing production
Do not add broad server-volume exclusions or disable protection to mask an unexplained application failure.