user profile failed the login

I have a hp pavillion all in one when i try to logon it says user profile failed the logon.
i have tried system recovery many times and it fails each time.
i have also tried to get on in safe mode and it gives me an error message there too please help i dont want to lose info on my hard drive bcause some of it cant be replaced