Sub topic 14
Slow Profile Load and Corrupt User Profiles
Assumptions and scope
This chapter assumes you know how Windows user accounts work, can use the Settings app, Control Panel and an elevated Command Prompt, and understand the basic folder layout of a Windows drive. It covers the A+ Core 2 symptoms of a slow sign-in and a corrupted user profile. It follows the CompTIA troubleshooting methodology from the first chapter of this tutorial. It stays with a single machine and does not cover domain design.
A user profile is the set of files and settings that belong to one account. It holds the desktop, documents, app settings and personal registry data. Windows loads it each time that user signs in.
Where the profile lives
Each local profile has two parts:
- A folder under
C:\Users\<username>. It containsDesktop,Documents,Downloads, the hiddenAppDatafolder and the fileNTUSER.DAT. - A registry hive named
HKEY_CURRENT_USER(HKCU). Windows reads it fromNTUSER.DATand loads it at sign-in.
The registry also keeps a record of every profile in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Each profile has a subkey named after the account's security identifier (SID). The ProfileImagePath value in that subkey points to the profile folder. When the folder and the registry record disagree, Windows cannot load the profile correctly.
Recognizing the symptoms
Slow profile loads and corrupt profiles overlap, so list the symptoms before you choose a fix.
| Symptom | Likely cause |
|---|---|
| Sign-in takes minutes, then the desktop appears normally | Large profile, slow network share, many startup items, or a slow disk |
| "Working on it" or "Please wait for the User Profile Service" hangs | Heavy profile data or a stalled service |
| "The User Profile Service failed the sign-in. User profile cannot be loaded." | Damaged `NTUSER.DAT` or a bad `ProfileList` entry |
| Signed in with a temporary profile; files and settings missing | Windows could not load the real profile |
| Settings reset, wallpaper missing, apps lose their configuration | Profile damage or redirected folders that are unavailable |
| Only one account has the problem | Profile fault, not a system-wide fault |
The last row matters most. If a second account signs in quickly and works normally, the operating system is probably healthy and the first profile is the problem.
Why profiles load slowly
Sign-in speed depends on what Windows must do before it shows the desktop. Common causes are:
- A bloated profile. Very large Desktop, Documents or AppData folders slow the sign-in, especially when they sync or redirect to a network location.
- Roaming or redirected folders. In a domain, the profile may be copied from a server at sign-in. A slow network or an unreachable server delays the load.
- Startup programs. Many items in the Startup list or the Run keys add work after sign-in.
- A slow or failing disk. Heavy reads on a drive with bad sectors or a full disk make everything slower.
- Group Policy and login scripts. In a domain, scripts and policy processing run before the desktop appears.
- Pending updates or a stalled service. The User Profile Service must be running for sign-in to finish.
Applying the methodology
Walk through the standard CompTIA steps.
- Identify the problem. Ask who is affected, what changed and when it began. Reproduce the symptom by signing in. Back up important data before you change anything.
- Establish a theory of probable cause. Check whether the problem follows the account or the computer. Question the obvious first. Is the disk full? Is the network connected?
- Test the theory. Sign in with a different account, and sign in to the affected account in Safe Mode. Check Event Viewer for User Profile Service entries.
- Establish a plan of action. Decide on the least destructive fix and identify side effects, such as lost settings.
- Implement the solution or escalate. Apply the fix, or escalate if the profile holds data you cannot recover.
- Verify full system functionality. Sign in again and confirm files, settings and apps.
- Document the findings. Record the cause, the fix and the data you moved.
Gathering evidence
Use Event Viewer to confirm the cause. Open Windows Logs > Application and look for events from the source User Profile Service (Event ID 1511 reports that Windows cannot find the local profile and is logging on with a temporary profile; ID 1515 reports that Windows has backed up the profile). The System log can also show disk or service errors that happened at the same time.
You can also view profiles in Settings > System > About > Advanced system settings > User Profiles > Settings. This list shows each profile's size and last modified time. It helps you find a very large profile.
The following command lists each profile's SID and folder path from the registry. Run it from an elevated PowerShell prompt:
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\*' |
Select-Object PSChildName, ProfileImagePathLook for a SID that ends in .bak. That suffix means Windows renamed a damaged entry. You may also see two entries for the same user, one with .bak and one without. The unsuffixed entry is often the temporary profile that Windows created.
Fixing a slow profile load
Start with the least destructive steps:
- Free disk space. A nearly full system drive slows sign-in.
- Remove unneeded items from Task Manager > Startup apps, as covered in the services and startup chapter.
- Move large files out of Desktop and Documents, or out of folders that sync to the cloud.
- Check that a network share or redirected folder is reachable.
- Run
chkdsk C: /f /randsfc /scannowif the disk may be at fault. - Test with a clean boot or Safe Mode to rule out third-party software.
If a different account is also slow, stop treating it as a profile problem and move to the performance chapter.
Fixing a corrupt profile
For a local profile, the safest fix is to create a new profile and copy the user's data into it. This keeps the old profile intact in case something is missed.
- Sign in with an administrator account that is not the damaged one.
- Create a new local account, for example from Settings > Accounts > Other users, and sign in once so Windows builds its profile.
- Sign out of the new account. Copy data from the old folder, for example
C:\Users\alex, to the new folder, for exampleC:\Users\alex2. Copy the personal folders such as Documents, Desktop, Pictures and Downloads. - Do not copy
NTUSER.DATor the wholeAppDatafolder. They can carry the corruption into the new profile. - Sign in to the new account and check the files.
- Reinstall or reconfigure apps as needed, then remove the old profile only after the user confirms nothing is missing.
In a domain, an administrator can instead delete the damaged profile and let Windows build a new one from the server copy at the next sign-in. Deleting a profile removes local data, so back it up first.
Repairing the ProfileList entry
If the error mentions a temporary profile and ProfileList shows a .bak key, the entry can sometimes be repaired in the registry. This is more risky than creating a new profile, so export the key first. Then rename the keys so that the .bak key loses its suffix, and make sure ProfileImagePath points to the right folder. Reboot and sign in. If it does not work, return to the new-profile method.
Deleting a profile correctly
Never delete a profile by removing its folder alone. That leaves the registry entry behind and can cause temporary-profile problems later. Use Advanced system settings > User Profiles > Settings > Delete so Windows removes both the folder and the registry entry.
Common errors
- Treating a system-wide slowdown as a profile problem. Always test with a second account first.
- Copying
NTUSER.DATinto the new profile, which brings the corruption along. - Deleting data before verifying a backup.
- Editing the registry without exporting the key.
- Ignoring a full or failing disk that is the real cause.
- Forgetting to document the change and tell the user about reset settings.
Exam tips
On the exam, the clue "only one user is affected" points to the profile. "Temporary profile" or "User Profile Service failed the sign-in" also points to the profile. The best answer is usually to create a new profile and migrate data, not to reinstall Windows. If every account is slow, choose a system-level answer such as checking the disk, startup items or services.
Exercise
A user signs in and sees a message that the User Profile Service failed the sign-in. Windows loads a temporary profile and the user's files are missing. Another account on the same PC works normally. What is the best next step?
Show answer
Back up the user's data from the original profile folder, then create a new profile and copy the personal files into it (not NTUSER.DAT or AppData). The healthy second account shows the operating system is fine, so reinstalling Windows is not needed. If a .bak key appears in ProfileList, you may first try repairing it after exporting the registry key.
Exercise
Why should you delete a profile from the User Profiles dialog in Advanced system settings instead of deleting the folder in File Explorer?
Show answer
The dialog removes both the folder and its entry in the ProfileList registry key. Deleting only the folder leaves a stale registry entry, which can cause temporary-profile errors at the next sign-in.