1
When a users logs out of their computer, I would like a way of displaying a message to them asking if they remembered to set their out of office and email forwarding, I'd like to give them the chance to cancel their logout if they need to go back in to Outlook and do this.
I have tried using a logout vbscript which traps the answer to a Yes / No question but the shell command "shutdown -a" doesn't work as I think the process is too far gone.
Is there a way to either customize the standard "Are you sure you wish to log off?" message showing the reminder or intercept the Start - Shutdown/ Log Off process? I am open to different ways of doing this, it doesn't have to be a vbscript.
My environment is Windows 2003 servers and Win XP Pro clients.
Thanks in advance.
From the state the computer is in when the logout script runs, I had a feeling there was no coming back from it. I don't really understand the purpose of "shutdown -a" then. – Yeodave – 2011-03-22T16:21:46.190
@Yeodave: It's for aborting shutdowns scheduled with
shutdown -s -t 42
(time is in seconds). – user1686 – 2011-03-22T16:27:32.627Or just shutdowns that haven't gotten past some particular point. Slower computers or computers with a lot of apps running that must respond to the shutdown request can also be stopped with the shutdown -a regardless of whether or not the shutdown was initiated using shutdown -t... . – music2myear – 2011-06-22T14:28:41.200