Question: how to remove windows 7 password in safe mode with command prompt?
Answer: While starting the computer, hold down the F8 key until the Advanced Boot Options screen appears. ... 
You will see the hidden Administrator account available on the login screen. ... 
Run the following command and you can reset forgotten Windows 7 password in no time.