Reg add \\computername\HKLM\SYSTEM\CurentControlSet\Control\Terminal Server  /v fDenyTSConnections /t REG_DWORD /d 0 /f