Skip to content
Discussion options

You must be logged in to vote

Hi,
This usually happens because some VS Code background processes are still running even after the main window was closed previously. Extensions, terminals, update services, or crashed processes can sometimes remain active in the background, which prevents the updater from modifying or deleting VS Code files.

A few things you can try:

  • Completely close VS Code
  • Open Task Manager and end all Code.exe or “Visual Studio Code” processes
  • Then run the updater again
  • If that does not work, restart your PC and try updating before opening any project

Sometimes antivirus software or Windows permissions can also lock files temporarily, which can trigger the same “Access is denied (os error 5)” message.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Mahatva1303
Comment options

@Rod-at-DOH
Comment options

@Mahatva1303
Comment options

@Rod-at-DOH
Comment options

Answer selected by Rod-at-DOH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development source:ui Discussions created via Community GitHub templates
2 participants