Solution:
Root Cause: Invalid ProfileImagePath Pointer
The SID key exists without a
.bak extension, but the expandable string value
ProfileImagePath inside the registry points to a non-existent folder path (e.g.,
C:\Users\TEMP), a renamed directory, or a drive letter that is no longer accessible. When
profsvc attempts to mount
NTUSER.DAT from an invalid path, initialization fails and the session terminates.
Diagnostic Verification:
Open Registry Editor and navigate to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<User-SID>.Check the value data inside ProfileImagePath.Verify whether the specified directory actually exists by checking File Explorer (C:\Users).Step-by-Step Fix:
1Access System via Safe Mode or Local Administrator:
Log into a secondary local Administrator account or boot into Safe Mode (Shift + Restart > Startup Settings).2Launch Registry Editor:
Press Win + R, type regedit, and press Enter.3Navigate to Target User SID Key:
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.Select the SID key matching the user account.4Correct ProfileImagePath Value:
Double-click ProfileImagePath in the right pane.Modify the Value data to point to the correct, existing user profile directory (e.g., C:\Users\JohnDoe).Ensure there are no trailing spaces or typographical errors in the folder path.5Reset State & Flags:
Set State DWORD to 0.Set RefCount DWORD to 0.6Reset Permissions on Profile Directory:
Open Command Prompt (Admin) and execute:icacls "C:\Users\JohnDoe" /reset /t /c /l /q7Restart Windows:
Reboot normally and test user authentication.Prevention & Long-Term Monitoring:
Never rename user profile folders under C:\Users directly via File Explorer; always use Advanced System Settings (sysdm.cpl) or proper profile migration utilities.Utilize centralized user profile deployment scripts in enterprise environments to ensure path consistency.