Hi. You could probably run the batch files with the Task Scheduler, but from what I have read, by doing this the batch files need to be really quick or Windows will shut down before they finish. Here are a couple of pages explaining the process:https://superuser.com/questions/165142/using-task-scheduler-to-run-a-task-before-shutdownhttps://stackoverflow.com/questions/101647/how-to-schedule-a-task-to-run-when-shutting-down-windows
If you really must run a longer script, then consider getting the Classic Shell start menu. I've been using it for years and I just tested out using a custom shutdown command and it worked. Here is basically what I did:Note
: Classic Shell is no longer in development. It's likely that parts of it will begin to stop working with additional Windows updates. The author did release the source code so maybe someone will pick it up and continue development of it.Additional ideas from others are welcome.