XenDesktop 5: Logoff Behaviour

In a pooled XenDesktop 4 environment you normally want to shutdown a virtual desktop after the user logged off so every user gets a clean desktop. This Logoff Behaviour was configurable in the Desktop Group properties via the Access Management Console. In XenDesktop 5 this is not configurable via the GUI anymore so we have to use PowerShell instead:

Set-BrokerDesktopGroup -Name “Desktop Group Name” -ShutdownDesktopsAfterUse $True or $False 

The default is set to False so the virtual desktop stays powered on after use.