Machine control with service and different user

Hi,

I can’t get the remote machine (windows 7, 64bit) to restart/shutdown/… when deadlinelauncher is running as service, and no user is logged in (at the ctrl+alt+del login screen), But I can still get the machine to render (3ds max)

More info:
userA: The user that is associated with the deadlinelauncher, and is a admin account.
userB: Normal user
When userB is logged in the restart/shutdown/… does not work, when I execute restart i get “Restartmachine: Succeeded”, but no restart, then when userB logs out the computer restarts.

When userA is logged in everything is working as expeected, can restart/shutdown etc.

Any good ideers how to make this work, since it looks like a windows issue?

When running as a service, Deadline uses the “shutdown” command line tool to shutdown the machine. The behavior you’re seeing is probably because we currently do not use the “/force” flag:
technet.microsoft.com/en-us/libr … x#BKMK_cmd

Based on that article, using the /force flag should allow the situation you’ve described to work. I’ve logged this as a feature request.

Cheers,

  • Ryan