Vscode Slow Startup Windows 10 [Solved]

Issue Cause Primary Solution Time to Fix
Bloated Extensions Extension Bisect / Disable All 5 Minutes
GPU Rendering Disable Hardware Acceleration 2 Minutes
Cache Buildup Clear %AppData% Code folders 3 Minutes
Large Workspaces Exclue node_modules from Search 2 Minutes

VS Code logo on a Windows 10 desktop illustrating performance optimization.

What is vscode slow startup windows 10?

The term “vscode slow startup windows 10” refers to a performance delay when launching Visual Studio Code on the Microsoft Windows 10 operating system. Users typically experience a “hanging” splash screen or a black window that persists for several seconds before the editor becomes functional.

This lag is often caused by the Electron framework’s interaction with system hardware, corrupted cache files, or a heavy load of third-party extensions. Since VS Code is a resource-intensive application, background processes in Windows 10 can also throttle its initial load time.

Step-by-Step Solutions

1. Launch Without Extensions

Often, a single poorly optimized extension causes the entire application to crawl. You can test if extensions are the culprit by launching VS Code in “Disable Extensions” mode from the command line.

code --disable-extensions

If the editor opens instantly, use the “Extension Bisect” feature built into VS Code to identify the specific plugin causing the delay.

2. Disable Hardware Acceleration

VS Code uses your GPU to render the interface. On some Windows 10 machines, especially those with integrated graphics or outdated drivers, this causes significant lag.

Open the Command Palette (Ctrl+Shift+P) and type “Preferences: Configure Runtime Arguments”. Add the following line to the JSON file:

"disable-hardware-acceleration": true

Alternatively, launch it once from the terminal to test:

code --disable-gpu

3. Clear the Global Data Cache

Over time, VS Code accumulates temporary files in your user profile. These can become fragmented and slow down the initialization process.

Close VS Code, open File Explorer, and navigate to the following path (replace ‘User’ with your username):

%AppData%\Code\Cache

Delete everything inside the Cache and CachedData folders. VS Code will rebuild these files on the next launch, usually much faster than before.

4. Optimize Windows Defender Settings

Windows Defender sometimes scans every file VS Code touches during startup. Adding an exclusion for the VS Code process can dramatically improve speed.

Go to Update & Security > Windows Security > Virus & threat protection > Manage settings > Add or remove exclusions. Add the “Code.exe” process and your project folders to this list.