question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows update failed: Access is denied

See original GitHub issue

Log from %HOME%\AppData\Local\Temp\vscode-inno-updater.log

Apr 13 11:27:40.666 INFO Starting: C:\Program Files\Microsoft VS Code\Code.exe, false
Apr 13 11:27:40.670 INFO Checking for running Code.exe processes... (attempt 1)
Apr 13 11:27:40.670 INFO Code.exe is running, wait a bit
Apr 13 11:27:41.148 INFO Checking for running Code.exe processes... (attempt 2)
Apr 13 11:27:41.153 INFO Code.exe is running, wait a bit
Apr 13 11:27:41.654 INFO Checking for running Code.exe processes... (attempt 3)
Apr 13 11:27:41.666 INFO Code.exe is not running
Apr 13 11:27:41.666 INFO Starting update, silent = false
Apr 13 11:27:41.691 INFO do_update: "C:\\Program Files\\Microsoft VS Code\\Code.exe", _
Apr 13 11:27:41.692 INFO move_update: "C:\\Program Files\\Microsoft VS Code\\unins000.dat", _
Apr 13 11:27:41.696 INFO Delete: "Code.exe" (attempt 1)
Apr 13 11:27:41.744 INFO Delete: "Code.exe" (attempt 2)
Apr 13 11:27:41.945 INFO Delete: "Code.exe" (attempt 3)
Apr 13 11:27:42.396 INFO Delete: "Code.exe" (attempt 4)
Apr 13 11:27:43.197 INFO Delete: "Code.exe" (attempt 5)
Apr 13 11:27:44.448 INFO Delete: "Code.exe" (attempt 6)
Apr 13 11:27:46.249 INFO Delete: "Code.exe" (attempt 7)
Apr 13 11:27:48.700 INFO Delete: "Code.exe" (attempt 8)
Apr 13 11:27:51.901 INFO Delete: "Code.exe" (attempt 9)
Apr 13 11:27:55.952 INFO Delete: "Code.exe" (attempt 10)
Apr 13 11:28:00.953 INFO Delete: "Code.exe" (attempt 11)
Apr 13 11:28:00.953 ERRO Access is denied. (os error 5)

On Windows 10 64 bit

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:14
  • Comments:142 (40 by maintainers)

github_iconTop GitHub Comments

11reactions
mrchiefcommented, Jul 12, 2018

Redirecting here is good to raise awareness. But ultimately, it forces everyone to scroll through the comments to figure out why they landed here.

A better UX would be to:

  • allow VSCode to update in background - this means 1) do not nag me on every instance, every time whether I want to update or not. 2) do not require admin permissions to do so.
  • upgrade vscode the next time it restarts silently (maybe make it configurable)

When in doubt, follow Chrome’s auto-update behavior.

Please do not let VSCode become the next Adobe Flash. 🙏

7reactions
robertcatgithubcommented, Jul 23, 2018

Microsoftee brilliance at work yet again F* this

Read more comments on GitHub >

github_iconTop Results From Across the Web

(Solved) How to fix Error Code 0x80070005
Summary: Error Code 0x80070005 — also known as 'Access Denied' error — is a type of Windows update error. It occurs when the...
Read more >
Windows Update Error code 0x80070005 - Microsoft Community
Error code 0x80070005 means Access denied and it usually occurs because of lack of permissions. If you're on standard user account, ...
Read more >
0x80070005 Access is Denied Update Error on Windows [Fixed]
This problem can be caused by problems with your administrator rights. To fix it: 1) On your keyboard, press the Windows logo key...
Read more >
0x80070005 Access is denied: Fix in 5 Steps - Windows Report
1. Gain administrator rights · 2. Use Microsoft's File and Folder Troubleshooter · 3. Run SFC · 4. Update Group Policy Settings.
Read more >
6 Methods to Fix Error Code 0x80070005 - As Shown in a ...
The Access Denied error notification comes up when a Windows user tries to install some system updates but does not have the required...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found