I am able to create a pop up message/dialog box when I use a batch command/file:
shutdown -s -f -c "my comment."
but when I use:
shutdown -L -f -c "my comment."
my comment will not show up.
As you can see I want to show a dialog box before the computer logs off. I am setting up a batch file to use with task scheduler.