Windows key stuck after switching from Remote Desktop session

After you start a Remote Desktop Protocol (RDP) session to a remote computer, your local Windows 10 computer behaves as if you are always pressing and holding the Windows logo key. For example, when you press R, the Run command box opens. When you press E, File Explorer starts. You’ll encounter this issue if you use particular settings for your Remote Desktop connection and you take the following steps:

  1. Before you connect to the remote computer, open the Local Resources tab of the Remote Desktop Connection dialog box, and set Apply Windows key combinations to either On the remote computer or Only when using the full screen.
  2. To start the Remote Desktop session, select Connect.
  3. You select Only when using the full screen, and then expand the Remote Desktop session window to full screen.
  4. Or you select On the remote computer, then continue with the following key sequence:

Press and hold the L key.Press and hold the Windows logo key.Release the L key.Release the Windows logo key.

  1. Finally, you then now disconnect the Remote Desktop session or switch from the Remote Desktop session window to a window on the local computer. To work around this issue, press and release the Windows logo key again after you return to the local computer. Hope this helps!