title: Copy files from remote Windows machines with command-line, through RDP
body: <p>Our team has ~80 Windows development machines, and activities of each developer are logged as text files on the local storage of those machines.
  To analyze the logged activities, I want to gather all log files from those machines. Additionally, the log files are updated constantly, so It is desirable to gather files with the command-line from my machine.</p>
  
  <p>I’ve searched and found some solutions, but all of those are not suitable for our situation:</p>
  
  <ul>
  <li>We cannot use PsExec, because tcp/135 and tcp/445 are both closed (countermeasure for WannaCry).</li>
  <li>Administrative share is disabled.</li>
  <li>telnet service is not up and is banned by security reasons.</li>
  <li>WinRM is disabled on those machines by default.</li>
  <li>It is difficult to install new software like OpenSSH on those machines (because of the rule of this project)</li>
  <li>RDP is the only way to connect those machines. (I have an account on all machines)</li>
  </ul>
  
  <p>How can I copy files from remote Windows machines with command-line through RDP?
  Or, at least, is there any way to execute a command on remote Windows machines with command-line through RDP?</p>