RDP recording tips

When recording an RDP Vuser script, follow these guidelines in order to create an effective script.

Single vs. multi-protocol scripts

When creating a new script, you may create a single protocol or multi-protocol script. For example, to record both RDP traffic and web responses, create a multi-protocol script for RDP and web to enable the recording of both protocols.

Back to top

Record into appropriate sections

Record the connection process into the vuser_init section, and the closing process into the vuser_end section. This prevents you from performing iterations on the connecting and disconnecting processes. For more information about recording into sections, see Vuser script sections.

Back to top


Recording is supported for RDP scripts when FIPS enforcement is enabled on the machine.

Back to top

Run a clean session

When recording a session, make sure to perform the complete business process, starting with the connection and ending with the cleanup. End your session at a point from where you could start the entire process from the beginning. Do not leave any client or application windows open.

You should also configure your terminal server to end disconnected sessions. Select Administrative Tools > Terminal Services Configuration > Connection Properties > Sessions > Override User Settings and set the server to end disconnected sessions.

Back to top

Explicit mouse clicks

When opening expanded menu options, click explicitly on each option—do not depend on the expanding menu. For example, when choosing Start > All Programs > Microsoft Word, be sure to click on the word Programs.

Back to top

CredSSP authentication

If you want to use CredSSP authentication when recording or replaying the script, use the RDP > Client Startup node of the recording options to specify CredSSP for recording. For details, see Security levels in RDP scripts.

Back to top