RDP agent not syncing: rdp_sync_on_agent fails

  • Questions
  • RDP agent not syncing: rdp_sync_on_agent fails
Question ID: 104732

I am attempting to use the Agent for Microsoft Terminal Server in my LoadRunner Vuser script. The client RDP session is a Windows Server 2008 R2 with Service Pack 1.

The following times out and fails with an error:
Agent synchronization failed.
There was an error while synchronizing on the agent


I am attempting to do a sync on the agent after logging into the RDP session to make sure that the agent is active. I have placed a sync on an image beforehand so that I know I’ve logged into the session correctly.

The LrRdpAgent.exe appears to be running – it shows in the Windows Task Manager.

In my runtime settings I have set to Replay using RDP agent.

Any ideas about what could be wrong?
Does the Agent require opening up certain ports for communication?
Does the Agent need to run both inside the RDP session client and the OS running the vuser?

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on December 2, 2012 9:14 pm
Answers (1)
Private answer

When using the RDP protocol with the RDP agent, always insert some type of image sync on the screen. This will ensure that the script does not try and synch with the RDP agent before you're actually logged in.

Marked as spam
Posted by (Questions: 12, Answers: 363)
Answered on February 15, 2013 8:32 pm