L
L
lysakov2015-03-01 15:19:42
.NET
lysakov, 2015-03-01 15:19:42

(C#) Is it possible to run a process in a process?

f5d8183178c44083ba08b1068ed3d63f.png
Maybe my question is not entirely correct, the essence of the problem is as follows:
The group policy of the domain prohibits the launch of third-party applications. I want to write a kind of application manager that would launch the desired application in its process.

For example:
  1. User can run process.exe - which is allowed by group policy
  2. We change process.exe to our application manager after renaming it to process.exe
  3. Select the desired exe(s) and click run - it(s) are launched in the process.exe process, bypassing the policies

I plan to use the manager for good purposes, and not for the sake of causing total chaos.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2015-03-01
@lysakov

So try any existing manager - cmd, far, navigator, etc, and find out what doesn't help.
The ban does not exist in the desktop, but at a higher level, that is, replacing the parent program will not help you.
But reading something like this might help:
https://xakep.ru/2011/10/24/57477/

A
asdz, 2015-03-01
@asdz

First, clarify, are group policies to limit the launch of programs used only by the explorer or at the windows api level? If group policies only work in Explorer, then you just need to programmatically create a new process from your application, which must first be started somehow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question