LastBoxStanding is a Windows service that pings a configurable list of machines in your LAN to determine whether at least one of them is still running. If no machine responds, the service performs a custom action, e.g. a shutdown.
LastBoxStanding.exe.config
file in the installation
directory to configure the service (see "Configuration" for details).net start lastboxstanding
on the
command line). This is only necessary after installation; the service will
start automatically at boot time.The LastBoxStanding.exe.config
file in the installation directory
contains a section "lastBoxStanding" in which the service can be
configured::
... <lastBoxStanding> <monitoredMachines> <!-- Replace the following list with the machines on your network --> <machine name="MyMachineA" /> <machine name="MyMachineB" /> <machine name="192.168.0.2" /> <!-- IP addresses are possible, too --> </monitoredMachines> <actions> <!-- Edit if necessary --> <whenLastRemaining execute="C:\WINDOWS\system32\shutdown.exe" arguments="-s" /> </actions> <options> <checkInterval minutes="3" retries="2" /> <!-- Set simulateActions to "true" to experiment with settings (view results in event log) --> <!-- Set verbose to "true" for detailed information in the event log --> <diagnostics verbose="false" simulateActions="false" /> </options> </lastBoxStanding> ...
If the service is running, you have to restart the service for changes to take effect (e.g. by stopping and starting it, or by pressing the restart icon in the "Services" MMC plug-in).
Errors and problems are reported in the event log (to view the
entries, run eventvwr
from the command line and click on
"Application").
If things are not working as expexted, it's a good idea to switch on the
"verbose" option to get more detailed information.
For news and updates please visit the LastBoxStanding homepage.
For questions, suggestions and bug reports write to lastboxstanding@roland-weigelt.de.