Consider the following scenario:
Additionally, if you run the qwinsta /vm command on the computer that hosts the virtual machine, the result indicates that the disconnected session still exists even if it is stopped.
- You deploy a Microsoft Virtual Desktop Infrastructure (VDI) environment in the network.
- You enable the Remote Desktop Virtualization Host (RD Virtualization Host) role service on the Windows Server 2008 R2-based computers.
- You configure rollback images for all virtual machines in the VDI environment.
- You enable the following Group Policy settings on the virtual machines in the VDI environment:
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits\Set time limit for disconnected sessions
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits\Terminate session when time limits are reached - There is only a disconnected Remote Desktop connection on a virtual machine.
Additionally, if you run the qwinsta /vm command on the computer that hosts the virtual machine, the result indicates that the disconnected session still exists even if it is stopped.