title: Windows Defender Real Time Protection Service slowing down Visual Studio etc
body: <p>Since past two months or so I have been observing a strange phenomenon with the <strong>Real Time Protection Service</strong> that comes bundled in as a part of Windows Defender on Windows 10. </p>
  
  <p>When this service is set to ON Visual Studio builds take an excruciatingly long time to complete. Visual Studio itself takes forever to launch. Further if there are managed add-ins (written using Visual Studio Tools For Office, VSTO) installed in Outlook, Outlook takes 13-14 seconds to launch! When this service is disabled Outlook again launches within two seconds or so.</p>
  
  <p>I have raised this on Twitter with Windows Support and tried discussing this online with Microsoft Support for an hour without any resolution. Looking around the internet I can see there are users who are reporting same problems such as</p>
  
  <p><a href="http://ardalis.com/speed-up-visual-studio-build-times" rel="noreferrer">http://ardalis.com/speed-up-visual-studio-build-times</a></p>
  
  <p><a href="https://stackoverflow.com/questions/17845320/slow-page-refresh-times-during-development">Slow page refresh times during development</a></p>
  
  <p>I have been noticing this for only two months or so. I have tried spinning up new VMs in Azure etc. to test this and in every instance I have noticed this Real TIme Protection Service to be the culprit. My main issue is the Outlook Add In load time to be honest.</p>
  
  <p>I tried posting this on Microsoft answer's site <a href="http://answers.microsoft.com/en-us/windows/forum/windows_10-performance/windows-defender-real-time-protection-service/98007092-0933-4859-a41a-7d9383e540bd" rel="noreferrer">here</a> but so far no luck. I was hoping if anyone here knows how to get this resolved without adding exception for Outlook in Real Time Protection Service (after which the add-ins load as expected within 200 milliseconds).</p>