Windows remote desktop - how to untrap keyboard?












16















I have two monitors, will a full-screen remote desktop session running on one of them, and regular windows programs running on the other.



When one of the other programs have focus, I can Alt+Tab between the windows normally, and one of the choices that I can Alt+Tab to is the remote desktop.



Once I switch to the remote desktop, the keyboard is "trapped" by the remote desktop, so that further Alt+Tab's switch between the programs open in the remote desktop.



Is there a keyboard shortcut that "un-traps" the keyboard while the remote desktop has the focus, so that a subsequent Alt+Tab will switch to one of the programs on my other monitor?



(I am used to VirtualBox virtual machines where there is a key (usually Right Ctrl) which does precisely that, i.e. un-traps the keyboard from the VM.)










share|improve this question

























  • I don't know about un-trapping via hot-key, but there's a setting in MSTSC that will disable command key usage entirely within the VM.

    – Iszi
    Jun 13 '11 at 20:25
















16















I have two monitors, will a full-screen remote desktop session running on one of them, and regular windows programs running on the other.



When one of the other programs have focus, I can Alt+Tab between the windows normally, and one of the choices that I can Alt+Tab to is the remote desktop.



Once I switch to the remote desktop, the keyboard is "trapped" by the remote desktop, so that further Alt+Tab's switch between the programs open in the remote desktop.



Is there a keyboard shortcut that "un-traps" the keyboard while the remote desktop has the focus, so that a subsequent Alt+Tab will switch to one of the programs on my other monitor?



(I am used to VirtualBox virtual machines where there is a key (usually Right Ctrl) which does precisely that, i.e. un-traps the keyboard from the VM.)










share|improve this question

























  • I don't know about un-trapping via hot-key, but there's a setting in MSTSC that will disable command key usage entirely within the VM.

    – Iszi
    Jun 13 '11 at 20:25














16












16








16


4






I have two monitors, will a full-screen remote desktop session running on one of them, and regular windows programs running on the other.



When one of the other programs have focus, I can Alt+Tab between the windows normally, and one of the choices that I can Alt+Tab to is the remote desktop.



Once I switch to the remote desktop, the keyboard is "trapped" by the remote desktop, so that further Alt+Tab's switch between the programs open in the remote desktop.



Is there a keyboard shortcut that "un-traps" the keyboard while the remote desktop has the focus, so that a subsequent Alt+Tab will switch to one of the programs on my other monitor?



(I am used to VirtualBox virtual machines where there is a key (usually Right Ctrl) which does precisely that, i.e. un-traps the keyboard from the VM.)










share|improve this question
















I have two monitors, will a full-screen remote desktop session running on one of them, and regular windows programs running on the other.



When one of the other programs have focus, I can Alt+Tab between the windows normally, and one of the choices that I can Alt+Tab to is the remote desktop.



Once I switch to the remote desktop, the keyboard is "trapped" by the remote desktop, so that further Alt+Tab's switch between the programs open in the remote desktop.



Is there a keyboard shortcut that "un-traps" the keyboard while the remote desktop has the focus, so that a subsequent Alt+Tab will switch to one of the programs on my other monitor?



(I am used to VirtualBox virtual machines where there is a key (usually Right Ctrl) which does precisely that, i.e. un-traps the keyboard from the VM.)







windows keyboard-shortcuts remote-desktop






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 13 '11 at 19:37







HighCommander4

















asked Jun 13 '11 at 19:18









HighCommander4HighCommander4

2911311




2911311













  • I don't know about un-trapping via hot-key, but there's a setting in MSTSC that will disable command key usage entirely within the VM.

    – Iszi
    Jun 13 '11 at 20:25



















  • I don't know about un-trapping via hot-key, but there's a setting in MSTSC that will disable command key usage entirely within the VM.

    – Iszi
    Jun 13 '11 at 20:25

















I don't know about un-trapping via hot-key, but there's a setting in MSTSC that will disable command key usage entirely within the VM.

– Iszi
Jun 13 '11 at 20:25





I don't know about un-trapping via hot-key, but there's a setting in MSTSC that will disable command key usage entirely within the VM.

– Iszi
Jun 13 '11 at 20:25










6 Answers
6






active

oldest

votes


















10














When full screen and set active, there is no way to "untrap" keys.



However, based on your comments on the other answer, if you just want a plain keyboard only method of getting out of Remote Desktop, try the following:



Press Ctrl+Alt+Pause/Break.



This will take you out of full screen mode and "untrap" the keys, meaning you can do Alt+Tab. To get back to full screen mode, simply do the same shortcut.






share|improve this answer



















  • 5





    This is slightly inconvenient as you have to re-maximize the window when you return to it, but I guess it'll do.

    – HighCommander4
    Jun 13 '11 at 21:31











  • Ctrl+Alt+Pause/Break will also maximize the window.

    – AndreasHassing
    Apr 18 '18 at 9:06





















31














Since I had the same problem and read these answers I must add my solution - maybe it helps someone else.



I wanted to press Ctrl+Alt+Pause/Break but accidently hit Press Ctrl+Alt+Home.



I found that this moves the focus out of the maximized window to the title bar and after that Alt+Tab is working.



Think this is slightly more handy ..






share|improve this answer


























  • BAM! this is the answer. it should be noted, though, that you have to be quick. one is not able to hold control and tab through the list of applications and think about where one wants to land. focus returns to the remote desktop window quickly if you don't make a selection. as such, it's best to just hit the ctrl+alt+home and then alt+tab back to the prior window and then move more carefully from there.

    – Dave Rael
    May 27 '14 at 21:22






  • 1





    @DaveRael When I hit Ctrl+Alt+Home I don't have to be quick - it seems to be permanent until I click back into the RDC window (this is on Win10). Actually, I've now got the oppose problem of untrapping the keyboard: I now can't get the RDC window back in focus without clicking on it with the mouse!

    – Charles Roper
    May 25 '16 at 10:20













  • My experience is the same as @CharlesRoper in Windows 10. Untrapping is easy with Ctrl+Alt+Home. Getting RD back into focus is more difficult.

    – JohnnyO
    Oct 18 '16 at 6:40













  • I decided to use Ctrl+Alt+Pause/Break instead of Ctrl+Alt+Home because the former is better at setting focus back to RD after untrapping. So this is my typical workflow: Ctrl+Alt+Pause/Break, then work on the host Windows, and when I'm ready to go back to RD, then Alt+Tab into it and then Win+Up to make it full-screen and it has focus again. This seems like the only reliable way to get focus back to RD without using the mouse.

    – JohnnyO
    Oct 18 '16 at 6:56











  • If I go with Pause/Break, then I can get back to the Remote Desktop in the same way. If I go with Home as you described, then there is no way to get back to the Remote Desktop with keyboard only.

    – Franklin Yu
    Nov 9 '17 at 1:25



















3














Before connecting to the remote computer, you can change in the properties (local sources) to never send keyboard shortcuts to the remote pc. By default its set to: Only when in full-screen. When set to local, certain keyboard shortcuts that are different than what you normally use become active.



Alt-tab becomes alt-pageup.

Ctrl-alt-del becomes ctrl-alt-end.






share|improve this answer



















  • 1





    Perfect answer if you also include official documentation from Microsoft.

    – Franklin Yu
    Nov 9 '17 at 1:29



















0














(Windows 10 Home, and Windows 2012 Server)



I wanted functionality to do both, so I wrote an AutoHotKey script for my local machine.



Nothing should go wrong, but since this grabs Left Mouse Button and Enter, probably save all your work first.



I gave my local computer full access to Windows Key Commands even while RDC is maximized



RDP Options. local resources tab



And then wrote an AutoHotKey script (I am not well-versed in it) that captured WIN+TAB (#Tab), while RDC is open and then uses that and the ALT+Page Down built into Terminal Services to activate the server's ALT+Tab. Once it's open, you can navigate with arrow keys and enter/click to select.



If you can improve upon this, please do, and share.



#persistent
#Tab::WinTabbing()
return

WinTabbing() {
WinGetTitle, Title, A ; Get Title
StringRight, TitleEnd, Title, 25 ; RDC is 25 letters long
If (TitleEnd = "Remote Desktop Connection") ; Check that an RDC is active. This will probably have
; issues with the inital "connect to dialog of RDC
{
Send, {Alt down}{PgDn} ; Press and hold alt, and press pgdn
Hotkey, Enter, Entering, On ; Map Enter, Click, and their alt-counterparts to Entering()
Hotkey, !Enter, Entering, On
Hotkey, LButton, Entering, On
Hotkey, !LButton, Entering, On
return
}
}
; There is no return statement at the end of this function, because we want
; Control Tab to work when focused in any other window.

; I tried to map Tab/Alt Tab (because alt is still pressed) to Right arrow
; and Control Tab/Control Alt Tab to left arrow. I was unable to get it to work.
; I left the functions in comments if anyone want to try
; Righting()
; Send, Right
; return
; }

; Lefting() {
; Send, Right
; return
; }

Entering() {
Send, {Alt}{Enter} ; Releases Alt, and makes the selection
Hotkey, Enter, Entering, Off ; See WinTabbing()
Hotkey, !Enter, Entering, Off
Hotkey, LButton, Entering, Off
Hotkey, !LButton, Entering, Off
return
}





share|improve this answer































    -1














    Remote desktop generally doesn't have an "untrap" key, but the mouse is never trapped. Simply move it anywhere on the other monitor, click so that the RDP client loses focus, and then your keys will work fine with the rest of your system until you give the RDP client focus again.






    share|improve this answer



















    • 5





      The whole point of using keyboard shortcuts is that you don't have to touch the mouse...

      – HighCommander4
      Jun 13 '11 at 21:03











    • @HighCommander4: You would need to look into 3rd-party RDP clients, then. The Microsoft one is all or nothing.

      – Darth Android
      Jun 13 '11 at 21:09



















    -1














    Like Bertram said, Ctrl+Alt+Home gives focus to the title bar so that things like Alt+Tab go to the local desktop.



    I've further found that hitting ESC gives focus back to the remote desktop. (On Windows 10, I didn't have the time-out problem that @JohnnyO reported.)






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f296633%2fwindows-remote-desktop-how-to-untrap-keyboard%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      6 Answers
      6






      active

      oldest

      votes








      6 Answers
      6






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      10














      When full screen and set active, there is no way to "untrap" keys.



      However, based on your comments on the other answer, if you just want a plain keyboard only method of getting out of Remote Desktop, try the following:



      Press Ctrl+Alt+Pause/Break.



      This will take you out of full screen mode and "untrap" the keys, meaning you can do Alt+Tab. To get back to full screen mode, simply do the same shortcut.






      share|improve this answer



















      • 5





        This is slightly inconvenient as you have to re-maximize the window when you return to it, but I guess it'll do.

        – HighCommander4
        Jun 13 '11 at 21:31











      • Ctrl+Alt+Pause/Break will also maximize the window.

        – AndreasHassing
        Apr 18 '18 at 9:06


















      10














      When full screen and set active, there is no way to "untrap" keys.



      However, based on your comments on the other answer, if you just want a plain keyboard only method of getting out of Remote Desktop, try the following:



      Press Ctrl+Alt+Pause/Break.



      This will take you out of full screen mode and "untrap" the keys, meaning you can do Alt+Tab. To get back to full screen mode, simply do the same shortcut.






      share|improve this answer



















      • 5





        This is slightly inconvenient as you have to re-maximize the window when you return to it, but I guess it'll do.

        – HighCommander4
        Jun 13 '11 at 21:31











      • Ctrl+Alt+Pause/Break will also maximize the window.

        – AndreasHassing
        Apr 18 '18 at 9:06
















      10












      10








      10







      When full screen and set active, there is no way to "untrap" keys.



      However, based on your comments on the other answer, if you just want a plain keyboard only method of getting out of Remote Desktop, try the following:



      Press Ctrl+Alt+Pause/Break.



      This will take you out of full screen mode and "untrap" the keys, meaning you can do Alt+Tab. To get back to full screen mode, simply do the same shortcut.






      share|improve this answer













      When full screen and set active, there is no way to "untrap" keys.



      However, based on your comments on the other answer, if you just want a plain keyboard only method of getting out of Remote Desktop, try the following:



      Press Ctrl+Alt+Pause/Break.



      This will take you out of full screen mode and "untrap" the keys, meaning you can do Alt+Tab. To get back to full screen mode, simply do the same shortcut.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jun 13 '11 at 21:11









      William HilsumWilliam Hilsum

      108k16160253




      108k16160253








      • 5





        This is slightly inconvenient as you have to re-maximize the window when you return to it, but I guess it'll do.

        – HighCommander4
        Jun 13 '11 at 21:31











      • Ctrl+Alt+Pause/Break will also maximize the window.

        – AndreasHassing
        Apr 18 '18 at 9:06
















      • 5





        This is slightly inconvenient as you have to re-maximize the window when you return to it, but I guess it'll do.

        – HighCommander4
        Jun 13 '11 at 21:31











      • Ctrl+Alt+Pause/Break will also maximize the window.

        – AndreasHassing
        Apr 18 '18 at 9:06










      5




      5





      This is slightly inconvenient as you have to re-maximize the window when you return to it, but I guess it'll do.

      – HighCommander4
      Jun 13 '11 at 21:31





      This is slightly inconvenient as you have to re-maximize the window when you return to it, but I guess it'll do.

      – HighCommander4
      Jun 13 '11 at 21:31













      Ctrl+Alt+Pause/Break will also maximize the window.

      – AndreasHassing
      Apr 18 '18 at 9:06







      Ctrl+Alt+Pause/Break will also maximize the window.

      – AndreasHassing
      Apr 18 '18 at 9:06















      31














      Since I had the same problem and read these answers I must add my solution - maybe it helps someone else.



      I wanted to press Ctrl+Alt+Pause/Break but accidently hit Press Ctrl+Alt+Home.



      I found that this moves the focus out of the maximized window to the title bar and after that Alt+Tab is working.



      Think this is slightly more handy ..






      share|improve this answer


























      • BAM! this is the answer. it should be noted, though, that you have to be quick. one is not able to hold control and tab through the list of applications and think about where one wants to land. focus returns to the remote desktop window quickly if you don't make a selection. as such, it's best to just hit the ctrl+alt+home and then alt+tab back to the prior window and then move more carefully from there.

        – Dave Rael
        May 27 '14 at 21:22






      • 1





        @DaveRael When I hit Ctrl+Alt+Home I don't have to be quick - it seems to be permanent until I click back into the RDC window (this is on Win10). Actually, I've now got the oppose problem of untrapping the keyboard: I now can't get the RDC window back in focus without clicking on it with the mouse!

        – Charles Roper
        May 25 '16 at 10:20













      • My experience is the same as @CharlesRoper in Windows 10. Untrapping is easy with Ctrl+Alt+Home. Getting RD back into focus is more difficult.

        – JohnnyO
        Oct 18 '16 at 6:40













      • I decided to use Ctrl+Alt+Pause/Break instead of Ctrl+Alt+Home because the former is better at setting focus back to RD after untrapping. So this is my typical workflow: Ctrl+Alt+Pause/Break, then work on the host Windows, and when I'm ready to go back to RD, then Alt+Tab into it and then Win+Up to make it full-screen and it has focus again. This seems like the only reliable way to get focus back to RD without using the mouse.

        – JohnnyO
        Oct 18 '16 at 6:56











      • If I go with Pause/Break, then I can get back to the Remote Desktop in the same way. If I go with Home as you described, then there is no way to get back to the Remote Desktop with keyboard only.

        – Franklin Yu
        Nov 9 '17 at 1:25
















      31














      Since I had the same problem and read these answers I must add my solution - maybe it helps someone else.



      I wanted to press Ctrl+Alt+Pause/Break but accidently hit Press Ctrl+Alt+Home.



      I found that this moves the focus out of the maximized window to the title bar and after that Alt+Tab is working.



      Think this is slightly more handy ..






      share|improve this answer


























      • BAM! this is the answer. it should be noted, though, that you have to be quick. one is not able to hold control and tab through the list of applications and think about where one wants to land. focus returns to the remote desktop window quickly if you don't make a selection. as such, it's best to just hit the ctrl+alt+home and then alt+tab back to the prior window and then move more carefully from there.

        – Dave Rael
        May 27 '14 at 21:22






      • 1





        @DaveRael When I hit Ctrl+Alt+Home I don't have to be quick - it seems to be permanent until I click back into the RDC window (this is on Win10). Actually, I've now got the oppose problem of untrapping the keyboard: I now can't get the RDC window back in focus without clicking on it with the mouse!

        – Charles Roper
        May 25 '16 at 10:20













      • My experience is the same as @CharlesRoper in Windows 10. Untrapping is easy with Ctrl+Alt+Home. Getting RD back into focus is more difficult.

        – JohnnyO
        Oct 18 '16 at 6:40













      • I decided to use Ctrl+Alt+Pause/Break instead of Ctrl+Alt+Home because the former is better at setting focus back to RD after untrapping. So this is my typical workflow: Ctrl+Alt+Pause/Break, then work on the host Windows, and when I'm ready to go back to RD, then Alt+Tab into it and then Win+Up to make it full-screen and it has focus again. This seems like the only reliable way to get focus back to RD without using the mouse.

        – JohnnyO
        Oct 18 '16 at 6:56











      • If I go with Pause/Break, then I can get back to the Remote Desktop in the same way. If I go with Home as you described, then there is no way to get back to the Remote Desktop with keyboard only.

        – Franklin Yu
        Nov 9 '17 at 1:25














      31












      31








      31







      Since I had the same problem and read these answers I must add my solution - maybe it helps someone else.



      I wanted to press Ctrl+Alt+Pause/Break but accidently hit Press Ctrl+Alt+Home.



      I found that this moves the focus out of the maximized window to the title bar and after that Alt+Tab is working.



      Think this is slightly more handy ..






      share|improve this answer















      Since I had the same problem and read these answers I must add my solution - maybe it helps someone else.



      I wanted to press Ctrl+Alt+Pause/Break but accidently hit Press Ctrl+Alt+Home.



      I found that this moves the focus out of the maximized window to the title bar and after that Alt+Tab is working.



      Think this is slightly more handy ..







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Apr 24 '14 at 7:34









      Community

      1




      1










      answered Nov 14 '12 at 12:44









      Bertram NudelbachBertram Nudelbach

      42845




      42845













      • BAM! this is the answer. it should be noted, though, that you have to be quick. one is not able to hold control and tab through the list of applications and think about where one wants to land. focus returns to the remote desktop window quickly if you don't make a selection. as such, it's best to just hit the ctrl+alt+home and then alt+tab back to the prior window and then move more carefully from there.

        – Dave Rael
        May 27 '14 at 21:22






      • 1





        @DaveRael When I hit Ctrl+Alt+Home I don't have to be quick - it seems to be permanent until I click back into the RDC window (this is on Win10). Actually, I've now got the oppose problem of untrapping the keyboard: I now can't get the RDC window back in focus without clicking on it with the mouse!

        – Charles Roper
        May 25 '16 at 10:20













      • My experience is the same as @CharlesRoper in Windows 10. Untrapping is easy with Ctrl+Alt+Home. Getting RD back into focus is more difficult.

        – JohnnyO
        Oct 18 '16 at 6:40













      • I decided to use Ctrl+Alt+Pause/Break instead of Ctrl+Alt+Home because the former is better at setting focus back to RD after untrapping. So this is my typical workflow: Ctrl+Alt+Pause/Break, then work on the host Windows, and when I'm ready to go back to RD, then Alt+Tab into it and then Win+Up to make it full-screen and it has focus again. This seems like the only reliable way to get focus back to RD without using the mouse.

        – JohnnyO
        Oct 18 '16 at 6:56











      • If I go with Pause/Break, then I can get back to the Remote Desktop in the same way. If I go with Home as you described, then there is no way to get back to the Remote Desktop with keyboard only.

        – Franklin Yu
        Nov 9 '17 at 1:25



















      • BAM! this is the answer. it should be noted, though, that you have to be quick. one is not able to hold control and tab through the list of applications and think about where one wants to land. focus returns to the remote desktop window quickly if you don't make a selection. as such, it's best to just hit the ctrl+alt+home and then alt+tab back to the prior window and then move more carefully from there.

        – Dave Rael
        May 27 '14 at 21:22






      • 1





        @DaveRael When I hit Ctrl+Alt+Home I don't have to be quick - it seems to be permanent until I click back into the RDC window (this is on Win10). Actually, I've now got the oppose problem of untrapping the keyboard: I now can't get the RDC window back in focus without clicking on it with the mouse!

        – Charles Roper
        May 25 '16 at 10:20













      • My experience is the same as @CharlesRoper in Windows 10. Untrapping is easy with Ctrl+Alt+Home. Getting RD back into focus is more difficult.

        – JohnnyO
        Oct 18 '16 at 6:40













      • I decided to use Ctrl+Alt+Pause/Break instead of Ctrl+Alt+Home because the former is better at setting focus back to RD after untrapping. So this is my typical workflow: Ctrl+Alt+Pause/Break, then work on the host Windows, and when I'm ready to go back to RD, then Alt+Tab into it and then Win+Up to make it full-screen and it has focus again. This seems like the only reliable way to get focus back to RD without using the mouse.

        – JohnnyO
        Oct 18 '16 at 6:56











      • If I go with Pause/Break, then I can get back to the Remote Desktop in the same way. If I go with Home as you described, then there is no way to get back to the Remote Desktop with keyboard only.

        – Franklin Yu
        Nov 9 '17 at 1:25

















      BAM! this is the answer. it should be noted, though, that you have to be quick. one is not able to hold control and tab through the list of applications and think about where one wants to land. focus returns to the remote desktop window quickly if you don't make a selection. as such, it's best to just hit the ctrl+alt+home and then alt+tab back to the prior window and then move more carefully from there.

      – Dave Rael
      May 27 '14 at 21:22





      BAM! this is the answer. it should be noted, though, that you have to be quick. one is not able to hold control and tab through the list of applications and think about where one wants to land. focus returns to the remote desktop window quickly if you don't make a selection. as such, it's best to just hit the ctrl+alt+home and then alt+tab back to the prior window and then move more carefully from there.

      – Dave Rael
      May 27 '14 at 21:22




      1




      1





      @DaveRael When I hit Ctrl+Alt+Home I don't have to be quick - it seems to be permanent until I click back into the RDC window (this is on Win10). Actually, I've now got the oppose problem of untrapping the keyboard: I now can't get the RDC window back in focus without clicking on it with the mouse!

      – Charles Roper
      May 25 '16 at 10:20







      @DaveRael When I hit Ctrl+Alt+Home I don't have to be quick - it seems to be permanent until I click back into the RDC window (this is on Win10). Actually, I've now got the oppose problem of untrapping the keyboard: I now can't get the RDC window back in focus without clicking on it with the mouse!

      – Charles Roper
      May 25 '16 at 10:20















      My experience is the same as @CharlesRoper in Windows 10. Untrapping is easy with Ctrl+Alt+Home. Getting RD back into focus is more difficult.

      – JohnnyO
      Oct 18 '16 at 6:40







      My experience is the same as @CharlesRoper in Windows 10. Untrapping is easy with Ctrl+Alt+Home. Getting RD back into focus is more difficult.

      – JohnnyO
      Oct 18 '16 at 6:40















      I decided to use Ctrl+Alt+Pause/Break instead of Ctrl+Alt+Home because the former is better at setting focus back to RD after untrapping. So this is my typical workflow: Ctrl+Alt+Pause/Break, then work on the host Windows, and when I'm ready to go back to RD, then Alt+Tab into it and then Win+Up to make it full-screen and it has focus again. This seems like the only reliable way to get focus back to RD without using the mouse.

      – JohnnyO
      Oct 18 '16 at 6:56





      I decided to use Ctrl+Alt+Pause/Break instead of Ctrl+Alt+Home because the former is better at setting focus back to RD after untrapping. So this is my typical workflow: Ctrl+Alt+Pause/Break, then work on the host Windows, and when I'm ready to go back to RD, then Alt+Tab into it and then Win+Up to make it full-screen and it has focus again. This seems like the only reliable way to get focus back to RD without using the mouse.

      – JohnnyO
      Oct 18 '16 at 6:56













      If I go with Pause/Break, then I can get back to the Remote Desktop in the same way. If I go with Home as you described, then there is no way to get back to the Remote Desktop with keyboard only.

      – Franklin Yu
      Nov 9 '17 at 1:25





      If I go with Pause/Break, then I can get back to the Remote Desktop in the same way. If I go with Home as you described, then there is no way to get back to the Remote Desktop with keyboard only.

      – Franklin Yu
      Nov 9 '17 at 1:25











      3














      Before connecting to the remote computer, you can change in the properties (local sources) to never send keyboard shortcuts to the remote pc. By default its set to: Only when in full-screen. When set to local, certain keyboard shortcuts that are different than what you normally use become active.



      Alt-tab becomes alt-pageup.

      Ctrl-alt-del becomes ctrl-alt-end.






      share|improve this answer



















      • 1





        Perfect answer if you also include official documentation from Microsoft.

        – Franklin Yu
        Nov 9 '17 at 1:29
















      3














      Before connecting to the remote computer, you can change in the properties (local sources) to never send keyboard shortcuts to the remote pc. By default its set to: Only when in full-screen. When set to local, certain keyboard shortcuts that are different than what you normally use become active.



      Alt-tab becomes alt-pageup.

      Ctrl-alt-del becomes ctrl-alt-end.






      share|improve this answer



















      • 1





        Perfect answer if you also include official documentation from Microsoft.

        – Franklin Yu
        Nov 9 '17 at 1:29














      3












      3








      3







      Before connecting to the remote computer, you can change in the properties (local sources) to never send keyboard shortcuts to the remote pc. By default its set to: Only when in full-screen. When set to local, certain keyboard shortcuts that are different than what you normally use become active.



      Alt-tab becomes alt-pageup.

      Ctrl-alt-del becomes ctrl-alt-end.






      share|improve this answer













      Before connecting to the remote computer, you can change in the properties (local sources) to never send keyboard shortcuts to the remote pc. By default its set to: Only when in full-screen. When set to local, certain keyboard shortcuts that are different than what you normally use become active.



      Alt-tab becomes alt-pageup.

      Ctrl-alt-del becomes ctrl-alt-end.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jul 21 '17 at 7:33









      LPChipLPChip

      36k55385




      36k55385








      • 1





        Perfect answer if you also include official documentation from Microsoft.

        – Franklin Yu
        Nov 9 '17 at 1:29














      • 1





        Perfect answer if you also include official documentation from Microsoft.

        – Franklin Yu
        Nov 9 '17 at 1:29








      1




      1





      Perfect answer if you also include official documentation from Microsoft.

      – Franklin Yu
      Nov 9 '17 at 1:29





      Perfect answer if you also include official documentation from Microsoft.

      – Franklin Yu
      Nov 9 '17 at 1:29











      0














      (Windows 10 Home, and Windows 2012 Server)



      I wanted functionality to do both, so I wrote an AutoHotKey script for my local machine.



      Nothing should go wrong, but since this grabs Left Mouse Button and Enter, probably save all your work first.



      I gave my local computer full access to Windows Key Commands even while RDC is maximized



      RDP Options. local resources tab



      And then wrote an AutoHotKey script (I am not well-versed in it) that captured WIN+TAB (#Tab), while RDC is open and then uses that and the ALT+Page Down built into Terminal Services to activate the server's ALT+Tab. Once it's open, you can navigate with arrow keys and enter/click to select.



      If you can improve upon this, please do, and share.



      #persistent
      #Tab::WinTabbing()
      return

      WinTabbing() {
      WinGetTitle, Title, A ; Get Title
      StringRight, TitleEnd, Title, 25 ; RDC is 25 letters long
      If (TitleEnd = "Remote Desktop Connection") ; Check that an RDC is active. This will probably have
      ; issues with the inital "connect to dialog of RDC
      {
      Send, {Alt down}{PgDn} ; Press and hold alt, and press pgdn
      Hotkey, Enter, Entering, On ; Map Enter, Click, and their alt-counterparts to Entering()
      Hotkey, !Enter, Entering, On
      Hotkey, LButton, Entering, On
      Hotkey, !LButton, Entering, On
      return
      }
      }
      ; There is no return statement at the end of this function, because we want
      ; Control Tab to work when focused in any other window.

      ; I tried to map Tab/Alt Tab (because alt is still pressed) to Right arrow
      ; and Control Tab/Control Alt Tab to left arrow. I was unable to get it to work.
      ; I left the functions in comments if anyone want to try
      ; Righting()
      ; Send, Right
      ; return
      ; }

      ; Lefting() {
      ; Send, Right
      ; return
      ; }

      Entering() {
      Send, {Alt}{Enter} ; Releases Alt, and makes the selection
      Hotkey, Enter, Entering, Off ; See WinTabbing()
      Hotkey, !Enter, Entering, Off
      Hotkey, LButton, Entering, Off
      Hotkey, !LButton, Entering, Off
      return
      }





      share|improve this answer




























        0














        (Windows 10 Home, and Windows 2012 Server)



        I wanted functionality to do both, so I wrote an AutoHotKey script for my local machine.



        Nothing should go wrong, but since this grabs Left Mouse Button and Enter, probably save all your work first.



        I gave my local computer full access to Windows Key Commands even while RDC is maximized



        RDP Options. local resources tab



        And then wrote an AutoHotKey script (I am not well-versed in it) that captured WIN+TAB (#Tab), while RDC is open and then uses that and the ALT+Page Down built into Terminal Services to activate the server's ALT+Tab. Once it's open, you can navigate with arrow keys and enter/click to select.



        If you can improve upon this, please do, and share.



        #persistent
        #Tab::WinTabbing()
        return

        WinTabbing() {
        WinGetTitle, Title, A ; Get Title
        StringRight, TitleEnd, Title, 25 ; RDC is 25 letters long
        If (TitleEnd = "Remote Desktop Connection") ; Check that an RDC is active. This will probably have
        ; issues with the inital "connect to dialog of RDC
        {
        Send, {Alt down}{PgDn} ; Press and hold alt, and press pgdn
        Hotkey, Enter, Entering, On ; Map Enter, Click, and their alt-counterparts to Entering()
        Hotkey, !Enter, Entering, On
        Hotkey, LButton, Entering, On
        Hotkey, !LButton, Entering, On
        return
        }
        }
        ; There is no return statement at the end of this function, because we want
        ; Control Tab to work when focused in any other window.

        ; I tried to map Tab/Alt Tab (because alt is still pressed) to Right arrow
        ; and Control Tab/Control Alt Tab to left arrow. I was unable to get it to work.
        ; I left the functions in comments if anyone want to try
        ; Righting()
        ; Send, Right
        ; return
        ; }

        ; Lefting() {
        ; Send, Right
        ; return
        ; }

        Entering() {
        Send, {Alt}{Enter} ; Releases Alt, and makes the selection
        Hotkey, Enter, Entering, Off ; See WinTabbing()
        Hotkey, !Enter, Entering, Off
        Hotkey, LButton, Entering, Off
        Hotkey, !LButton, Entering, Off
        return
        }





        share|improve this answer


























          0












          0








          0







          (Windows 10 Home, and Windows 2012 Server)



          I wanted functionality to do both, so I wrote an AutoHotKey script for my local machine.



          Nothing should go wrong, but since this grabs Left Mouse Button and Enter, probably save all your work first.



          I gave my local computer full access to Windows Key Commands even while RDC is maximized



          RDP Options. local resources tab



          And then wrote an AutoHotKey script (I am not well-versed in it) that captured WIN+TAB (#Tab), while RDC is open and then uses that and the ALT+Page Down built into Terminal Services to activate the server's ALT+Tab. Once it's open, you can navigate with arrow keys and enter/click to select.



          If you can improve upon this, please do, and share.



          #persistent
          #Tab::WinTabbing()
          return

          WinTabbing() {
          WinGetTitle, Title, A ; Get Title
          StringRight, TitleEnd, Title, 25 ; RDC is 25 letters long
          If (TitleEnd = "Remote Desktop Connection") ; Check that an RDC is active. This will probably have
          ; issues with the inital "connect to dialog of RDC
          {
          Send, {Alt down}{PgDn} ; Press and hold alt, and press pgdn
          Hotkey, Enter, Entering, On ; Map Enter, Click, and their alt-counterparts to Entering()
          Hotkey, !Enter, Entering, On
          Hotkey, LButton, Entering, On
          Hotkey, !LButton, Entering, On
          return
          }
          }
          ; There is no return statement at the end of this function, because we want
          ; Control Tab to work when focused in any other window.

          ; I tried to map Tab/Alt Tab (because alt is still pressed) to Right arrow
          ; and Control Tab/Control Alt Tab to left arrow. I was unable to get it to work.
          ; I left the functions in comments if anyone want to try
          ; Righting()
          ; Send, Right
          ; return
          ; }

          ; Lefting() {
          ; Send, Right
          ; return
          ; }

          Entering() {
          Send, {Alt}{Enter} ; Releases Alt, and makes the selection
          Hotkey, Enter, Entering, Off ; See WinTabbing()
          Hotkey, !Enter, Entering, Off
          Hotkey, LButton, Entering, Off
          Hotkey, !LButton, Entering, Off
          return
          }





          share|improve this answer













          (Windows 10 Home, and Windows 2012 Server)



          I wanted functionality to do both, so I wrote an AutoHotKey script for my local machine.



          Nothing should go wrong, but since this grabs Left Mouse Button and Enter, probably save all your work first.



          I gave my local computer full access to Windows Key Commands even while RDC is maximized



          RDP Options. local resources tab



          And then wrote an AutoHotKey script (I am not well-versed in it) that captured WIN+TAB (#Tab), while RDC is open and then uses that and the ALT+Page Down built into Terminal Services to activate the server's ALT+Tab. Once it's open, you can navigate with arrow keys and enter/click to select.



          If you can improve upon this, please do, and share.



          #persistent
          #Tab::WinTabbing()
          return

          WinTabbing() {
          WinGetTitle, Title, A ; Get Title
          StringRight, TitleEnd, Title, 25 ; RDC is 25 letters long
          If (TitleEnd = "Remote Desktop Connection") ; Check that an RDC is active. This will probably have
          ; issues with the inital "connect to dialog of RDC
          {
          Send, {Alt down}{PgDn} ; Press and hold alt, and press pgdn
          Hotkey, Enter, Entering, On ; Map Enter, Click, and their alt-counterparts to Entering()
          Hotkey, !Enter, Entering, On
          Hotkey, LButton, Entering, On
          Hotkey, !LButton, Entering, On
          return
          }
          }
          ; There is no return statement at the end of this function, because we want
          ; Control Tab to work when focused in any other window.

          ; I tried to map Tab/Alt Tab (because alt is still pressed) to Right arrow
          ; and Control Tab/Control Alt Tab to left arrow. I was unable to get it to work.
          ; I left the functions in comments if anyone want to try
          ; Righting()
          ; Send, Right
          ; return
          ; }

          ; Lefting() {
          ; Send, Right
          ; return
          ; }

          Entering() {
          Send, {Alt}{Enter} ; Releases Alt, and makes the selection
          Hotkey, Enter, Entering, Off ; See WinTabbing()
          Hotkey, !Enter, Entering, Off
          Hotkey, LButton, Entering, Off
          Hotkey, !LButton, Entering, Off
          return
          }






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 7 at 23:30









          Regular JoeRegular Joe

          20619




          20619























              -1














              Remote desktop generally doesn't have an "untrap" key, but the mouse is never trapped. Simply move it anywhere on the other monitor, click so that the RDP client loses focus, and then your keys will work fine with the rest of your system until you give the RDP client focus again.






              share|improve this answer



















              • 5





                The whole point of using keyboard shortcuts is that you don't have to touch the mouse...

                – HighCommander4
                Jun 13 '11 at 21:03











              • @HighCommander4: You would need to look into 3rd-party RDP clients, then. The Microsoft one is all or nothing.

                – Darth Android
                Jun 13 '11 at 21:09
















              -1














              Remote desktop generally doesn't have an "untrap" key, but the mouse is never trapped. Simply move it anywhere on the other monitor, click so that the RDP client loses focus, and then your keys will work fine with the rest of your system until you give the RDP client focus again.






              share|improve this answer



















              • 5





                The whole point of using keyboard shortcuts is that you don't have to touch the mouse...

                – HighCommander4
                Jun 13 '11 at 21:03











              • @HighCommander4: You would need to look into 3rd-party RDP clients, then. The Microsoft one is all or nothing.

                – Darth Android
                Jun 13 '11 at 21:09














              -1












              -1








              -1







              Remote desktop generally doesn't have an "untrap" key, but the mouse is never trapped. Simply move it anywhere on the other monitor, click so that the RDP client loses focus, and then your keys will work fine with the rest of your system until you give the RDP client focus again.






              share|improve this answer













              Remote desktop generally doesn't have an "untrap" key, but the mouse is never trapped. Simply move it anywhere on the other monitor, click so that the RDP client loses focus, and then your keys will work fine with the rest of your system until you give the RDP client focus again.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jun 13 '11 at 20:33









              Darth AndroidDarth Android

              34.1k476100




              34.1k476100








              • 5





                The whole point of using keyboard shortcuts is that you don't have to touch the mouse...

                – HighCommander4
                Jun 13 '11 at 21:03











              • @HighCommander4: You would need to look into 3rd-party RDP clients, then. The Microsoft one is all or nothing.

                – Darth Android
                Jun 13 '11 at 21:09














              • 5





                The whole point of using keyboard shortcuts is that you don't have to touch the mouse...

                – HighCommander4
                Jun 13 '11 at 21:03











              • @HighCommander4: You would need to look into 3rd-party RDP clients, then. The Microsoft one is all or nothing.

                – Darth Android
                Jun 13 '11 at 21:09








              5




              5





              The whole point of using keyboard shortcuts is that you don't have to touch the mouse...

              – HighCommander4
              Jun 13 '11 at 21:03





              The whole point of using keyboard shortcuts is that you don't have to touch the mouse...

              – HighCommander4
              Jun 13 '11 at 21:03













              @HighCommander4: You would need to look into 3rd-party RDP clients, then. The Microsoft one is all or nothing.

              – Darth Android
              Jun 13 '11 at 21:09





              @HighCommander4: You would need to look into 3rd-party RDP clients, then. The Microsoft one is all or nothing.

              – Darth Android
              Jun 13 '11 at 21:09











              -1














              Like Bertram said, Ctrl+Alt+Home gives focus to the title bar so that things like Alt+Tab go to the local desktop.



              I've further found that hitting ESC gives focus back to the remote desktop. (On Windows 10, I didn't have the time-out problem that @JohnnyO reported.)






              share|improve this answer




























                -1














                Like Bertram said, Ctrl+Alt+Home gives focus to the title bar so that things like Alt+Tab go to the local desktop.



                I've further found that hitting ESC gives focus back to the remote desktop. (On Windows 10, I didn't have the time-out problem that @JohnnyO reported.)






                share|improve this answer


























                  -1












                  -1








                  -1







                  Like Bertram said, Ctrl+Alt+Home gives focus to the title bar so that things like Alt+Tab go to the local desktop.



                  I've further found that hitting ESC gives focus back to the remote desktop. (On Windows 10, I didn't have the time-out problem that @JohnnyO reported.)






                  share|improve this answer













                  Like Bertram said, Ctrl+Alt+Home gives focus to the title bar so that things like Alt+Tab go to the local desktop.



                  I've further found that hitting ESC gives focus back to the remote desktop. (On Windows 10, I didn't have the time-out problem that @JohnnyO reported.)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 21 '18 at 0:38









                  Alex RobbinsAlex Robbins

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f296633%2fwindows-remote-desktop-how-to-untrap-keyboard%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Список кардиналов, возведённых папой римским Каликстом III

                      Deduzione

                      Mysql.sock missing - “Can't connect to local MySQL server through socket”