a) Log in with temp profile.
b) Start registry editor by typing regedit in find box of Windows 7.
c) Navigate the following location.
HKEY_LOCAL_MACHINE\SOFTWARE\Micosoft\Windows NT\CurrentVersion\ProfileList
d) You will see similar keys under profile list, but one with .bak
e) The key with .bak is for the correct old profile. Currently your Windows 7 computer logged in with fresh (temporary) profile with same key. So, rename the new profile key ( which is not having.bak) and remove .bak from correct profile key.
f) That's it. Log off and log in (or restart) with your user name and password.
If Windows 7 computer loads with temporary profile and creates a registry key with .bak, that means user profile is really corrupted and Operating System is not reading it properly.