First of all create a new user by following these steps

Shutdown the mac
press and hold command + S Key and switch on the mac
type following commands
mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now

After rebooting create new admin account
login with new admin account
Go to preference and reset previous admin and user account


Leave a Reply

Your email address will not be published.