Author Topic: Run Keyshot in batch mode without Windows desktop?  (Read 65 times)

0 Members and 1 Guest are viewing this topic.

Offline Tiemo

  • Newbie
  • *
  • Posts: 1
Run Keyshot in batch mode without Windows desktop?
« on: August 07, 2019, 01:16:33 am »
Hi folk,

I would like to start keyshot from out of a Windows service to batch export data. Since a Windows service is running in insolation mode of session 0 without user interaction, the KeyShot process starts up but hangs with 120MB of RAM usage as long as KeyShot starting in session 0. If KeyShot is assigned to a logged on user, all is working well. I already tried a lot of all the windows APIs to prevent this behavior like CreateProcessAsUser, CreateProcessWithLogonW, etc.. But it is always failing as long as session 0 is used.

Is there any option to run KeyShot in batch mode that allows to run under session 0?

PS: To reproduce my issue simple start KeyShot using PSExec from Sysinternals: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
psexec.exe -s -i 0 keyshot.exe

Many thanks,
Tiemo