Shut down a Windows 7 PC when no users are logged in
I am looking for a way to shut down Windows 7 PC's that have no users logged in via KACE. This would be applied at set times during the day.
I have looked at scripting for this but am not having much luck due to my inexperience with VB.
Any help with providing a solution would be much appreicated.
Go to Scripting > Scripts, there's a script there called "Shutdown a Windows system with snooze". Duplicate this and remove the snooze if you want to force a shutdown.
Community Chosen Answer
If you go into Scripting > Scripts, there's a script there called "Shutdown a Windows system with snooze". You could duplicate this (button at the bottom) and remove the snooze (Alerts section) if you want to force a shutdown. Haven't tested this but it's already there and should be easy enough to test. If that doesn't work, there's other ways as well (issuing "shutdown -s" via a batch file being just one).