Bypass Windows 7 Logon Password in Safe Mode
You can change Windows 7 password from safe mode in following steps:
Step 1: Press F8 before the Windows 7 loading screen.
Step 2: Choose a Windows 7 safe mode option—"Safe Mode with Command Prompt"→Press "Enter" next.
Step 3: Type net user and press Enter, all accounts on the Windows 7 PC will be displayed.
Step 4: Type your locked user account with a new password in the command prompt, for example, "Happy 123456" means your new password for net user "Happy".
Step 5: After restart your computer, you now can log to your PC with the new password successfully.
(Note: When you recover Windows 7 password from safe mode, an administrator account with known password is necessary.)