In safe mode log in as administrator and go to users and reset the password.

You indicated you are using the PC in Safe Mode now, so how did you get on without a password?