Currently, there is no way to execute the userdata script that performs the TTD record with connecting to the EC2 instance using RDP.
It seems that the logon script needs some incoming connection to be triggered.
For automation purposes, this isn't really convenient because it adds some useless user interaction.