Let me begin by saying that I know EXTREMELY little about coding and vbs.

I found this forum because I'm searching for what I think is a simple solution, and I'm hoping you all will entertain my question since it relates to this topic.

When I click shutdown in Windows XP, I want a dialog box to pop up that says, "Have You Synced?" and then has a "yes" and "no". If I click "no" then I return to desktop, if I click "yes" then the computer continues to shut down.

Is that possible? I figured out how to get .vbs scripts to run at logoff/logon and shutdown/startup but when I run at shutdown, the message doesnt pop up until right before the computer shuts down and I'll probably have left the computer by then.

When I run it at logoff, windows just continues through its shutdown cycle and ignores the fact that I have not clicked ok.

I need some kind of code that would allow me to tell windows to STOP!. Even if I cant get the "yes" "no", if I could just get windows to pop up a message and stop the shutdown process, I would realize I forgot to sync and start the computer back up to sync.

If all that rambling means nothing, perhaps my reason might make it clearer. I have a server where I save my files by syncing the files. Occasionally I forget to sync and then when I get to my other location I dont have access to files.

Thanks in advance!