Read: Computer not recognizing Monitor ... from the device manager and then detect it again, a better way to reset the keyboard is to unplug it from the PC by taking out the USB end.