Check if someones connected to PC through Windows RDP [closed]

You can list remote sessions with qwinsta:

c:\> qwinsta /SERVER:<YOUR-MACHINE>

Id #1 is the local session.