Problem

In a few cases we had users wondering about why the "Edit" option vanishes from their context menu of .rdp files. We believe that this is caused when .rdp files are associated with other programs, like during the Royal TS setup (when explicitly checked).

Solution

Thanks to a user we've found a way to solve this:

1. Copy below registry change in a temporary royalts.reg file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\RDP.File\shell\Edit]
@="Edit"
"MUIVerb"=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,\
  6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,6d,00,73,00,74,00,73,00,63,00,2e,00,65,00,78,00,65,00,2c,00,2d,00,34,00,\
  30,00,30,00,33,00,00,00
; the above is the hex value of "@%systemroot%\system32\mstsc.exe,-4003"

[HKEY_CLASSES_ROOT\RDP.File\shell\Edit\command]
@="\"%systemroot%\\system32\\mstsc.exe\" -edit \"%1\""

2. Execute the royalts.reg file and import those changes.

3. Now re-assign the application by right-clicking on the RDP file, and clicking on "Open With - "Choose another app". In the appearing dialog select "Remote Desktop Connection".

4. Now you should have the option "Edit" back in your context menu.