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.
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 🙂
