Before it was possible to turn Windows Defender off by opening its settings and switching off run time protection. Last year Microsoft removed an option to disable Windows Defender on D365FO developer machines.
It turns out there is another way to disable Windows Defender:
- Run gpedit.msc to open Local Group Policy Editor
- Go to: Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus
- On the right side, double-click the Turn off Windows Defender Antivirus policy
- Select the Enabled option
- Click Apply and OK
There are more ways to disable Windows Defender here.
Please find below my PowerShell script for local-hosted VHD based Dev VMs
ReplyDeletehttps://github.com/valerymoskalenko/D365FFO-PowerShell-scripts/blob/master/Rename-D365FFODevVM.ps1