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 after an elevated update has been done before #149248

Closed
OtherShadeOfBlue opened this issue May 11, 2022 · 2 comments
Closed

Update fails after an elevated update has been done before #149248

OtherShadeOfBlue opened this issue May 11, 2022 · 2 comments
Assignees

Comments

@OtherShadeOfBlue
Copy link

Issue Type: Bug

Today my vscode update failed stating a access failure on the
AppData\Local\Programs\Microsoft VS Code\bin
folder.
After some investigations it turned out some files and folders there where owned by BUILTIN\Administrators
I usually make sure updating vscode from a non-elevated session, but recall last update I did was accidentally done elevated.

I was able to fix it by taking ownership of all files/folders in AppData\Local\Programs\Microsoft VS Code

I am running win11 insider build 10.0.22616.100 and seem to recall having done similar elevated updates on earlier win10/win11 builds without issues. So not sure if it is win11-insider or vscode related just yet.

VS Code version: Code 1.67.1 (da15b6f, 2022-05-06T12:37:03.389Z)
OS version: Windows_NT x64 10.0.22616
Restricted Mode: No

@gjsjohnmurray
Copy link
Contributor

Related - #148428

@joaomoreno
Copy link
Member

Duplicate of #147408

@joaomoreno joaomoreno marked this as a duplicate of #147408 May 20, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants