Looks like the program isn't shutting down properly, and so when you boot into the OS, you're confronted with the error message.
Perhaps there's a keyboard driver related problem.
Boot into the operating system, and with your USB keyboard plugged in so that it is working, go to Control Panel > Keyboard > Hardware Tab...What's listed in the devices box, and what does the device properties say?
|Desktop PC| |Macbook Air 13" (Mid 2013)|
|Windows 8.1 Pro (x64)| |AMD FX 4100 Black Edition 3.6 GHz @ 4.0 GHz OC| |Arctic Cooling Freezer 13 PRO| |Gigabyte Nvidia GeForce GTX 560 Super Overclock 1GB| |ASUS M5A78L-M/USB3 Motherboard| |Samsung 840 Pro 256GB SSD SATA III HDD| |Kingston HyperX 8GB PC3-14900 DDR3-1866| |OCZ ModXStream Pro 700W Modular PSU| |NZXT Vulcan Micro ATX Case|