disable reset button

hi
I need a Script or a way to disable the rest button on (RB 912) .
so that i can not rest it from the button

Protected RouterBOOT is the highest reset protection level possible. It is not possible to disabling the reset button completely.

and what that Code do
/system routerboard settings set enable-jumper-reset=no

this only affects devices with an onboard reset jumper hole. does not affect button.
protected RouterBOARD basically does what you need, see above post.

so what i do to disable it
and how to set the Protected bootloader

There is a link to the manual right here in this topic

Is there a way to just disable the backup when doing reset by button ?

The reset can be made, we just don’t want the previous configuration to be preserved in any place.
This will be safer for vpn passwords and other private data.

Yes
/system reset-configuration skip-backup=yes

==> “when doing reset by button ?”

Reset by button do not do any backup. if any file is left on rb, there are previously present
Only neinstall clean all, any other “non-cli” methods for reset do not clean anything on internal routerboard folder.

If you not protect the rb with protected-routerboot,
anyone can access actual config using netinstall with “keep old config” set (all files inside are lost)
upgrading to, for example 6.47, to new password databas version and netinstall again for downgrading to, for example, 6.40 to non-existant-database.
this clean admin password and you can gain ful access and export any password as cleartext

also exist some tools to start routerboard on ethernet boot and it display all file contents on LAN, including system files, like is one shared folder.

Since version OS 6.47 Mikrotik has added a software option to be able to disable the hardware button > system routerboard reset-button set enabled=no (or yes).
Typical Mikrotik WiKi documentation does not clearly state what exactly yes and no mean, so maybe assume that No means one cannot reset the Mikrotik with the hardware button? In the GUI Winbox “system routerboard reset-button set enabled=no” shows up as being without a check being next to the GUI Enabled check box.

I have tested but cannot understand exactly how this new hardware button disable feature works. Only thing I know is that with the check enabled or disabled I was not able to reset a Mikrotik hAPac2 device after waiting 10 seconds holding and even 20 seconds, which is in fact what I want so my customers cannot accidentally remove the config, where after I get a phone call when internet no longer works. So then of course is the question of how do I reset my Mikrotik to factory settings if I wish to?

Maybe Mikrotik would like to clarify how this feature works, including in respect to Netinstall and what is the default setting when upgrading OS so as to use this option

Source? Your fantasy? ChatGPT?
What the heck are you writing?


It’s just to run a script (when RouterOS is already booted) if you press it (for hold time), not for disable “hardware” reset on startup.

/system routerboard reset-button
set enabled=no hold-time=0s..1m on-event=“”

Also do not do necroposting, especially if the solution is already in post #2: just read.

Necroposting or not (https://www.reddit.com/r/NoStupidQuestions/comments/163tqzg/what_is_necroposting_and_why_do_people_get/)
still a valid remark. Protected Routerboot is getting very difficult to maintain now in (very) remote locations (“press a button”) , just then when you need that protection the most.
This stops me from upgrading ROS: I do have to be able to enable/disable routerboot protection remotely, as the reset button is too attractive to visitors who did not succeed to authenticate.
But sometimes “reset” is wanted, without being forced to do a (remote?) mandatory Netinstall.

… cat may be hissing at me now …

?Why? You didn’t write anything invented in your post…
necroposting is in 3rd part, so is less relevant