title: windows Cmd freezes and I have to click on window to coninue
body: <p>I have a ruby script that displays it's progress via the cmd and completes in about 10 minutes. In the last few weeks the cmd seems to freeze and after 10 minutes when I click on the cmd window it then completes the script. 
  I have searched on forums and suggestions include: disable QuickEdit Mode &amp; Insert Mode which I have done but this has not fixed the problem.</p>
  
  <p>The platform is an azure windows server 2016 VM.
  Could this problem be due to a recent windows update?</p>
  
  <p>Thanks</p>