Reset vray spawner via network

Is there a way to do this ? At the moment I am having to manually connect via remote desktop and close and restart each one.

Also, is there a way to install vray3.0 upgrade onto multiple machines via the network. I would also have to do this manually at the moment.

I do this via Refamo - a paid utility which I use to run batchfiles locally on slaves. http://refamo.com/ - don’t use latest 4.0.17 SP1 - buggy as hell - use previous 4.0.17.

The batchfile I use to kill and restart DR on slaves is this:

taskkill /F /IM vrayspawner2012.exe
taskkill /F /IM vrayspawner2013.exe
taskkill /F /IM vrayspawner2014.exe

TIMEOUT 1

taskkill /F /IM 3dsmax.exe

TIMEOUT 1

: DR start 2014

START “” “C:\Users\dave\Desktop\Launch V-Ray DR spawner 2014.lnk”

TIMEOUT 30

we restart the whole pc with this bat script:

net use \\slavename /user:adminuser adminpassword
shutdown /f /r /m \\slavename /t 00

You can also use this method and just add lines for each slave. That way you can restart the whole farm one shot.

Then we’ve also set the pc to autologon and in the startup run spawner

Thanks Guys.

Morne: I’ve got the same autologin for each server but it kind of seems overkill to have to restart the entire pc just because the vray spawner needs restarting.

I did find this info though which may be a solution (:

http://www.dataschenk.com/DS-00020-WI/How-To-Kill-Process-On-Remote-Computer/

and this process killer: PsKill - Sysinternals | Microsoft Learn

and this for process starting on remote: PsExec - Execute process remotely command - Windows CMD