I launched dedicated server for my game in Windows Server 2022 with -log, in several minutes of gameplay the server freezes until I press Enter in the console (I’m connected to it via remote desktop).
The reason was QuickEdit mode freezing the command line app because of either some text selected in the console or lack of focus on the console – all of this combined to that’s actually a server remote desktop session.
Need to disable QuickEdit mode in your windows command prompt (Properties or Defaults → Enable Quick Edit mode set it to false)