In XP, we were able to just rename a profile folder to rebuild their profiles,
but Vista will create a TEMP user folder instead of a fresh profile. If you
are helping someone with an unreasonably slow logon (longer than say five
minutes), and are unsure of how to proceed, try these steps to resolve the issue.
This solution is a little risky if you are not familiar with the registry, but it has worked the last few times I have tried it.
1. Run regedit
2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
a. Look at each folder that starts with S-1-5-21
i. In each folder there are two values you are looking for
1. Guid-contains another unique numeric identifier
2. ProfileImagePath-contains the path C:\Users\username
3. Once you have found the unique ID for the user, in the same directory as ProfileList there are two other folders, ProfileGuid and PolicyGuid.
a. Open each folder and look for the Guid found in ProfileList and delete that folder.
4. After deleting the folders out of ProfileGuid and PolicyGuid, delete the user's unique ID from ProfileList
5. Finally, delete the user's folder and any "TEMP" folders from C:\Users