After 5 minutes after log off from published virtual desktop, virtual machine to goes to suspend mode. How to prevent this from happening?
Default connection timeout set for guest.
To restrict virtual machines from suspending change the default value:
Go to RAS Console > Farm > VDI Hosts > Virtual Guests Settings.
Click on "Settings" icon.
Expand and change the required options. For example, to leave virtual machine in running state, click on If session disconnects field, select Keep Current State and Apply the settings.