Just run Reset Windows Passwords from a bootable CD or USB and reset the forgotten password or unlock the account. There is a quicker and more elegant way out of this situation. You could format the hard drive or reinstall your operating system, but that wouldn’t keep you from partial loss of data, personal settings and extra headache. Lost password or locked Windows account is the most frequent problem data recovery specialists have to deal with.