Windows Defender might be impacting your build performance

You need to exclude those directories in your Windows Security's Exclusion list.

  1. Type Windows Security in your windows Search bar
  2. Click Virus & threat protection
  3. Under Virus & threat protection settings header, click Manage Settings
  4. Under Exclusions header, click Add or remove exclusions
  5. Click Add an exclusion
  6. Select type Folder
  7. Enter the directory
  8. You are done

Yes it is secure, necessary and really improves the performance as the real-time scanning is enabled in Windows defender by default. Read this: Minimize the impact of antivirus software on build speed.


I faced the same problem with Android Studio which is from same company after the recent update. So what you can do is you will get the directory which is causing this error. Like You will get the directories here

Then you need to go to Windows Defender and add these folders to the exclusion in Windows Defender or the antivirus you are using.


I did the above steps with adding exceptions to the defender, but the message in the WebStorm application did not want to disappear.

Running the WebStorm application as administrator helped me.