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
🌐
Reddit
reddit.com › r/vscode › how to get around the following? updates are disabled because you are running the user-scope installation of visual studio code as administrator.
r/vscode on Reddit: how to get around the following? Updates are disabled because you are running the user-scope installation of Visual Studio Code as Administrator.
September 22, 2023 -

I've completely uninstalled vs code several times and every time I try to run the user setup I get this

I'm an administrator user, but I am not right clicking - run as administrator or anything. I can't imagine that vs code wants to force its users to create guest accounts to run code so it can't be that my current user is an administrator. What is with this error?

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

I installed Visuaal studio code. Ran it once as administer. Now it wont run without Elevated privaleges How do I stop this as I dont think it is required.
I ran VS Code as administrator - it works oh but now I can't seem to tell it to run normally. The shortcut to run the program does not have the Run as administrator box checked but elevated privileges are still required. Checking an unchecking the box… More on learn.microsoft.com
🌐 learn.microsoft.com
4
2
June 3, 2023
vscode is running with [administrator] at top
When I install vscode on my new laptop I see the following warning: "This User Installer is not meant to be run as an Administrator. if you would like to install VS Code for all users in this ... More on github.com
🌐 github.com
February 3, 2021
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
VS Code Installer Will Not Run as Administrator (System-Wide Install\All User Install) on Windows 11 24H2
Does this issue occur when all extensions are disabled?: Not Applicable (NA) VS Code Version: 1.93, 192.2, 192.1, and earlier OS Version: Windows 11 24H2 Steps to Reproduce: Download VS Code 1.93, ... More on github.com
🌐 github.com
September 10, 2024
Top answer
1 of 2
7

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 › 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. The User setup is the recommended installation for most people because it does not require administrator permissions and supports smoother ...
🌐
YouTube
youtube.com › jafuuk
This User Installer is not meant to be run as an Administrator - YouTube
This User Installer is not meant to be run as an Administrator. If you like to install VS Code for all users in this system, download the system installer in...
Published: June 30, 2024
Views: 865
Top answer
1 of 4
6

That's not the fix. "Run as Administrator" was never ticked in the first place. The problem is the installer itself. It keeps running as Admin even though we never did Run as Admin. When double-clicking the installer it keeps saying "This User installer is not meant to be run as an Administrator. If you would like to install for all users in this system, download the system installer instead from https://code.visualstudio.com" even though we never run as admin.

Hi Bill,

Open this folder:

"C:\Users%username%\AppData\Local\Programs\Microsoft VS Code"

Right-click "Code.exe" and click Properties.

Select the "Compatibility" tab.

Uncheck "Run this program as an administrator" if it's enabled.

(I see you checked the shortcut properties. But the above is a separate setting.)

If that doesn't help, let me know if this problem is seen for other apps (e.g... Office apps).

Launch msinfo32.exe, press Ctrl + S to save the entries to an NFO file.

Please upload the NFO log and share it on OneDrive.

2 of 4
1

Hi Bill,

Open this folder:

"C:\Users%username%\AppData\Local\Programs\Microsoft VS Code"

Right-click "Code.exe" and click Properties.

Select the "Compatibility" tab.

Uncheck "Run this program as an administrator" if it's enabled.

(I see you checked the shortcut properties. But the above is a separate setting.)

If that doesn't help, let me know if this problem is seen for other apps (e.g... Office apps).

Launch msinfo32.exe, press Ctrl + S to save the entries to an NFO file.

Please upload the NFO log and share it on OneDrive.

🌐
GitHub
github.com › microsoft › vscode › issues › 115715
vscode is running with [administrator] at top · Issue #115715 · microsoft/vscode · GitHub
February 3, 2021 - "This User Installer is not meant to be run as an Administrator. if you would like to install VS Code for all users in this system, download the System Installer instead from http://code.visualstudio.com.
🌐
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 - "This User Installer is not meant to be run as an Administrator. If you would like to install VS Code for all users in this system, download the System Installer instead..."
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode › issues › 228052
VS Code Installer Will Not Run as Administrator (System-Wide Install\All User Install) on Windows 11 24H2 · Issue #228052 · microsoft/vscode · GitHub
September 10, 2024 - Does this issue occur when all extensions are disabled?: Not Applicable (NA) VS Code Version: 1.93, 192.2, 192.1, and earlier OS Version: Windows 11 24H2 Steps to Reproduce: Download VS Code 1.93, 192.2, 192.1, or earlier version install...
Top answer
1 of 1
4

It's clear I have the "user-setup installation" of VS Code. The "Learn more" link explains:

The user setup does not require Administrator privileges to run as the location will be under your user Local AppData (LOCALAPPDATA) folder. Since it requires no elevation, the user setup is able to provide a smoother background update experience. This is the preferred way to install VS Code on Windows.

System-setup installation

One solution (as suggested both here and here) is to use the system-setup installation of VS Code instead.

The system setup requires elevation to Administrator privileges to run and will place the installation under the system's Program Files. The in-product update flow will also require elevation, making it less streamlined than the user setup. On the other hand, installing VS Code using the system setup means that it will be available to all users in the system.

  • The system-setup installation requires Admin, which works for me (I "Run as Administrator" anyway!).
  • Also the system-setup installation is available to all users (side-effect, this may be a good thing or bad thing depending on your circumstances...)

Close and re-open VS Code as non-administrator

Another solution is simply to close all open VS code instances, then re-open VS Code as a non-administrator.

In my case VS Code automatically started updating (check the Help menu; notice the disabled "Installing updates..." message, or if that process is finished, the option might read "Restart to Update")

Check for updates (requires one of the above two)

Finally you could try to update manually by checking the Help menu option > "Check for Updates" as suggested here.

However, this option is not available while you have a user-setup installation and you "Run as Administrator", so if you want to manually Check for Updates, you must use one of the above two approaches.

Of course you could manually re-install VS Code if the other options don't work. More on VS Code's auto-updating here, and disabling it here

EDIT I agree with @Waggers' comment,

I understand that I don't need to be an administrator to get updates on the user version. I don't understand why being an administrator means I can't get automatic updates, that's completely counter-intuitive.

When I check these spots in VS Code source code where I find the message "Updates are disabled..." and the enum DisablementReason.RunningAsAdmin, I don't see comments... maybe if I checked the Git history...

My best guess is this is to prevent anyone who mistakenly thinks that "Running as Administrator" changes the scope of the installation to be more "system-wide" (which it won't, as long as you have the "user-setup installation")

🌐
Cursor
forum.cursor.com › support › help
Tried to install Cursor but a pop-up asks me to go to https://code.visualstudio.com. instead! - Help - Cursor - Community Forum
April 17, 2025 - When I clicked on setup .exe file ... like to install VS Code for all users in this system, download the System Installer instead from https://code.visualstudio.com....
🌐
GitHub
github.com › microsoft › vscode › issues › 300842
Allow updating a System/Admin VS Code install from within VS Code · Issue #300842 · microsoft/vscode · GitHub
March 11, 2026 - The obvious alternative is to download and run the User Installer, which normally allows updates without administrator privileges. However, when UAC is disabled (EnableLUA = 0), all processes run with elevated privileges. As a result: ... Because UAC is disabled, it is not possible to launch a non-elevated process. This means:
🌐
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...
🌐
GitHub
github.com › microsoft › vscode › issues › 272172
VS Code User Installer on Windows 11 always opens as Administrator despite normal install · Issue #272172 · microsoft/vscode · GitHub
October 19, 2025 - VS Code always opens as (Administrator), forcing elevated privileges unnecessarily. ... The issue persists even after deleting cached settings and reinstalling VS Code. This affects normal daily coding and may create file permission issues.
🌐
codestudy
codestudy.net › blog › can-i-install-visual-studio-without-admin-rights
Can I Install Visual Studio Community Edition Without Administrator Rights? — codestudy.net
Unlike Visual Studio, VS Code can be installed in "user mode" without admin rights: Download the VS Code User Installer (select the "User Installer" option for Windows). Install it to C:\Users\<YourUsername>\AppData\Local\Programs\Microsoft VS Code.
🌐
Developer Community
developercommunity.visualstudio.com › t › Allow-Visual-Studio-to-install-without-a › 640424
Allow Visual Studio to install without admin rights
Visual Studio IDE Visual Studio Code Azure DevOps Team Foundation Server Accounts and Subscriptions Subscriber Access
🌐
GitHub
github.com › microsoft › vscode › issues › 298494
User setup cannot be updated when running as admin user without UAC · Issue #298494 · microsoft/vscode · GitHub
February 28, 2026 - BTW - in case anyone find this useful, adding this to your prompt function in one of your PowerShell profile scripts adds a background thread once a day to check if your user-install of vscode is up to date or not, and if not will popup a dialog letting you know and will run the installer to update it if you wish. If it find itself running inside VS Code, it instead will ask you to run the install outside of vscode (the reference to running Update-VSCode manually is to a script we have in the local environment).
🌐
Super User
superuser.com › questions › 1792631 › impossible-to-keep-user-install-in-visual-studio-code
installer - Impossible to keep user install in Visual Studio Code - Super User
June 30, 2023 - The reason why, even though I pinned the System instance to the taskbar, it was executing the User instance is unknown to me, but uninstalling the User instance from the program manager from Windows solved this issue.