Check the Windows Defender Configuration and Settings:
Get-MpPreference
Turn off Windows Defender Real-Time Protection using PowerShell
Set-MpPreference -DisableRealtimeMonitoring $true
Turn onWindows Defender Real-Time Protection using PowerShell
Set-MpPreference -DisableRealtimeMonitoring $false
Add a File path exclusion:
Set-MpPreference -ExclusionPath "C:\temp", "C:\VM", "C:\NanoServer"
Add process exclusion
Set-MpPreference -ExclusionProcess "vmms.exe", "Vmwp.exe"
To remove windows defender open command prompt with administrator and copy following
Dism /online /Disable-Feature /FeatureName:Windows-Defender /Remove /NoRestart /quiet
restart server
Get-MpPreference