Password Recovery
March 11, 2025 - Reading time: 2 minutes
The Password Recovery procedure is used to regain administrative access to a device when passwords are lost or forgotten. This method involves interrupting the boot process to enter ROMMON mode, bypassing the startup configuration, and then resetting the necessary credentials. The recovery process requires precise use of configuration register changes to ensure the device boots properly without the previous settings. By following these steps, administrators can restore secure access while maintaining the integrity of the existing configuration.

Step‑by‑Step Lab: Cisco Password Recovery
1. Device Setup and Interrupting Boot
-
Setup: Console to the device needing password reset.
-
Action: Reload the router. During the boot process (#####), press the Control+Break key to enter ROMMON mode.
Expected Console Output (ROMMON prompt):
2. Change the Configuration Register in ROMMON
3. Reload the Router
-
Action: Reset the router to boot without loading the saved configuration.
Command:
Expected Output:
After a moment, the router boots up and you will see the boot sequence messages, ending with:
4. Enter Privileged EXEC Mode
5. Copy the Startup Configuration to Running Configuration
6. Reset the Password(s)
7. Restore the Original Configuration Register
8. Save the New Configuration and Reload
-
Action: Save the changes to the startup configuration and then reload the router.
Commands:
Expected Output:
-
Verification: Once the router reboots, log in and verify that the new password is active by entering privileged EXEC mode using the new password.
Console Interaction Example:
Verification Commands
-
Check the configuration register setting:
Command:
Expected Output:
-
Display the running configuration to verify the new enable secret:
Command:
Expected Output:
(The hashed value will differ based on your input.)
User Challenge
Comprehensive Password Recovery:
Both the enable and secret passwords are lost. Perform the recovery procedure, then verify your changes by testing login access using the new credentials.
The lab is available for download from this link.