```
Create a new txtfile, pase this content:
@
echo Set objShell = CreateObject("Shell.Application") > %temp%\sudo.tmp.vbs
@
echo args = Right("%*", (Len("%*") - Len("%1"))) >> %temp%\sudo.tmp.vbs
@
echo objShell.ShellExecute "%1", args, "", "runas" >> %temp%\sudo.tmp.vbs
@
cscript %temp%\sudo.tmp.vbs
and save it as SUDO.cmd.
Now copy the cmd to your system32 folder.
When you now want to run a programm with admin rights type this:
sudo cmd /k javaw.exe JAVA file
Now accept the UAC prompt.
Hope this helps.
```
[how-to-run-a-program-as-adminitrator-via-the-command-line](
https://social.technet.microsoft.com/Forums/windows/en-US/05cce5f6-3c3a-4bb8-8b72-8c1ce4b5eff1/how-to-run-a-program-as-adminitrator-via-the-command-line?forum=w7itproappcompat)