basildane / WakeOnLAN

Wake On LAN, WakeOnLAN, shutdown software for Windows. A powerful WOL, ping, shutdown, GUI application.
http://wol.aquilatech.com
Other
1.02k stars 147 forks source link

How to abort a shutdown on client? #123

Open Bandit-1250 opened 6 years ago

Bandit-1250 commented 6 years ago

Is there any other way, that a user on the target client can abort a shutdown task sent from WakeOnLan? I'm trying to shutdown all the clients at my school at 6 a clock pm, but if a teacher is working late, he or she should have the oppertunity to abort the shutdown task and remain working. How to do that? /John

basildane commented 6 years ago

This is not very reliable, depending on your network, but here goes.

First way: From WOL GUI, enter a number of seconds in the "timeout" field. This will display a warning message that the computer will shutdown in X seconds. You can abort the process by using the big red Abort button from the GUI.

Second, from the actual workstation being shutdown, open a command prompt as admin or someone with authority. Enter "shutdown /a" (will have to test this, I haven't used it in years. The /a is for Abort.

I know that is a poor solution. I'm working a nice GUI interface that will run on the workstation that will make this all work seemlessly. Unfortunately I don't have much time to work on it, but it is on the list.