When using
Close SYSTEM=shutdown,unattended WHENFINISHED TOGGLE
and locking Windows, the system won't shutdown. Could you change this?
When using
Close SYSTEM=shutdown,unattended WHENFINISHED TOGGLE
and locking Windows, the system won't shutdown. Could you change this?
Have you tried adding forceifhung or force to the SYSTEM argument?
The prompt to shut down apps with unsaved data can't be displayed if the screen is locked, so I think the Windows shutdown API fails if the screen is locked and one of the two force options are not specified.
There should be no prompt for closing apps or unsaved data, but I'll try the force-options and report, if it should not work. Thanks.