The tls_branding_config.xml and LServer_PKConfig.xml are corrupt. SFC and DISM are not fixing.
Azure Virtual Server 2022 using remote desktop. After 12 - 14 users login, the machine forces users to use a temporary profile. Problems began about one month ago. Prior to that frequently had as many as 17 users on the machine simultaneously. The machine has an event error indicating the ntuser.dat file is not available when users are forced to temporary profile. Also, an SFC scan indicates the tls_branding_config.xml and LServer_PKConfig.xml files are corrupt. Have done the following to try and fix. Run sfc /scannow. Various versions of dism. Deactivating the license server, removing the feature, rebooting and reinstalling. Same thing for the remote desktop services. Have tried copying older versions of the files to replace the corrupt files. The license server itself reports no errors. Have 50 device terminal server licenses on the machine only 20 of the licenses have been assigned. At a loss as to how to proceed to correct.