VSCode updates fail with "Failed to create file handle" on Code.exe #60815
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
install-update
VS Code installation and upgrade system issues
Version: 1.28.0 (user setup)
Commit: 431ef9d
Date: 2018-10-05T14:58:53.203Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: N/A as Code is closed during updates
When installing an update the updater will sit on the intermediate progress bar for several minutes, then shows the following error message
Check file handles with a tool like Process Hacker 2 (Process Explorer should also work) shows that the handle is open by System, closing it is impossible. The machine must be restarted and the full setup must be rerun without opening Code beforehand. Disabling AV (Defender in this case) makes no difference.
Antivirus information: Windows Defender
Antimalware Client Version: 4.18.1809.2
Engine Version: 1.1.15300.6
Antivirus Version: 1.277.1010.0
Antispyware Version: 1.277.1010.0
The text was updated successfully, but these errors were encountered: