How to just reset the password without affecting the existing configuration?
If you don’t have access on router there is no way!
Forgot the password
Just hardware reset or netinstall, both ways will destroy all configurations!
for future make a script (its somewhere on forum) and let it send backup on your email. it saves me few times.