How do I run a script at shutdown BEFORE Windows 7 shuts down running applications?
I know about the Group Policy way to run a shutdown scripts but that script runs AFTER Windows has sent the kill command (or whatever) to the various running apps. I need something that runs before that command is issued.
I have a Home Automation app (HomeSeer) that does not clean up when Windows tells it to shutdown - a process that takes about 20 secs when one manually tells the app to exit - and that has caused database corruption on a few occasions. Yes, the app developer should have taken care of this but they've chosen not to for some reason (support for the software has gone downhill so they aren't likely do anything about it now)