Wednesday, April 6, 2016

Fixing a Corrupt Session Collection

The Problem

Occasionally you may run into an issue where you cannot perform certain actions within RDS. For example, attempting to add a new Session Host to a collection will fail with an error stating that the properties could not be distributed to all session hosts. I've also witnessed this error when attempting to modify the settings of a Session Collection, in which case an error message is received stating the following - “Could not set the appropriate properties on the servers. Ensure that all servers are available on the network, and the properties are not managed by Group Policy.”

Error message when attempting to modify a Session Collection
Error message when attempting to modify a Session Collection
This occurs when a Session Collection becomes corrupted for some reason. If you find yourself in this situation, you can use some pseudo-hidden PowerShell commands to find and fix the corrupt Session Collection.