Unhandled Exception

So I was trying to download VS Code onto my laptop and this happened…

It says that the access to the path ‘downloadvscodetmp’ is denied. Anyone know how to fix it?

It’s basically saying it can’t write to the folder named download/vscodetmp. Since vscodetmp is generated by the installer when you run it, I’m assuming its companing another process is blocking the folder from being written to. So the first thing I would try to do is restart your computer, delete the vscodetmp folder and running the installer again. If you’re still running into issues, I would (if you haven’t yet) try to install it for all users, as that will put you into admin mode on windows which should get around permission issues. If you can’t do that, I’m assuming you’re using a school computer which locks permissions on what you can/can’t do, at which point I would try using a different computer.

Okay, I will try that. Thanks.

Where did you extract the installer exe file to. It needs to be somewhere your account has write permissions for, as it uses that folder as the temp directory.

1 Like

Have you tried turning it off and on again?

Windows defender or something locking the folder on access maybe? Make sure you are allowing the execution of the installer.