Is this happening during boot, or after Windows is loaded?
If it happens during the boot process, I would first try and reset the CMOS memory on the motherboard.
Also, set the error reporting in bios settings to halt on all errors.
To reset the CMOS, you need to either set a jumper to clear the CMOS (you may need to boot and shutdown to complete the clear process) or remove the battery, and disconnect power for 30 minutes or so.
If the error is when the OS starts, there may be a security setting set somewhere.
But, I would still suspect a hardware error.
Make sure that there is not a yellow "?,!" mark for the keyboard, or the port.