No service password-recovery question

I recently took over for another administrator who left the company,who setup the routers and switches to erase their startup config if password recovery was invoked. As luck would have it, I had to reprogram a switch from scratch because the password was not available and I had to run a recovery. Anyway, my questions is if I remove the "no service password-recovery statement" from the rest of the routers, and replace it with service password-recovery, will that take out the function that erases the startup config when a password recovery is invoked? After I am done with this, I think I'm going to install AAA authentication to have all of the passwords in one place.Thanks in advance.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

surbabu140977Connect With a Mentor Commented:
Yes, you have to type "service password-recovery" and "config-register 0x2142" in global config mode and then reboot. Hopefully your issue would be solved.


dtpowell27Author Commented:
Sorry, I forgot to add that these were Cisco devices.
All Courses

From novice to tech pro — start learning today.