Closed
Description
Type: Bug
Hi,
When I launch VS Code from a shortcut in Windows, I get:
2025-06-12 16:23:41.567 [error] Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart.
2025-06-12 16:23:42.762 [error] resolving shell environment failed Unable to resolve your shell environment in a reasonable time
If I launch from the command line with code.cmd (or code-insiders.cmd) I don't receive this error. It tried passing --prof-startup
to the .exe to get more details but it didn't profile.
My shell is PowersShell 7.5.1.
Thanks!
VS Code version: Code - Insiders 1.101.0-insider (dfaf441, 2025-06-11T15:35:29.777Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
Item | Value |
---|---|
CPUs | Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (4 x 2594) |
GPU Status | 2d_canvas: unavailable_software canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: disabled_software multiple_raster_threads: enabled_on opengl: disabled_off rasterization: disabled_software raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software webgpu: unavailable_software webnn: unavailable_software |
Load (avg) | undefined |
Memory (System) | 16.00GB (5.75GB free) |
Process Argv | --crash-reporter-id 79dae070-e5f9-40b9-8421-24be045f4218 |
Screen Reader | no |
VM | 40% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249597
vscod805cf:30301675
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:30980852
dwnewjupytercf:31046870
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
5b1c1929:31184661
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
g012b348:31231168
pythoneinst12:31251391
bgtreat:31252123
c7cif404:31309980
pythonpulldiag:31287486
6gi0g917:31259950
editoredits36407:31282444
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
e6194696:31317039
747dc170:31275146
pythoncompactctx:31296835
6518g693:31302842
pylancecolor:31288664
generatesymbolt:31280541
convertfstringf:31280702
gendocf:31280703
nes0dcc7202:31321960
923gi514:31310909
b99bg931:31306656
1cfa2231:31326675
convertlamdat:31319677
gce3e431:31315077