Skip to content

launching vscode and shows "Unable to resolve your shell environment“ #251522

Open
@szbkdcsm

Description

@szbkdcsm

Hi ! I have a problem that I can't solve and would like to seek help or report the issue.

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.101.0
  • OS Version: 10.0.26100

Version: 1.101.0 (system setup)
Commit: dfaf441
Date: 2025-06-11T15:00:50.123Z
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. open the latest vscode in win11 24H2 26100.4351
  2. popup notification in the bottom right corner : "Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 3762504530, signal null)"

Image

I tried reinstalling, but this warning still pops up for both the user version and the admin version.

I set application.shellEnvironmentResolutionTimeout 120 , but it do not work.

However, I found that entering "code --verbose" in PowerShell opens VSCode without any warnings.

The uploaded .zip file is my log file, hoping it can be helpful.

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions