Shutting down Wake On Lan machines
I've recently started using Kace and am trying to get up to date on patching our windows XP pc's. I've found I still need to push out SP3 to some of them and wanted to do this over night. I can group them and wake them up then run a patch schedule against them to install the service pack, where i'm stuck is finding a way to shut them down after the update. I want to avoid a blanket shutdown as there are some machines that wil need to stay running overnight.
Any ideas how I can tag the machines i've woken up so that I can then shut them down again?
Answers (3)
Can you add a shutdown command to the end of your SP3 push?
Comments:
-
I was just going to use the Kace patching to push just sp3 out. Don't think you can add commands to those schedules.
I've though of scripting using a batch or similar to start it off but am unsure how I would detect that it had finished installing. - GrahamA 11 years ago-
If you do your command line install for SP3 followed by the shutdown command it should install SP3 first and then the shutdown. Test this first. I do not have any SP2 machines to test on.
WindowsXP-KB963929-SP3-x86-ENU /quiet
shutdown -s - dugullett 11 years ago
You can create a script that will look for the presence of sp3 and if it is on the machine run program shutdown.exe -s. Create a label and assign it to only the machines that you will want to shut down and use that label in the script. have it run every 15-20 minutes and turn it off when you come in the next day.