Related to my other question, I need to be able to run the command prompt NOT as an admin. Whenever I launch a command prompt, either from the Start Menu, or by double clicking the C:\Windows\System32\cmd.exe
file in File Explorer, it runs it with elevated permissions.
How can I run it so it just runs in the normal non-elevated mode? Cmd.exe isn't required to be ran as admin, and typically when you launch it, it doesn't run as admin, but for some reason it is defaulting to run as admin on this machine. This is on a Windows Server 2012 R2 server. My account I'm logged in with has admin privileges (but it's not the default built-in Administrator user account), and the only workaround I can think of is to run it as a different user that does not have admin priviledges, which would require me to first create a non-admin account on the server, which seems excessive. Is there an easier way?
Administrator: cmd.exe (running as Domain\Username)
. @Moah I tried that as well, but the shortcut does not have the run as admin checked. @paradroid Win+X does list bothCommand Prompt
andCommand Prompt (Admin)
, but they both launch the command prompt as admin. Thanks for the suggestions though guys :)File
->Run as Limited User
. A run bar will appear, and you can entercmd
or whatever else you want. technet.microsoft.com/en-us/sysinternals You are correct, Runas will always elevate if the user is capable of elevation. you could create a non-elevatable user, and run as them though if you really want to use runas. Procexp is easier. But make sure that cmd.exe is not marked to always run as Admin under the Properties -> compatibility tab.