Startup/Shutdown batch not working
This week, being our easter hols, we are busy upgrading computer suites and installing new machines. In one room we've had a request to hide the computers behind the desks where the poor little darlings can't break them. This has the unfortunate side effect that they can't reach the on/off button.
So, we decide to use iTALC and have the teacher turn the computers on/off as needed. Then we realise that this is a suite that can be used by anyone. If it was just the ICT teacher using the room iTALC would be fine. But we can't expect certain other teachers to be able to fined the on/off switch for the teachers machine let alone use iTALC to turn the pupils machines on/off. We've set iTALC to automatically launch when anyone logs into the teachers machine, still even with on/off buttons clearly marked on the screen some teachers would have problems.
So, I decide to write startup/shutdown scripts to automatically turn the computers on/off in that suite when the teachers computer is turned on/off.
Now the problem...
The batch files run 100% fine. If I call up a command prompt on the teachers machine, cd to the dir containing the bat's and run them, they work.
I added the scripts to the local machines GPO under computer conf/windows settings/scripts . When I turn off/turn on the teachers machine, nothing happens. The rest of the suite stays turned/off/which ever state they were in prior to cycling the teachers machine.
I added a 5sec pause to the start and end of both batch files. When you turn the teachers computer on/off you can see the scripts running. See the 10 sec pause. But the pupils machines in the suite do not respond to the start up/shutdown commands.
Go back to the command line on the teachers machine and manually run the exact same scripts, and it all works as it should!
Whats wrong? Anyone had similar problems before? Can anyone give me a pointer or two to get this working? Or perhaps another way of automatically turning the computers on and off as needed.