Elevated Execution

Post your messages that do not fit in the other rooms here.

Elevated Execution

Postby Johan » 16 Apr 2018, 16:28

Hi,

I've been struggeling a while to get a compliant workflow going.
I need to be able to submit jobs and retrieve server information in 3ds max without running max as administrator.
I've tried many things already, but besides wrapping the commandline in a socketserver of some sort I've not been able to properly communicate with the commandline interface (C:\Program Files (x86)\RenderPal V2\CmdRC\RpRcCmd.exe)
I use windows 10 and have UAC off, (but can't run max as admin). Every command I try will fire up a cmd window and that will fire up a new window (probably elevated) that executes, but that in turn doesn't write any data anymore.

Here's an example:
Code: Select all
rprccmd = "\"C:\\Program Files (x86)\\RenderPal V2\\CmdRC\\rprccmd\" "
cmd = "-compact -listpools >> d:\\temp_list.txt"
hiddendoscommand (rprccmd + cmd)

If I run that in max without "run as admin", the file gets created but is never written to. When I run max as admin it all works as expected.
Tried the python wrapper as well, same results.

I have a hard time understanding what the need for elevated rights is. Also tried changing rights on the exe, also did nothing.
How can I submit jobs from max to renderpall and retreive information from the manager without running max as admin.

Thanks!
-Johan
Johan
 
Posts: 3
Joined: 11 Apr 2018, 14:53

Re: Elevated Execution

Postby Johan » 16 Apr 2018, 17:43

To make it simpeler to understand the issue, start a command prompt thats elevated to admin and one without, now run both the same command:
Code: Select all
"C:\Program Files (x86)\RenderPal V2\CmdRC\RpRcCmd.exe" -listpools
http://forum.RenderPal.com/posting.php?mode=edit&f=5&p=3564
Admin one gives feedback the other not.

Hope this helps, please let me know how to get to RenderPal without admin rights.

Thanks,
-Johan
Johan
 
Posts: 3
Joined: 11 Apr 2018, 14:53

Re: Elevated Execution

Postby Johan » 20 Apr 2018, 12:23

Hmm, nothing? No one has these issues, or solved it?
Thanks!
-Johan
Johan
 
Posts: 3
Joined: 11 Apr 2018, 14:53

Re: Elevated Execution

Postby Shoran Support » 19 May 2018, 20:30

We've just released a new version that should solve this.
User avatar
Shoran Support
RenderPal Team
 
Posts: 1195
Joined: 11 Apr 2008, 00:35
Location: Germany


Return to General discussions

Who is online

Users browsing this forum: No registered users and 1 guest