Block Starting an exe

Hi, i have the problem, that i can only install a programm, when a specific programm is closed. Stop-Process is working perfectly, but i need to prevent users starting the program again until the installation is finished. Otherwise the installation will fail.

Is there a possibility to prevent starting an .exe?

1 Like

Great, Thanks.

Is the MessageBox then also working when the installation is running with system account, not user account?

If you use SCCM/MECM, in you deployment type do this:

image