(C#) is it Possible to start a process in the process?

f5d8183178c44083ba08b1068ed3d63f.png
Maybe my question is not quite correct, the problem is as follows:
Domain group policy not run third-party applications. I want to write a kind of application Manager, which is launched in your process the required application.
For example:
  1. The user can run process.exe - which is allowed by group policy
  2. Replaceable process.exe our application Manager pre-renaming it process.exe
  3. Select the desired(s) EXE schnick(s) and click run - it(and) run in process process.exe to bypass policies

The Manager plans to use for good purposes, not for ociania total chaos.
September 19th 19 at 12:05
2 answers
September 19th 19 at 12:07
Solution
So try any existing Manager - cmd, far, navigator, etc, and find out that will not help.
The ban does not exist in the desktop, but on a higher level, that is, substitution of the parent program does not help you.

But it may help to read something like:
https://xakep.ru/2011/10/24/57477/
However, viruses, etc. the software implement your code into already running processes and executed with the privileges of the process, so still it might have been the motivation)) - Myrtle36 commented on September 19th 19 at 12:10
: You wrote not even read?
If you can run the process Manager just renaming it allowed the process, why don't you can just rename the desired program and immediately run it?

p.s. code injection into running processes, and executing with their privileges, has nothing to do with the security policy about which you asked initially. - marcos39 commented on September 19th 19 at 12:13
: no, your advice very useful, and in General gpedit solved the problem))
And rename the program will not work, because the logic of the program seems tied to the name of the exe file. Thank you for the article! - Myrtle36 commented on September 19th 19 at 12:16
To thank you there are special buttons ) - marcos39 commented on September 19th 19 at 12:19
September 19th 19 at 12:09
First, specify group policy to restrict running programs are only used by Explorer or the windows api? If group policy only work in Explorer, you just need to programmatically create a new process from your application, which is pre-sometime you need to run.

Find more questions by tags C#.NET