Search code examples
performancevisual-studio-codecrash

VS Code is not responding (Slow Startup and Unresponsive) even with extensions disabled


VScode has been crashing every time I open it, used to work perfectly before. Its extremely slow (25-35s) to start and is unresponsive immediately.

Unresponsive&&SlowStartup

The window is not responding

You can reopen or close the window or keep waiting.

Already tried the following:

  • Reinstalling
  • Launching after disabling extensions
  • Same problem with VS Code Insiders
  • Restart
  • Fresh Install with no extensions also doesn't seem to work.

None of it worked.

versions - code-1.77.0 & code-insiders-1.78.0


Solution

  • The issue is resolved if you put code.exe as an excluded file in McAfee real-time scanning (or whichever antivirus you're using).

    The exe is generally found in windows at the location:

    C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code