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
commands
delay
error level
group policies
home build
locallogoff
nvidia
performance
power options
script
shutdown
system configuration
technical support
user interface
windows 10
windows pro