Using SCCM to shutdown PC's
Hope someone can help me with the following query, We have recently upgraded SMS to SCCM successfully.However we are trying to implement shutdown of PC's every night on our network. I have created a batch file "shutdown.exe -s -f -t 60 -c "Shutting System Down" and this will successfully deploy and action via SCCM. The problem I was encountering when I was testing on SMS 2003 it;'s that if the PC is already shutdown the advertisement will run when the PC turns on in the morning and it will shutdown. Therefore I am making use of the maintenance window to set a duration time in SCCM? the collection can be advertised. So I set duration in maintenance window in collection and in package/program requirements I have set the same time as maintenance window for "maximum allowed run time".
Am I missing something to action? and how can I ensure that the PC will not shutdown if turned on in the morning?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.