Home > other >  Run Visual Studio 2022 without admin rights on Windows 11
Run Visual Studio 2022 without admin rights on Windows 11

Time:01-17

I installed Visual Studio 2022 on Windows 11. When I launch it, it's always run with admin rights. I want to run it without admin rights. My Windows has only one account, which has an admin rights.x

What I did:

  • Confirmed "Run as administrator" is unchecked in the property of VS2022.
  • Changed the ownership of dev.envexe from admin to users.

Any help is greatly appreciated!

CodePudding user response:

You either have UAC disabled or your "one acount" is literally the built-in Administrator account (can be renamed). In this case the account always has the elevated token and UAC is bypassed. It's not possible to run as not admin. You'll need to create another account and login with that account instead. As it is your effectively logging in directly like root on unix.

  • Related