The VS Code user installer puts the editor in your own profile folder and needs no administrator rights, while the system installer puts it in Program Files for every account on the PC and needs elevation. Microsoft recommends the user installer for most people.
This applies to Windows. The download page lists a "Windows x64 System installer", a "Windows x64 User installer" and a "Windows x64 zip" side by side, and it does not explain the difference there. The setup documentation does, and this article collects what it says. Facts below come from the VS Code docs as of November 2026.
User installer vs system installer at a glance
| User installer | System installer | |
|---|---|---|
| Administrator permissions | Not required | Required |
| Default location | C:\Users\{Username}\AppData\Local\Programs\Microsoft VS Code | Under Program Files |
| Who can use it | The account that installed it | All users on the machine |
| Updates from inside VS Code | Smoother background updates | Require elevation |
Folder added to %PATH% | %LOCALAPPDATA%\Programs\Microsoft VS Code\bin | C:\Program Files\Microsoft VS Code\bin |
The user installer file is named VSCodeUserSetup-{version}.exe. For the system installer, you run the installer with administrator permissions.
Why Microsoft recommends the user installer
The documentation says: "The User setup is the recommended installation for most people because it does not require administrator permissions and supports smoother background updates." Two practical benefits follow from that sentence.
- You can install it on a locked-down computer. If your account is a standard user account and you cannot approve a UAC prompt, the user installer still works, because everything lands inside your profile folder.
- The editor can update itself without prompting for elevation. A copy in your profile is writable by you, so the background update has nothing to ask for. The docs do not spell out the mechanism, so treat that as the likely reason rather than a documented one.
There is one catch on the user side. The docs say updates are disabled when VS Code runs as Administrator from a User setup installation. If you start the editor with "Run as administrator" out of habit, it will stop updating itself in that session. Start it normally and updates work again.
When the system installer makes sense
The documentation says the System setup "makes VS Code available to all users on the machine." That is the whole case for it. Typical situations:
- A shared computer where several people sign in with their own accounts and all need the editor.
- A machine set up by an administrator who wants one copy in
Program Filesinstead of one copy per profile. - A managed environment where the editor's versions are controlled centrally. The enterprise docs describe an
UpdateModepolicy, and when it is set tononethey say you can "control VS Code versions through your software deployment tools."
The cost is that in-product updates also require elevation. On a system install, someone with administrator rights has to approve the update, so a standard user cannot keep it current alone.
Update behavior and the update.mode setting
By default, VS Code on Windows is set up to auto-update when a new version is released, according to the FAQ. The installer type does not change that default, but it changes who is able to finish the update. If you want to control updates yourself, the setting is Update: Mode (update.mode), and the step-by-step is in How to update VS Code.
The same setting is documented in settings.json form like this:
{
"update.mode": "manual"
}
Both installer types ship from the same weekly release stream, so a version number you see in Help > About means the same thing either way.
The code command and PATH
Both installers add VS Code to your %PATH% environment variable. The option is called Add to PATH and appears on the Select Additional Tasks step of the setup wizard. The only difference is which bin folder gets added, as shown in the table above.
To check that it worked, open a new terminal and run:
code --version
If Windows reports that code is not recognized, the docs give three steps. First, close and reopen the terminal, because new environment variables only apply to terminals opened after installation. Second, rerun the installer and confirm that Add to PATH is checked. Third, confirm that the correct bin folder for your installer type is on PATH.
Switching between the two installers
The Windows setup page does not say whether a User and a System install can coexist, and it has no migration procedure. Because of that gap, the safest documented route is the plain one: uninstall the copy you have, then run the other installer.
- Open Add or Remove Programs and find Visual Studio Code in the Apps > Apps & features list. Select Uninstall from the three-dot menu and follow the prompts. The Control Panel route (Uninstall a program) works too.
- Run the other installer.
- Open VS Code and check Help > About.
The uninstall page lists the same Add or Remove Programs steps for both the User and System setups. It also says that to remove all user data you must delete the user data folders yourself, which implies a normal uninstall leaves them in place. If you do not delete them, a fresh install should find your existing settings, though the docs do not state that outright. On Windows the folders are:
%APPDATA%\Code
%USERPROFILE%\.vscode
%USERPROFILE%\.vscode-shared
Only delete these if you want a clean slate. The uninstall page gives the third path with a missing backslash, so the form above is the likely intent. Check what is in the folders first, because your settings and keybindings are in there.
Option three: the ZIP archive
The download list also offers a ZIP. The docs say to extract it and run VS Code from the extracted folder. There is no installer, so there is no choice between user and system scope. In exchange, the docs say you must update it manually for each release, and the uninstall page says you remove it by deleting the folder you extracted it into. The docs also suggest the ZIP as a fallback when the installer gives you problems, extracted to AppData\Local\Programs.
If your goal is to keep the editor and its data on a USB drive, the ZIP is also the base for portable mode. The details are in VS Code portable mode.
Which one to pick
- Your own laptop or desktop: the user installer. It matches the documented recommendation and avoids elevation.
- No administrator rights at all: the user installer, or the ZIP if even that fails.
- Shared PC where every account needs VS Code: the system installer, installed by someone with administrator rights, who also handles updates.
- Company-managed fleet: follow your administrator's choice, since a policy such as
UpdateModemay already control updates.
If something goes wrong after installing
- Editor will not update. Check whether you launched it as Administrator from a user installation, since the docs say updates are disabled in that case. On a system installation, approve the elevation prompt.
codenot found in the terminal. Open a new terminal window, then follow the PATH steps above.- AppLocker is configured. The docs say running as administrator is unsupported in that setup, and give a workaround of adding
"disable-chromium-sandbox": truetoargv.json. Only apply it if your administrator agrees. - A modified install shows an
[Unsupported]warning. The FAQ says reinstalling VS Code replaces the modified files and silences the warning.
Frequently asked questions
- Which VS Code installer should I download for Windows?
- For most people, the User installer. The VS Code documentation calls the User setup the recommended installation for most people because it does not require administrator permissions and supports smoother background updates. Choose the System installer only when VS Code must be available to every user account on the machine.
- Does the VS Code user installer need administrator rights?
- No. The User setup installs under your own profile, by default in C:\Users\{Username}\AppData\Local\Programs\Microsoft VS Code, and does not require administrator permissions. The System setup does require them and installs under Program Files.
- Can I update the system installer version of VS Code automatically?
- Yes, but updating needs elevation. The VS Code docs state that in-product updates for the System setup also require elevation, so a standard user without administrator rights cannot apply them through the editor.
- Will I lose my settings if I uninstall VS Code?
- Uninstalling does not delete your user data by default. The VS Code uninstall page says that to remove it you must delete the user data folders yourself. On Windows these are %APPDATA%\Code and %USERPROFILE%\.vscode, plus a .vscode-shared folder in your user profile.
- Is there a way to run VS Code without installing it at all?
- Yes. VS Code offers a ZIP archive for Windows. Extract it and run VS Code from the extracted folder. You then have to update it manually for each release, and you uninstall it by deleting the folder.