User setup for Windows

Announced last release, the user setup package for Windows is now available on stable. Installing the user setup does not require Administrator privileges as the location will be under your user Local AppData (LOCALAPPDATA) folder. User setup also provides a smoother background update experience.

Download User Setup

If you are a current user of the system-wide Windows setup, you will be prompted to install user setup, which we recommend using from now on. Don't worry, all your settings and extensions will be kept during the transition. During installation, you will also be prompted to uninstall the system-wide setup.

Reference: https://code.visualstudio.com/updates/v1_26#_user-setup-for-windows

Answer from Surenthar Pitchai on Stack Overflow
🌐
Visual Studio Code
code.visualstudio.com › docs › setup › windows
Installing Visual Studio Code on Windows
1 week ago - Visual Studio Code is available for Windows through a user installer, a system installer, and a ZIP archive.
Top answer
1 of 5
95

User setup for Windows

Announced last release, the user setup package for Windows is now available on stable. Installing the user setup does not require Administrator privileges as the location will be under your user Local AppData (LOCALAPPDATA) folder. User setup also provides a smoother background update experience.

Download User Setup

If you are a current user of the system-wide Windows setup, you will be prompted to install user setup, which we recommend using from now on. Don't worry, all your settings and extensions will be kept during the transition. During installation, you will also be prompted to uninstall the system-wide setup.

Reference: https://code.visualstudio.com/updates/v1_26#_user-setup-for-windows

2 of 5
59

I installed the user version side-by-side with the system version with no problems. The basic differences between the two is that the system version installs on the file system like every other app. The user install is basically a click-once (or web installer) version that installs in the User folder of the machine.

The settings made to VS Code in the system version save for Everybody on the computer and the user version the settings are only for the user. I find that the behavior of the user version is a bit annoying for me because I have reasons to want to open multiple copies of VS Code at the same time and the user version only allows one instance. Otherwise, there's not really anything different between the two as far as I can tell.

Discussions

Should I use the User or System Installer?
I downloaded the default installer, which is the User Installer, but when I try to install it, it says: "This User Installer is not meant to be run… More on reddit.com
🌐 r/vscode
4
2
December 13, 2019
visual studio code - What is VSCode User Setup for Windows? - Stack Overflow
On a Windows workstation after a recent update of VSCode I'm prompted (recommended) to install a "User Setup Distribution of VSCode for Windows" The link for more info leads to: Download... More on stackoverflow.com
🌐 stackoverflow.com
VS Code: Why does the User Installer warn about administrator privileges? - Stack Overflow
So I've read that when installing Visual Studio Code, the User Installer is recommended because it installs to the Users folder and does not require administrator privileges, but apparently it also More on stackoverflow.com
🌐 stackoverflow.com
January 31, 2020
vs code - What is VSCode User Setup for Windows? - Stack Overflow
On a Windows workstation after a recent update of VSCode I'm prompted (recommended) to install a "User Setup Distribution of VSCode for Windows" The link for more info leads to: Download... More on stackoverflow.com
🌐 stackoverflow.com
People also ask

How do I update Visual Studio Code on Windows?

VS Code has an auto-update feature that checks for updates and installs them automatically. You can also manually check for updates by going to the \"Help\" menu and selecting \"Check for Updates.\"

🌐
ultahost.com
ultahost.com › knowledge-base › install-visual-studio-code-windows
How to Install Visual Studio Code on Windows | Ultahost Knowledge Base
Can I install Visual Studio Code without an internet connection?

The initial installer download requires an internet connection. However, once you have the installer, you can install VS Code offline. Note that some extensions and features may require an internet connection to download and update.

🌐
ultahost.com
ultahost.com › knowledge-base › install-visual-studio-code-windows
How to Install Visual Studio Code on Windows | Ultahost Knowledge Base
Where can I download Visual Studio Code for Windows?

You can download Visual Studio Code from the official website: https://code.visualstudio.com/. Click on the \"Download for Windows\" button to get the installer.

🌐
ultahost.com
ultahost.com › knowledge-base › install-visual-studio-code-windows
How to Install Visual Studio Code on Windows | Ultahost Knowledge Base
🌐
Visual Studio Code
code.visualstudio.com › docs › setup › windows.md
Visualstudio
Visual Studio Code is available for Windows through a user installer, a system installer, and a ZIP archive.
🌐
InfoWorld
infoworld.com › home › software development › development tools
Get started with Microsoft’s Visual Studio Code | InfoWorld
January 24, 2024 - If you have specific needs, you can customize the setup process by using a different method: If you’re the only user on a given system, the “System Installer” package installs VS Code systemwide, and so saves you the trouble of having ...
🌐
tutorialpedia
tutorialpedia.org › blog › what-is-vscode-user-setup-for-windows
What is VSCode User Setup for Windows? Difference from System-wide Installation Explained — tutorialpedia.org
User Setup lets you associate file ... to your user account. System-wide Installation can set associations for all users (if the installer runs with admin rights), ensuring consistency across the machine....
🌐
Reddit
reddit.com › r/vscode › should i use the user or system installer?
r/vscode on Reddit: Should I use the User or System Installer?
December 13, 2019 - how to get around the following? Updates are disabled because you are running the user-scope installation of Visual Studio Code as Administrator.
Find elsewhere
🌐
Quora
quora.com › Whats-the-difference-when-choosing-to-install-Visual-Source-Code-using-user-vs-system-install
What's the difference when choosing to install Visual Source Code using 'user' vs 'system' install? - Quora
Answer (1 of 4): Hi, I suppose you are talking about Visual Studio Code, but it doesn't matter much. I also assume you are talking about installing it under Windows ( which in this case is more relevant )… Thus, under Windows, doing a system (-wide ) installation means the installed applicatio...
🌐
Devgex
devgex.com › en › article › 00031713
Comprehensive Analysis of User vs System Installer in Visual Studio Code - DevGex
December 1, 2025 - System Installer updates typically require administrator approval or manual execution of installers, potentially causing update delays or workflow interruptions. For development tools requiring frequent updates for new features and security ...
🌐
MCU on Eclipse
mcuoneclipse.com › 2023 › 08 › 05 › vs-code-ide-installation
VS Code: Installation | MCU on Eclipse
August 18, 2023 - With the System Installer the IDE gets installed into the system programs, and will be available for all users. If using the .zip file, everything is in one folder and does not require a setup, but updates need to be manually, and you might ...
🌐
UltaHost
ultahost.com › knowledge-base › install-visual-studio-code-windows
How to Install Visual Studio Code on Windows | Ultahost Knowledge Base
May 26, 2024 - This version installs VS Code for all users on the system and requires administrator privileges. It’s suitable for environments where multiple users share a single machine. ... This is a portable version of VS Code that doesn’t require ...
🌐
Visual Studio Code
code.visualstudio.com › docs › getstarted › overview
Get started with Visual Studio Code
3 weeks ago - The installer adds code to your PATH, so you can also open a folder from the terminal with code .. For System Setup, ZIP archive, or other options, see the full Windows setup guide. Download the .dmg installer.
🌐
Radish Logic
radishlogic.com › home › installing visual studio code for all users in windows
Installing Visual Studio Code for All Users in Windows - Radish Logic
April 9, 2022 - The filenames looks similar. The difference is the System Installer does not have the word User, while the User installer has. With the steps above you can now install Visual Studio Code for all Users in your Windows.
Top answer
1 of 4
56

VSCode User Setup is a new installer, with a new install strategy, which installs the whole executable for VSCode and its dependencies in directories which don't require system-level / administrator permissions to modify. This allows a few things:

  • Users who don't have admin privileges to their workstation can still install and use VS Code
  • VS Code can perform its updates with fewer prompts (basically without the system-level privilege escalation prompts)

One tip: If you already had VSCode installed as a system-wide installation and you switch to the new installer as prompted/recommended, the User Setup installer will suggest that you uninstall the system-wide install first. I was a little nervous that I might lose my extensions doing this, but I went ahead and tried it and am happy to report that my extensions, recent projects, and other data regarding my VSCode use remained intact between uninstalling the "old" version and then proceeding with install of the new User Setup version.

2 of 4
7

(I'm a first time responder after many years.) Note there is another useful discussion on this subject at: (What is the migration procedure for moving from Windows system-wide Visual Studio Code to user setup?). I too got worried when I got unexpected messages from the install informing me that the version was already installed and asking me if I wanted to continue? I clicked NO, why continue if it is already installed. However, in the process I became aware of the distinction between 'distribution' and 'version'. It turns out that the install works pretty much flawlessly no matter how you go about it. You can delete the system-wide distribution or not. If you do delete, you can delete before the new install, (which I did). You can also delete after the new install. (I didn't read too closely but there might be an extra step if you want to use both distributions.) In hindsight, since all approaches work nearly flawlessly, a minimal amount of instruction is all that was required. But in foresight, a little extra information on what to expect would have expedited the process for several people, including me. P.S. I found the answers in this thread useful. Thanks.

Top answer
1 of 2
4

If you log in as an admin user and try to install the user version of vs code you get the warning. If you go ahead and install then your vs code won't be able to get update notifications or be able to auto update. If this is a problem for you the solution is to not run the install directly but to run it as follows:

runas /machine:x86 /trustlevel:0x20000 vscodeinstaller.exe

The above will run the always x86 installer exe and install your selected version as a regular user. trustlevel x20000.

Answer found at this link: How to install application as regular user if your are logged in as Administrative User

Not as simple as I had hoped. After install that avoids the warning you are still running code as admin because you are in the admin group. So... still no auto update and you still get that annoying warning.

Make a shortcut with:

C:\Windows\System32\runas.exe /machine:amd64 /trustlevel:0x20000 "C:\Users\brook\AppData\Local\Programs\Microsoft VS Code\code.exe"

Put it on your desktop and run it.

Windows will push all your "open with code" double click on files into the running version.

2 of 2
1

Stealing from this answer, I see that visualstudio.com says:

If you are a current user of the system-wide Windows setup, you will be prompted to install user setup, which we recommend using from now on.

That suggests to me that the error message we've both seen will soon be obsolete.

That is, when the installer sees you logged in as admin (which conventionally means you wouldn't be coding), it assumes you wanted this now-intended-to-be-deprecated use case where you're installing once on the system for ALL users, which the user setup won't do.

You've probably seen installers ask this: "Do you want to install for all users or just your user?" If all users, it asks you to give the installer admin permissions and installs in Program Files. If just you, it installs in a user path (like VS Code for users does: C:\Users\thySmyUserName\AppData\Local\Programs\Microsoft VS Code).

Instead of a unified system/user install, VS Code seems to have broken it into two.

Make sense? If you're installing to code when logged in as admin, like on a remote box or something, that might still be a bit of an admin smell, but the user setup sh/w/ould otherwise be fine.

If you wanted to install for every user on the box, which you could do with your fancy admin permissions, you'd need to get a different installer. That's all.

Top answer
1 of 4
57

VSCode User Setup is a new installer, with a new install strategy, which installs the whole executable for VSCode and its dependencies in directories which don't require system-level / administrator permissions to modify. This allows a few things:

  • Users who don't have admin privileges to their workstation can still install and use VS Code
  • VS Code can perform its updates with fewer prompts (basically without the system-level privilege escalation prompts)

One tip: If you already had VSCode installed as a system-wide installation and you switch to the new installer as prompted/recommended, the User Setup installer will suggest that you uninstall the system-wide install first. I was a little nervous that I might lose my extensions doing this, but I went ahead and tried it and am happy to report that my extensions, recent projects, and other data regarding my VSCode use remained intact between uninstalling the "old" version and then proceeding with install of the new User Setup version.

2 of 4
7

(I'm a first time responder after many years.) Note there is another useful discussion on this subject at: (What is the migration procedure for moving from Windows system-wide Visual Studio Code to user setup?). I too got worried when I got unexpected messages from the install informing me that the version was already installed and asking me if I wanted to continue? I clicked NO, why continue if it is already installed. However, in the process I became aware of the distinction between 'distribution' and 'version'. It turns out that the install works pretty much flawlessly no matter how you go about it. You can delete the system-wide distribution or not. If you do delete, you can delete before the new install, (which I did). You can also delete after the new install. (I didn't read too closely but there might be an extra step if you want to use both distributions.) In hindsight, since all approaches work nearly flawlessly, a minimal amount of instruction is all that was required. But in foresight, a little extra information on what to expect would have expedited the process for several people, including me. P.S. I found the answers in this thread useful. Thanks.

🌐
Reddit
reddit.com › r/vscode › question about system installer vs user installer?
r/vscode on Reddit: Question about System Installer vs User Installer?
August 26, 2024 - I heard that the User Installer will install into the AppData and the System Installer will install into the Program Files is this true? I prefer my…
🌐
Quora
quora.com › What-is-the-difference-between-a-user-installer-and-a-system-installer
What is the difference between a user installer and a system installer? - Quora
Answer (1 of 2): User installer installs in your User folder and does not need Administrator privileges. System installer installs for all users on the system and needs Administrator privileges. Sagar Suba
🌐
Reddit
reddit.com › r/vscode › vscode on windows: .exe vs .msi vs microsoft store, any real difference?
r/vscode on Reddit: VSCode on Windows: .EXE vs .MSI vs Microsoft Store, any real difference?
September 13, 2023 -

Quick disclaimer: before posting this I tried to look around the internet but didn't find a precise answer to this question nor something that was decently recent.

As the title says I was wondering what changes between the three.

I'm restarting to get into web development and I'll only be doing front-end for a while, so I know that any of the three options will do it for me, but I'm still curious about what's different in them.

On the website you have the .exe and the .msi while I guess the Store version is the UWP app.

I'm curious because I wonder why Microsoft provides three versions of the same software, and also because on Linux sometimes extensions or other stuff acted slightly different depending if you used the distro's native package, the Flatpak, the Snap or whatever.

So basically: does anyone know the real difference between these and why choose one or the other?

Top answer
1 of 12
170

Update 10.11.2018

If you do a complete re-install, including uninstalling prior versions of code installed on your machine the new version will be installed at

C:\Users\{UserName}\AppData\Local\Programs\Microsoft VS Code

Update 06.07.2018

Since Version 1.25 VS Code supports portable mode. Instructions on how to use this are documented here.

You will need the ZIP file download version - not the installer. After unzipping the contents of the archive, create a data folder inside the folder, where code.exe is located. All settings will now be saved there and can be brought along with you.

|- VSCode-win32-x64-1.25.0-insider
|   |- Code.exe (or code executable)
|   |- data
|   |- ...

On macOS, the folder must be named code-portable-data and has to be a sibling of the app itself. Not inside the app.

|- Visual Studio Code.app
|- code-portable-data

The reasoning behind this can be read here: What is VSCode User Setup for Windows?


Update

If you are using the x64 version, the path is:

C:\Program Files\Microsoft VS Code\
C:\Program Files\Microsoft VS Code\Code.exe   

Original answer

At this point and time (Version 1.19.2) Vs code no longer resides in your AppData folder, but under

C:\Program Files (x86)\Microsoft VS Code\
C:\Program Files (x86)\Microsoft VS Code\Code.exe   
2 of 12
33

There are two types of installer available for VSCode. Go to link to find type of installer you want.

If you are using/going for User Installer, the version will be installed at:

C:\Users\{UserName}\AppData\Local\Programs\Microsoft VS Code

If you are using/going for 64bit System installer, the version will be installed at:

C:\Program Files\Microsoft VS Code\

If you are using/going for 32bit System installer, the version will be installed at:

C:\Program Files (x86)\Microsoft VS Code\