microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.46k stars 28.96k forks source link

VS Code Installer Stops Interacting With Windows (Hangs) on Windows 11 24H2 (Reproducible Every Single Time At-Will) #228613

Open TESTER-sec opened 1 month ago

TESTER-sec commented 1 month ago

Does this issue occur when all extensions are disabled?: Not Applicable (N\A)

Edition Windows 11 Pro Version 24H2 Installed on ‎9/‎6/‎2024 OS build 26100.1742 Experience Windows Feature Experience Pack 1000.26100.18.0

Steps to Reproduce:

  1. Clean install Windows 11 24H2 on system or use production Windows 11 24H2 system (do NOT use Virtual Machine)

  2. Download VS Code installer (version 1.93.1, 1.93, or 1.92.2, 1.92.1 - or - Insider Build 1.94.0, etc) to test or production system

  3. Execute VS Code installer

  4. VS Code installer hangs at "Preparing to Install: Setup is preparing to install..."

  5. Cannot cancel install; selecting Cancel button does not work - must terminate install via End Task in Task Manager

  6. Windows 11 24H2 generates WER

  7. Repeat test by attempting install via Microsoft Store and winget; VS Code install hangs and fails with Windows Error Reports

Partial snippet of Windows Error Report (WER):

FriendlyEventName=Stopped responding and was closed ConsentKey=AppHangXProcB1 AppName=Setup//Uninstall AppPath=C:\Users\\AppData\Local\Temp\is-E71M8.tmp\VSCodeSetup-x64-1.93.1.tmp ReportDescription=A problem caused this program to stop interacting with Windows.

PieterVerledens commented 2 days ago

I have the same issue, in safe mode the installer works. I suspect it has something to do with the AMD drivers, do you have and AMD card?

TESTER-sec commented 1 day ago

I have the same issue, in safe mode the installer works. I suspect it has something to do with the AMD drivers, do you have and AMD card?

On the system in question, it is Intel CPU and NVidia GPU.

Without explanation or reason that I can determine, one day the VS Code installer ran as expected and installed the application.

¯_(ツ)_/¯

This reported issue was very frustrating.