Method one: Use another Windows 7 administrator account
If you had created more than one administrator account on your Windows 7 computer and you can remember the others admin password, you can change one of the administrator accounts' password if you login with another administrator account. What you need to do is just following these 3 easy steps:
Step 1: Click Start -> Control Panel -> Add or remove user accounts
Step 2: Choose the locked administrator account.
Step 3: Click Change the password or Remove the password. And then you can change or remove the lost or forgotten password.
However, if the locked account is the unique administrator account on your Windows 7 computer, you can try the method below.
Method two: Use third party Windows password recovery software
There is plenty of software which is used to recover Windows password available online. You can choose one of them to create a Windows password recovery disk. Here we use windows login recovery as an example:
Step 1: Download Windows Login Recovery and install it on another computer which has a CD/DVD writer.
Step 2: Run the software and burn the ISO image file into a blank CD/DVD.
Step 3: Recover Windows 7 administrator Password with nearly burned password recovery disk.
Step 4: Reboot your locked computer without a password required.
Now you can regain access your Windows 7 operating system and create a new administrator password.