Troubleshooting

Forgot Your MikroTik Password? Reset Button and Netinstall Explained

RouterOS has no password recovery. Learn the two safe ways back in, the reset button and Netinstall, and how to avoid being locked out again.

Commands in this article follow RouterOS v7 documentation but have not yet been marked as lab-tested on this site. Always test changes in a lab or maintenance window and keep a backup.

Problem

You cannot log in to your MikroTik router because the admin password is lost, or someone else configured the router and nobody knows the password.

Symptoms

  • WinBox shows ERROR: wrong username or password.
  • No other admin account works.

Likely causes

  • The password was changed and never documented.
  • The router was set up by an ISP or a previous engineer.
  • On newer MikroTik devices the default password is not empty. It is printed on the device label.

Prerequisites

  • Physical access to the router.
  • For Netinstall: a Windows or Linux PC, an Ethernet cable, Netinstall and the RouterOS package for your device's architecture from mikrotik.com/download.

Warning: Both methods below erase the router's configuration. RouterOS cannot recover or show a lost password. Keep your backup or export ready.

Solution (WinBox / CLI)

If another admin account still works, simply set a new password:

RouterOS CLI
/user set admin password=NewStrongPassword

Method 1: Reset button (fastest)

  1. Unplug the power.
  2. Press and hold the reset button, then plug the power back in.
  3. Keep holding until the user LED starts flashing (about 5 seconds), then release. The router starts with its default configuration.

Holding longer does other things: about 10 seconds (LED turns solid) starts CAPsMAN mode, and about 15 seconds (LED turns off) makes the device look for a Netinstall server.

After the reset, log in as admin. On older devices the password is empty; on newer devices use the password printed on the label.

Method 2: Netinstall (when the reset button does not help) Use Netinstall if the reset button was disabled with protected-routerboot, RouterOS is damaged, or you want a completely clean install.

  1. Download Netinstall and the RouterOS .npk package for your device's architecture (for example arm, arm64, mipsbe, mmips or smips).
  2. Give your PC a static IP address such as 192.168.88.2/24 and turn off Wi-Fi.
  3. Run Netinstall as administrator, open Net booting and set the client IP to 192.168.88.3.
  4. Connect the PC to the router's boot port, usually ether1.
  5. Hold the reset button while powering on for about 15 seconds, until the device appears in Netinstall.
  6. Select the package and click Install. Tick Apply default config if you want the factory setup.

Verification

Connect with WinBox to 192.168.88.1 or through the Neighbors tab and log in. Then set a strong password and a name straight away:

RouterOS CLI
/user set admin password=NewStrongPassword
/system identity set name=Office-Router

Common errors

  • Releasing the button too late: the router enters CAPsMAN or Netinstall mode instead of resetting. Power-cycle and try again.
  • Wrong architecture package: the device does not install.
  • PC firewall blocking Netinstall: allow it, or turn the firewall off during the install.
  • Using a port other than the boot port.

Rollback

A reset cannot be undone. Restore your work from a backup (/system backup load name=...) or an export (/import file-name=...rsc). To avoid this next time, keep a second admin account and a recent export. See Backup vs Export in RouterOS.

Go deeper in class

This topic is covered hands-on in MTCNA — MikroTik Certified Network Associate.

View MTCNA
WhatsApp