B
B
beduin012016-11-15 22:57:28
Windows
beduin01, 2016-11-15 22:57:28

How can I make a process inherit permissions from its parent?

There is a Windows script that runs from CMD. Windows has some sort of corporate security policy. As a result, the script needs to be run from the admin so that he gets the right to the directory he needs. The problem is that this script pulls a bat file that pulls some kind of Java application. And then it falls obviously because he does not have enough rights. rights as I understand it are not inherited.
In practice, it looks like this. Notepad++ can't overwrite a file without a UAC window saying it needs admin rights. I think the Java application crashes for the same reason. It does not provide for elevation. Those. it stupidly tries to access the directory and crashes.
All applications are ready and it’s impossible to finish them and make them wisely. Whether it is possible to be perverted somehow and to make that it worked?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question