Visual Studio Code is not running on windows 11 Home Launch Failure and Not responding while working on it
🚫 VS Code Launch Failure – Multiple Instances Issue (Windows 11)
This repository documents a critical issue with Visual Studio Code on Windows 11 Home, where multiple background processes block the application from launching, showing the error: "Another instance of Code is running but not responding".
This issue is occurs when all extensions are disabled and also on enabled : (on both conditions)
- VS Code Version: 1.101.0.0
- OS Version: Edition Windows 11 Home Version 24H2 Installed on 26-10-2024 OS build 26100.4061 Experience Windows Feature Experience Pack 1000.26100.84.0
📸 Screenshots
Error :
Task Manager :
📋 Problem Summary
- VS Code fails to open, citing another instance is running.
- Task Manager shows several
Code.exeprocesses consuming memory. - Manual termination and reinstallation fail to resolve the issue.
- Uninstallation via Control Panel and external tools also fail.
🔧 Steps Taken
- Killed all Code processes manually.
- Attempted uninstall via Control Panel and Revo Uninstaller.
- Tried reinstalling VS Code.
🔍 System Details
- Windows 11 Home Version 24H2
- VS Code Version: 1.101.0.0
- System Architecture: x64
📁 Logs
Logs related to this issue are included in the /logs folder of this repository and have also been submitted in the GitHub issue report.
I'm reporting this issue to the official Microsoft VS Code GitHub repository for further investigation.
It seems there is a race condition. See https://github.com/microsoft/vscode/issues/72531
The same issue currently only occurs on Windows 11, and has only been discovered in the last two versions.
VS Code's usability has begun to deteriorate, with randomly slowdowns or even unresponsiveness, especially when multiple instances are running. VS Code seems to be getting slower and slower, and components such as Python LSP are crashing frequently. Reinstalling does not solve these issues.
@Sun-ZhenXing About Python, that likely depends on the extension. Feel free to contribute in their repo: https://github.com/microsoft/vscode-python/issues
Currently, I have found an effective method to reduce the probability of this occurring:
- Turn off game mode and turn on performance mode on your computer.
- Turn off energy efficiency mode. You can use
code --disable-features=UseEcoQoSForBackgroundProcessto start the application.