This is quite a long read but please bear with me. I used to use a shutdown (.bat) script in win7 to backup my important stuff but couldn't make it work in win10 despite spending hours on the forums. It did work intermittently if I put it in the local logoff folder (group policies).
So I wrote...
asus
backup
batch file
command
configuration
delay
error level
group policy
home built
locallogoff
nvidia
performance
power options
scripting
shutdown
tech support
user interface
windows 10
windows pro