Keyboard doesn’t work right after unplug or undock and then reconnecting

Applies to: Windows 8.1Windows 8

Symptoms


If a keyboard is disconnected while a key is being held down (either intentionally or accidentally), when the keyboard is reconnected, it may not respond, or it may act as if the key is still held down. This is mainly an issue if it was the Ctrl, Shift, Alt, or Windows key being held down.

This can happen if the keyboard is unplugged from the USB port while a key is held down, or if a laptop or tablet is undocked while a key is held down on a keyboard connected to the dock through USB.

Cause


Windows does not reset the state of the keyboard when the keyboard is reconnected.

Resolution


Try each of the following steps one at a time until the issue is resolved:

  1. Press the key that was held down once. If you do not know which key was held down, you may want to try pressing each key (Ctrl, Shift, Alt, and the Windows key) in turn.
  2. Use the touch screen or mouse to bring up the on-screen keyboard. Using the on-screen keyboard should reset the physical keyboard.
  3. Reboot the device.