Originally Posted by
Jorndel
It would help if you told us what sort of keyboard it is.
Also, you could try to change the power settings, and change what will be done when they key for sleep/shutdown is pressed.
(I don't think this would help, but worth a try)
-> Control Panel (switch to classic view)-> Power Options -> Advanced -> Power Buttons
Most keyboards which comes with such features, usually have a software that will allow you to disable these options.
(I'll take a quick look in system settings and post/edit to tell you if i found something of help)