Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fails: Code.exe The process cannot access the file because it is being used by another process. #61118

Closed
brandstaetter opened this issue Oct 17, 2018 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) install-update VS Code installation and upgrade system issues windows VS Code on Windows issues

Comments

@brandstaetter
Copy link

brandstaetter commented Oct 17, 2018

Issue Type: Bug

Wait for auto-update or trigger the update manually.
Update fails to open the file handle on Code.exe, even though it is not running.
LockHunter shows "System" as locking the file.

Also, updating from the installer only works if I try it after a reboot without opening vscode before.

VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2712)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 31.79GB (7.73GB free)
Process Argv C:\Users\hbrandstaetter\AppData\Local\Programs\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (3) [vscode-inno-updater-1539757127.log](https://github.com/Microsoft/vscode/files/2486089/vscode-inno-updater-1539757127.log)
Extension Author (truncated) Version
auto-build mar 0.1.0
cpptools ms- 0.19.0
platformio-ide pla 1.4.0
@stewest
Copy link

stewest commented Oct 18, 2018

Same here on MacOs 10.13.6 (17G2307) Code Version 1.27.2 (1.27.2)

@Tyriar Tyriar added install-update VS Code installation and upgrade system issues windows VS Code on Windows issues labels Oct 23, 2018
@wijkjh
Copy link

wijkjh commented Oct 23, 2018

It also fails on 1.28.0 (user setup), Windows 10 version 1803.
vscode-inno-updater-1540287295.log

@stewest
Copy link

stewest commented Oct 23, 2018

I removed and re-installed Version 1.28.2 (1.28.2) for MacOs (High sierra) and it works now, without continuously trying to update.

@joaomoreno
Copy link
Member

/duplicate #47841

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 23, 2018
@vscodebot
Copy link

vscodebot bot commented Oct 23, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Oct 23, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) install-update VS Code installation and upgrade system issues windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

5 participants