I have a .vbs to run wakeonlan.exe (also tried shutdown.exe) to run as a shutdown script. The script works fine from a command line or double click but it fails when run as a shutdown script.
Maybe some service that either exe needs is stopped before the script runs so there is some sort of error???
I want my HTPC to shtudown my media server when it shuts down, and start the server when a certain user(the HTPC front end) logs in. I beleive the wake portion works fine, I've had no success on the shutdown..
i have tried inserting a line to run a timer for thrity seconds and hold it up, no luck
I use the parameter to halt script execution until the program completes, no change.
Is there a way to make shutdown scripts run before anything else is stopped in a shutdown?