I connect to the office often via Remote Desktop (RDP) from my Windows 7 machine at home. Most of the time this works fine but sometimes the keyboard goes insane when on the remote machine. A few keys work, some don't work at all, others cause strange behavior like closing windows or randomly opening new ones.
In past only a reboot seemed to fix the problem, but today I learned that hitting the 'Windows' key while on the remote host resets the keyboard and all goes to normal.
The credit goes to 'dshreve' answer on the Super User forum and of course Google for pointing me there. Wish I could upvote the answer but don't have enough points there for that. Thanks for saving my sanity 🙂