Lets hope they backport the Remote Commands menu to RDC on Windows

RDC Windows

Windows / December 30, 2021

Registry EditorLast week, we saw how to troubleshoot SSL issues.
Similarly, during automation, one might have to do a remote desktop connection (RDC) to multiple machines and there are chances of minimizing or closing the RDC connections. In this blog post, we discuss the solutions to problems with native elements if the RDC is minimised or closed.

Scenario 1: Minimised Remote Desktop Connection
When tests are executed on a remote machine using Remote Desktop Connection and the RDC window remains minimised, native events (including taking screenshots) fail to work.
To fix this, one needs to add registry keys on the client machine from which the Remote Desktop Connection is made.
NOTE that these keys are to be modified on the client and not the remote machine.

Please be careful while changing the registry entries.

  • Launch the Windows Registry as appropriate on your Windows machine
  • For 32-bit Windows, find the registry key:
    HKEY_LOCAL_MACHINESoftwareMicrosoftTerminal Server Client
  • For 64 bit Windows, find the registry key:
    HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftTerminal Server Client
  • Create a DWORD value with the name RemoteDesktop_SuppressWhenMinimized with value 2.
  • Run the tests.

Now native events should work well with a minimised Remote Desktop Connection.

Scenario 2: Closed Remote Desktop Connection
Sometimes users would want to open a Remote Desktop Connection, start running the tests on the remote machine, and close off the connection from the client while the tests are running.
In this case, native events (including taking screenshots) fail to work.

Clipboard CheckedTo work around this, please do the following instead of closing the remote desktop connection directly.

  • Create a batch file on the Remote machine’s Desktop (For example: “disconnect.bat”).
  • Type the following line in the file –
    tscon %sessionname% /dest:console
    and save it.
  • Start off the tests on the Remote machine.
  • Do not close the Remote Desktop Connection from the client directly.
  • Instead, double click on the batch file. The session will be closed by the remote desktop.

    Now native events should work well with the closed Remote Desktop Connection.

Scenario 3: Right Click > Paste (Clipboard) missing in RDP (RDC)

Even though you have ensured that Clipboard is checked and available during the remote session, when you do a right click after a copy, the paste option might be disabled.

All you need to do is to kill the clipboard process and restart it again! You can do so by running the following command from the windows run command (Windows Key + R) or cmd (on the remote machine):

Taskkill.exe /im rdpclip.exe

The command above will kill RDP Clip Monitor process, and then you can restart the process again by running the following command:


It should start the process again and the clipboard should start working again now

Refer the following link for more information:

Hope this post gave you information about troubleshooting RDC issues. Feel free to let us know if you face any other issues by sending an email to support [AT] sahipro [DOT] com

creativity in the workplace creative inside art creativity kids a creative creativity sy creation x mcmaster menu creative office icreative technologies creativity over zoom creation thesaurus creativity about yourself creativity before capital creativity in the classroom creativity and mental health acreativemedley creative in french creative thanksgiving recipes creativity band creativity magazine creation of culture creation hospitality creativity vs creativeness creativity on resume creation pedalboard until creative agency jira creation via email creative halloween costumes creation justice ministries but creation is quiet job creation over time creativity quotes creativity at night creativity to overcome a dilemma creation nation shark tank creative drive thru creative resume templates creativity out of the box creative jobs creation hair salon creativity commons asu creativity used in a sentence creativity within you creation kids creativity in business can creative capital creativity quotes for kids creativity to solve a problem example creative living solutions creativity shell creativity out in hindi creativity is like breathing creativity word rewards and creativity past present and future creativity needs constraints creativity yours

Source: sahipro.com