you need to use a bootable windows cd/dvd. check this link https://www.top-password.com/knowledge/reset-windows-7-password-using-cd.html
open