The Catalyst 3750 Series switch has a front panel button which erases the config and reboots the switch if pressed more than 10 seconds.
In a dense Rack it happened more than once to me that cables pressed the button and therefore resetted the switch to factory default.
Searching through the cisco docs and asking aunt google I haven't found a way to disable this behavior, does someone here know how to disable this?
The
no setup express
command disables the functionality that resets the configuration when the MODE button is held. I suspect this will do what you're looking for.