Symptoms
On a Windows Server 2008 R2, you have Remote Deskop Services (RDS) role installed, and on every server reboot you get the following Application Crash event logged:
Cause
This issue occurs if you have configured the Terminal Services License Servers directly in the Registry.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService\Parameters\LicenseServersValue Type: REG_MULTI_SZ
Value SpecifiedLicenseServers
Note: The above registry value is a Mult Line entry, and if the last line is not an additonal emptyLine, but terminated early, the crash may occur.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService\Parameters\LicenseServersValue Type: REG_MULTI_SZ
Value SpecifiedLicenseServers
Note: The above registry value is a Mult Line entry, and if the last line is not an additonal emptyLine, but terminated early, the crash may occur.
Resolution
Add an addional empty Line to the List of SpecifiedLicenseServers, or configure the License Servers with Group Policy
More Information
With the REG.EXE Utilty it is not possible to create such malformated entries.