Problem:
Temporary profiles can be a result of numerous factors or underlying issues and the actual root cause can vary based on the scenario and environment.
Resolution:
The purpose of this KB is meant to serve as a workaround while a root cause analysis is performed.
To avoid allowing of a user to login with a temporary profile in the event their ProfileDisk fails to successfully mount, the ProfileUnity client tools can be configured to alert the user an issue has been encountered and direct them to logoff prior to the initialization of a configuration or loading of the desktop.
Open the file below on the base image under "C:\Program Files\ProfileUnity\Client.Net" and/or in client.net.zip in client tools deployment location:
LwL.ProfileUnity.Client.Exe.ConfigModify the value of the setting below, changing it from False to True:
<setting name="ProfileDiskHealthCheck" serializeAs="String">
<value>True</value>
</setting>