Skip to content

Windows update fails when exiting VS Code to apply update, requires uninstall and reinstall #296791

@danielshue

Description

@danielshue

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

Version: 1.110.0-insider (user setup)
Commit: d565dc1
Date: 2026-02-09T08:33:29.182Z
Electron: 39.3.0
ElectronBuildId: 13168319
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Windows_NT arm64 10.0.26220

On Windows, Visual Studio Code consistently fails to apply updates when using the built in “Restart to Update” flow. The update dialog reports a failure and suggests antivirus or runaway processes, but restarting the machine does not resolve the issue. The only reliable workaround is to uninstall VS Code and reinstall the latest version.
This has occurred multiple times across updates.

Steps to Reproduce

  1. Launch Visual Studio Code on Windows
  2. Wait for VS Code to prompt that an update is available
  3. Choose the option to exit or restart VS Code to apply the update
  4. Observe the update failure dialog

Expected Behavior
VS Code exits and successfully applies the update without user intervention.

Actual Behavior
VS Code displays an error dialog stating that the update failed. Retrying after restarting Windows does not help. The update only succeeds after fully uninstalling and reinstalling VS Code.

Error Dialog
The dialog shown during update failure says:
Failed to install Visual Studio Code update.
Updates may fail due to anti virus software and or runaway processes. Please try restarting your machine before attempting to update again.
Please read the log file for more information:
C:\Users\DANSHU~1.RED\AppData\Local\Temp\vscode-inno-updater-1771728732.log

Workaround
Uninstall Visual Studio Code and reinstall the latest version manually.
Restarting Windows does not resolve the issue.

Image

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginstall-updateVS Code installation and upgrade system issueswindowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions