Backburner Automated Script not working
Hey all, I am the IT administrator at a school which heavily teach 3D animation so rendering in Maya is a large part of what we do, and its my job to set up the render nodes with backburner.
Anyway I have been working on a way to install backburner as a service, so that it runs when the PC is at the login screen, and then cancels the service once someone tries to use that PC and logins in to their own account on the domain.
The process involves searching for all backburner.xml files and removing them, starting up the server and inputting the manager IP, installing backburner as a service, making the service start automatically (delayed start) and allowing it through the firewall.
It has been working perfectly for months, but wanted something more automated so created a batch script which is the following:
@echo off
REM Enable Backburner Service
cd \Program Files (x86)\Autodesk\BackBurner\
serversvc.exe -i sc config "BACKBURNER_SRV_200" obj= "username (hidden)" password= "p@55w0rd" start= delayed-auto REM Allow Backburner Service through firewall
netsh advfirewall firewall add rule name="Backburner Service" dir=out action=allow program="C:\Program Files (x86)\Autodesk\Backburner\serversvc.exe" enable=yes profile=private,domain,public
netsh advfirewall firewall add rule name="Backburner Service" dir=in action=allow program="C:\Program Files (x86)\Autodesk\Backburner\serversvc.exe" enable=yes profile=private,domain,public
I run this script after deleting all backburner.xml files and running the server to give it the correct IP. It is a very basic script but it doesn't work.
I have tried adding timers and pauses between each command but it still doesn't work. The PC will show in the backburner monitor but shows as 'absent'.
I do the exact same process (except manually and not via a batch script) and they work perfectly, showing in the monitor as 'idle' and when a job is sent, they go active.
I have checked after running the script to see if the changes were actually made on the system, and they all show the correct settings so it should work.
Please help so I can get these students rendering, without having to set each PC manually!