Launch Process with NOT as Administrator
Posted on 2016-10-18
Is it possible, in Windows 10, for an application WITH Administrator Permissions to launch a process WITHOUT Administrator Permissions?
I'm using C#. To keep the discussion straightforward, let's say I launch Visual Studio with Administrator Permissions (dvenv.exe). Here is the code:
cmd is always launched with "Run as administrator".
If I launch Visual Studio Not as Admnistrator, cmd is launched Not as Administrator.
Is there a way for dvenv.exe when launched As Administrator to launch cmd NOT as administrator?
Thanks in advance.