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 Answers
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.
0Alternate 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} 1 Use On-Screen Keyboard.
- Click Windows button -> Run
- Open
oskand click related key.
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.
1When 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.
1Here 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:
- Click Start menu
- Click in the search bar
- Type "powershell"
- In the search results, click "powershell.exe"
In the PowerShell shell that opens, type the following:
Powershell -noprofile -nologo -noninteractive -command "(new-object -ComObject shell.application).WindowsSecurity()"