I would get an on screen error somewhat like:
The user profile service service failed the login. User profile cannot be loaded.
In the application errorlog (eventvwr.msc) there were errors from the user profile saying
Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
DETAIL - Access is denied.
Fix:
After much googling I found out that the critical files are under
c:\users\MYUSER\ntuser* . Crucially the "ntuser.dat" file is actually a registry hive, so my running "REGEDIT", selecting HKEY_USERS in the nav, then "load hive" from the menu, I could browse my settings. So the file was not corrupt, it was there.
What now? Well I found additional registry entries with REGEDIT under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
There was 1 line for each profile. Crucially if a profile is bad there are 3 things worth checking
a) Ensure the key name doesn't end in ".bak"
b) Ensure the RefCount value is 0
c) Ensure the State value is 0
Having done the above, the profile then worked fine, and I'm now back up and running with all settings intact.
No comments:
Post a Comment