windows - windows - When does a Remote desktop's clipboard's content get transferred to the RDP client machine for copy or paste? - answerstu - answerstu.com answerstu

windows - When does a Remote desktop's clipboard's content get transferred to the RDP client machine for copy or paste?

During the RDP session from client A to server B, when one clicks copy on server B to transfer some text via shared clipboard to A,when does the clipboard actually being transferred to A,
is it right after copy action on B, or after paste action on A?

Also if client A also connected to server C, and copying from B to C, does the contents of clipboard get buffed on A before being transferred to C?

1 Answer

  1. Jesse- Reply

    2019-11-15

    Ok I did a bit of research myself and after looking at this MSDN RDP Doc and in particular copy and paste examples my conclusion is that the clipboard contents only transferred during paste phase. Once the copy action is performed client receives only the format information (i.e Metafile,Palette etc)

    The goal of the Copy Sequence is to synchronize the list of available formats across the client and the server clipboards (source)

    Actual clipboard data is transferred during the paste phase

    The goal of the Paste Sequence is to transfer the data for a single format from the Shared Clipboard Owner to the Local Clipboard Owner. (source)

    Hence no data gets transferred until you click paste (here is a nice overview), however I couldn't find any answers to what happens when copy/paste is performed within the server B will data still be transferred to A?
    Again RDP seems to have a concept of Local vs Shared Clipboard owners so chances are that data will not get sent to A, I have no proof of that though. Hope this helps someone

Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>