Save this file as a Windows Powershell Script (or .txt file) at Group Policy Editor:
Type gpedit.msc at Windows menu:
User Configurations - Windows Settings - Scripts (Logon/Logoff) - Logon Scripts
DON'T FORGET TO CHANGE THE SPACES WITH 'Your_user' BY THE USER YOU ACCESS VIA RDP PROTOCOL.