Make your VM run faster


Each time you build your code, iisexpress will reset AND then the wait begins for the page to load.
Now some machines may be better than others, but windows defender seems to interfere and scan files which can cause considerable delays.
So lets make this run faster!

Windows Defender runs in the background and any files being used can be scanned by it. Those files will only be released after the scanning is complete. You can see in Task Manager that the process for MsMpEng.exe is busy.
You can look at the files being scanned using the Powershell commands

  1. Open a Powershell terminal in Administrator mode
  2. Run the commands listed here: https://github.com/shashisadasivan/MyScripts/blob/master/D365/Powershell/envPrep.ps1
  3. Done, MsMpEng.exe will be slightly less intrusive

Leave a Reply / Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.