I've tried using schtasks to schedule a process termination at specific time and that makes a bit of a difference but I still can't connect to my VM.
I'm waiting about 24 hours of gui automation and is so depressing when in the end I can't reconnect to my system to view the result - I tried serial console but it can't launch cmd. I've tried to run powershell command but it never finishes executing - in other words it fails.
Pstools can't execute their services in amount of time.
I'm connecting using RDP btw.