I recently was tasked with fixing some odd issues with a Server 2012 R2 Exchange box which didn’t seem to be allowing other Administrative users to log in via RDP. They were getting an error, saying that their Profile could not be loaded, and that the User Profile service had Failed the sign-in.
First port of call was to check the registry to ensure that there were not duplicate SID’s, alas this wasn’t the problem.
So, I checked the error log. In this case, the server is an Exchange box (which is somewhat important in this case), and sure enough a log entry was shown in the “Application” event log mentioning the failed login.. and a file itself:
Windows cannot copy file
\\?\C:\Users\Default\AppData\Local\Microsoft\Exchange Server\v15\Configuration1000_100.sqm to location \\?\C:\Users\TEMP\AppData\Local\Microsoft\Exchange Server\v15\Configuration1000_100.sqm. This error may be caused by network problems or insufficient security rights.
DETAIL – Access is denied.
It turns out that the file above is actually a “Service Quality Monitor” file, created by Microsoft Exchange. To get around this error, you can set the file, and the folder it is in, to be accessible and writeable by the “Users” group.