17

I have an application where Ctrl + Alt + End is mapped to a command, but when using the machine via Remote Desktop, Ctrl + Alt + End is used by the system as an alternative to Ctrl + Alt + Delete. Is there any way to change that setting for the Remote Desktop session so I can use Ctrl + Alt + End in my application?

6

Do you have the option of running AutoHotkey on the remote PC? You could run a script there which would trap an alternate hotkey of your choosing, and render it (there) as Ctrl+Alt+End.

2
  • thanks, worked like a charm once I figured the script out :) – Jimmy Jan 7 '10 at 21:10
  • 1
    Introduction to AutoHotkey should be part of the SuperUser sign-up process. It's the Swiss Army Knife in the pocket of every SuperUser. :) – JMD Jan 7 '10 at 21:12
6

Alternate method which opens the 'Ctrl-Alt-Delete' overlay manually:

Run > shell:::{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}

or

cmd > explorer.exe shell:::{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}
2
1

Use On-Screen Keyboard.

  1. Click Windows button -> Run
  2. Open osk and click related key.
1
  • 1
    If it does not work, try pressing Ctrl, and Alt on physical keyboard, hold and then click "End" on On-Screen keyboard. – Ivan Chau Jun 18 '19 at 2:23
0

If you have permission to install on the remote machine, you could use a scripting engine like AutoHotkey or AutoIt to make a small script to catch whatever shortcut you would like and virtually "press" Ctrl+Alt+Del on the remote machine for you.

1
  • 1
    No need for install permissions; AHK works as a user-mode executable, so as long as application execution isn't restricted it should be fine. – Bob Mar 18 '13 at 12:34
0

When you're connecting, on the Local Resources tab of your Remote Desktop Client choose "On the Local Computer" in the drop-down menu of the Keyboard frame. This will send those keyboard signals directly to the remote machine instead of via the client.

1
  • 3
    disabling the Windows key combinations actually didn't seem to apply to Ctrl+Alt+End. Good suggestion though – Jimmy Jan 7 '10 at 21:11
0

Here is an alternative using Powershell. This worked for me in a slightly different and more complicated setup (connecting from a Mac laptop (no "end" key on keyboard) to a Linux server through SSH and then from the Linux server to a Windows Server 2016 server through Remote desktop protocol using the rdesktop Linux RDP command line client).

In Windows:

  1. Click Start menu
  2. Click in the search bar
  3. Type "powershell"
  4. In the search results, click "powershell.exe"
  5. In the PowerShell shell that opens, type the following:

    Powershell -noprofile -nologo -noninteractive -command "(new-object -ComObject 
    shell.application).WindowsSecurity()"
    

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.