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
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.

🌐
Visual Studio Code
code.visualstudio.com › docs › setup › windows
Installing Visual Studio Code on Windows
1 week ago - GitHub Universe, on demand. Watch the VS Code session recordings. A year of VS Code, wrapped. Explore the highlights. Dismiss this update ... Visual Studio Code is available for Windows through a user installer, a system installer, and a ZIP archive.
Discussions

Install Visual Studio Code for all users - Stack Overflow
I updated to the version here where it installs it per user instead of all. How do I install for all users instead? Do I need to install for each user now? More on stackoverflow.com
🌐 stackoverflow.com
Add Visual Studio Code System Wide Installer Package
I am tagging Ladislau Szomoru ... the VS Code Package. As we have packages for VisualStudioCode and VisualStudioCodeInsiders but they both are the user installers. I want you to please add a System wide installer for both of these packages. ... Id: string # Microsoft.VisualStudioCodeSystem Publisher: Microsoft Corporation Name: Visual Studio Code - System ... More on github.com
🌐 github.com
August 22, 2020
Question about System Installer vs User Installer?
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… More on reddit.com
🌐 r/vscode
1
3
August 26, 2024
...but what's the actual point of user install instead of system-wide install?

Basically a user install doesn't require admin rights. This means if you want to use VSCode on your work computer you don't need to get IT to install it.

It should still show up in the start menu. Assuming you selected the option in the installer it should have a shortcut somewhere in

%appdata%\Microsoft\Windows\Start Menu\Programs`

Finally Microsoft does provide a system install version that sounds like what you are looking for. It's located on the download page: https://code.visualstudio.com/Download

More on reddit.com
🌐 r/vscode
6
9
January 22, 2021
🌐
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.
🌐
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 ...
🌐
GitHub
github.com › microsoft › vscode-docs › blob › main › docs › setup › windows.md
vscode-docs/docs/setup/windows.md at main · microsoft/vscode-docs · GitHub
The User setup is the recommended installation for most people because it does not require administrator permissions and supports smoother background updates. {% data variables.product.prodname_vscode_shortname %} provides both Windows user-level ...
🌐
Visual Studio Code
code.visualstudio.com › docs › setup › windows.md
Visualstudio
By default, the User setup installs VS Code under C:\Users\{Username}\AppData\Local\Programs\Microsoft VS Code. [!TIP] Setup adds Visual Studio Code to your %PATH% environment variable. Restart your console after installation, then run code . in a folder to open that folder in VS Code.
Find elsewhere
🌐
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 ...
🌐
GitHub
github.com › microsoft › winget-pkgs › issues › 3201
Add Visual Studio Code System Wide Installer Package · Issue #3201 · microsoft/winget-pkgs · GitHub
August 22, 2020 - I am tagging Ladislau Szomoru (@lszomoru) because he is maintaining the VS Code Package. As we have packages for VisualStudioCode and VisualStudioCodeInsiders but they both are the user installers. I want you to please add a System wide installer for both of these packages. ... Id: string # Microsoft.VisualStudioCodeSystem Publisher: Microsoft Corporation Name: Visual Studio Code - System Installer Version: 1.48.1.3dd905126b License: Copyright (c) Microsoft Corporation InstallerType: string # enumeration of supported installer types (exe, msi, msix, inno, wix, nullsoft, appx) Installers: - Arch: string # enumeration of supported architectures Url: string # path to download installation file Sha256: string # SHA256 calculated from installer # ManifestVersion: 0.1.0
🌐
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…
🌐
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.
🌐
Reddit
reddit.com › r/vscode › ...but what's the actual point of user install instead of system-wide install?
r/vscode on Reddit: ...but what's the actual point of user install instead of system-wide install?
January 22, 2021 -

I have all my software that I install installed system-wide under "Program Files", so I don't get why one program should be an exception. Why should I want user-install? Is there really no way to force system-wide install these days?

Note that I'm not looking for descriptions of differences per se between system-wide and user install. I'm looking for what the actual benefits of user install are, and what the actual disadvantages/problems with system-wide install are.

So far I'm aware of one disadvantage of user install, and that's the fact that the start menu search can't find vscode no matter what, because it's automatically installed to a location that the start menu search ignores.

Top answer
1 of 2
14

Basically a user install doesn't require admin rights. This means if you want to use VSCode on your work computer you don't need to get IT to install it.

It should still show up in the start menu. Assuming you selected the option in the installer it should have a shortcut somewhere in

%appdata%\Microsoft\Windows\Start Menu\Programs`

Finally Microsoft does provide a system install version that sounds like what you are looking for. It's located on the download page: https://code.visualstudio.com/Download

2 of 2
2

you should default to user install and only use system install when necessary. principle of least power and whatnot.

i somehow always irreparably fuck up my python install on windows because of conflicts between system versions, local versions, system pip, local pip, it’s a fuckin mess. any seasoned python dev will tell you the solution is to use one version of python and only install packages locally, preferably through aggressive use of virtual environments.

the main benefit of user install is isolation and orthogonality. system programs are in program files, personal programs that you would want to keep with you across machines are to be installed locally.

this is less relevant these days now that people rarely share computers, but the idea is the same. i act as if there’s another user who uses my computer under a different account sometimes. some programs should be universal, like photo editing software, video players, etc., while it isn’t really important that everyone have access to my customized text editor or the 800 million fonts i download.

🌐
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...
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.

🌐
Visual Studio Code
code.visualstudio.com › docs › getstarted › overview
Get started with Visual Studio Code
3 weeks ago - For System Setup, ZIP archive, or other options, see the full Windows setup guide. Download the .dmg installer. Open the .dmg file and drag Visual Studio Code.app to the Applications folder. Open VS Code from the Applications folder or Spotlight. To use the code command in the terminal, open the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) and run Shell Command: Install 'code' and optionally 'copilot' commands in PATH. Installing GitHub Copilot CLI is optional.
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 › system wide vs user wide install - which to use?
r/vscode on Reddit: system wide vs user wide install - which to use?
August 14, 2018 -

vscode is telling me that I have both system wide and user wide installs of vscode. What should I do? Uninstall one of the versions?
Yesterday, as part of the July update, was prompted to install a version that would make it easier to install new updates. That is the version I want.

🌐
GitHub
github.com › microsoft › vscode › issues › 125590
Clarity about User Installer and System Installer for Windows · Issue #125590 · microsoft/vscode · GitHub
June 5, 2021 - I just wasted 76.3 MB of mobile data downloading a User Installer then realized I was expected to get the System Installer. I also remember having to re-download the correct installer the last time I had visited the same site. Ideally, a single installer could simply change the behavior depending on whether it is run as a user or as an administrator (with helpful alerts about which mode it is in). But when we have two installers, the README needs to have explanations: ... Moreover, the download site https://code.visualstudio.com/ should make it clearer for Windows user what they're getting and also easier to get the alternative (without having to click "Other Downloads" — similar to the two options in Linux).
Author: microsoft