Blog: Profile

User was unable to log into a PC, and user was getting error message that said, “The user profile service failed to logon. User profile cannot be loaded.”  Another user account also received same error message when trying to logon.  Admin user also received same error message when trying to logon. [more]Rebooting the system into Safe Mode with Networking and testing admin login did work. After a reboot, the same user was able to log into the PC without getting an error. 

The Event Viewer had the following event: 

Windows cannot copy file \\?\C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm to location \\?\C:\Users\TEMP\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm. This error may be caused by network problems or insufficient security rights. 

DETAIL - Access is denied. 

Resolution was to delete the iesqmdata_setup0.sqm file from the directory mentioned in the event log. After deleting the file, all users could log in successfully.


 

When roaming profiles are loaded and saved from and to the server over the network, sometimes the profile will load as temp or local.  The type and status should be roaming.  After renaming or copying the old profile and then recreating it, it works for a few times, and then same thing happens over and over.  You can spend a lot of time recreating profiles and fixing other things that might break when going from profile to profile.  The trick is to check the cable back to the switch.   Check the client on another run if possible, or use a fluke to test the cable(s) and connections.  The cable might test good one time and bad the next.  This is where just enough packet can be lost to corrupt the profile being saved or loaded.