read and set RDP