You can't do that, the reaction is instantaneous. But you can change the behaviour of the button to put it on something less damaging as a restart. Follow this http://www.ghacks.net/2011/06/11/change-the-windows-power-button-action/ and change it to Switch user.
For XP: Control Panel , Power Options, Advanced and in the selection box choose either Do Nothing or Ask me options.For XP: Control Panel , Power Options, Advanced and in the selection box choose either Do Nothing or Ask me options.
Answers & Comments
You can't do that, the reaction is instantaneous. But you can change the behaviour of the button to put it on something less damaging as a restart. Follow this
http://www.ghacks.net/2011/06/11/change-the-windows-power-button-action/
and change it to Switch user.
For XP: Control Panel , Power Options, Advanced and in the selection box choose either Do Nothing or Ask me options.
Thanks, that was exactly what I was looking for.