microsoft / vscode

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

File handle #159407

Closed RGuinn1207 closed 1 year ago

RGuinn1207 commented 1 year ago

Issue Type: Bug

Tyring to update: There was an error while Opening file handle:

Failed to create file handle: Access is denied

VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.82GB (22.98GB free)| |Process Argv|--crash-reporter-id 04a04286-f600-4fdf-9277-2b7b88f1062c| |Screen Reader|no| |VM|0%|
Extensions (34) Extension|Author (truncated)|Version ---|---|--- babel-compile-on-save|asv|1.0.6 turbo-console-log|Cha|2.5.1 vscode-eslint|dba|2.2.6 vscode-babel-coloring|dza|0.0.4 prettier-vscode|esb|9.8.0 auto-close-tag|for|0.5.14 auto-rename-tag|for|0.1.10 docker-explorer|for|0.1.7 vscode-yarn|gam|2.1.0 copilot|Git|1.43.6621 rest-client|hum|0.25.1 vscode-styled-components|jpo|1.6.6 template-string-converter|meg|0.6.0 vscode-language-babel|mgm|0.0.36 vscode-azureappservice|ms-|0.24.3 vscode-azureresourcegroups|ms-|0.5.5 vscode-docker|ms-|1.22.1 python|ms-|2022.12.1 vscode-pylance|ms-|2022.8.40 remote-containers|ms-|0.245.2 remote-wsl|ms-|0.66.3 azure-account|ms-|0.11.1 indent-rainbow|ode|8.3.1 docker-compose|p1c|0.3.5 material-icon-theme|PKi|4.20.0 heroku-command|pko|0.0.8 vscode-css-peek|pra|4.2.0 LiveServer|rit|5.7.5 html5-boilerplate|sid|1.1.1 vscode-babel-repl|t-s|0.1.2 lorem-ipsum|Tyr|1.3.1 full-react-snippets|wal|1.4.2 babel|wmo|1.6.0 JavaScriptSnippets|xab|1.8.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30542924 vsaa593:30376534 pythonvs932:30410667 wslgetstarted:30449410 cppdebug:30492333 pylanb8912:30545647 vsclangdc:30486549 c4g48928:30535728 hb751961:30553087 dsvsc012:30540252 azure-dev_surveyone:30548225 2144e591:30553903 ```
VSCodeTriageBot commented 1 year ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

RGuinn1207 commented 1 year ago

That is what I was doing, an update and keep getting that error

On Sun, Aug 28, 2022 at 12:34 PM VSCode Triage Bot @.***> wrote:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/159407#issuecomment-1229527098, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDW3SQ3CAJL7UAAHO4V3QLV3OWJVANCNFSM573PSSRA . You are receiving this because you authored the thread.Message ID: @.***>

RGuinn1207 commented 1 year ago

Can I revert back to a previous version and try it again?

On Sun, Aug 28, 2022 at 1:20 PM Robert Guinn @.***> wrote:

That is what I was doing, an update and keep getting that error

On Sun, Aug 28, 2022 at 12:34 PM VSCode Triage Bot < @.***> wrote:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/159407#issuecomment-1229527098, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDW3SQ3CAJL7UAAHO4V3QLV3OWJVANCNFSM573PSSRA . You are receiving this because you authored the thread.Message ID: @.***>

lszomoru commented 1 year ago

@bpasero, is this something that falls in your area of ownership?

joaomoreno commented 1 year ago

/duplicate #47841

As a workaround, please disable Windows background updates by setting update.enableWindowsBackgroundUpdates to false.