Hi adelinlsh,
Possible cause & solution for your issue below,
Cause:
1) This issue may occur if the user profile was manually deleted by using the command prompt or Windows Explorer by user or by some program. A profile that is manually deleted does not remove the security identifier (SID) from the user profile list in the registry. Since the SID is still present, Vista will still try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded. (Which means user account deleted)
2) This can also be a issue with the user profile entering into a backup state.
3) User manually renamed the C:\User\(UserName) folder.
4) Virus/Spyware/3rd Party Program like CCleaner which can edit the registry keys.
How to solve:
You have 2 option to solve this issue
Method 1) Using restore window
Method 2) Find the backup user profile in registry and change the backup profile.
1) Press 'F8' at DOS mode, then choise 'safe mode'. (Login user window with administrator or the original account-the password is still working in safe mode )
2) Click the Start Button and in the white "Start Search" space at the
bottom type "regedit"
3) In registry editor go-to:
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows NT
CurrentVersion
ProfileList
You should now have a list of folders all starting with S-1-5- and then a
number.
Look at the end of each name and you should see one with .bak at the end of it, and there will be another one above it with exactly the same name but without .bak at the end. The one that's got .bak at the end is your old User Profile that Vista has now made into a backup, and the one without .bak after it is the new empty User Profile that Vista has created. Just to check that this is the case, have a look in the right-hand pane for each of the 2 folders and look at what's written after "ProfileImagePath". For the folder with .bak at the end it should say C:\Users\ and then your usual User Account name, and for the one that doesn't have .bak at the end it should say C:\Users\TEMP.
Example:
S-1-5-21-2176023682-2525803994-372153519-1005 (This is the C:\User\TEMP)
S-1-5-21-2176023682-2525803994-372153519-1005.bak (This is the original user profile that had been deleted, now it is a Backup file and it contain the user name such as: C:\User\Admin)
4) Right click the folder with .bak and then 'rename' change the 1st to '.bak' and the 2nd to without '.bak'
5) Once you have done the change 'Restart' your computer.