Open seahckr opened 7 years ago
Hello,
You should launch your java application as an administrator in order to archieve this.
Regards
I noticed this was still open despite being an old issue, but for anyone else searching like I was.
Running your applications executable as admin will indeed work. But if your using an IDE, running that too will most likely enable JPowerShell to run with administration privileges.
I only confirmed this with Intellij IDEA.
I want my commands to execute as a Administrator - what's the best way to achieve this?