Reset CRS then Load Script

I want to reset the a mikrotik CRS to no settings then load an rsc file settings into it. Is there a way to do this remotely?

Yes. Look for the run-after-reset parameter, of /system reset-configuration command:

https://wiki.mikrotik.com/wiki/Manual:Configuration_Management#Configuration_Reset

Hope I can help you!

That sounds like exactly what I need. Problem is when I select no-defaults, skip-backup and then the rsc file that has config and then reboot the router does not import the rsc file. I can mac-telnet in after reboot and import the file but it does not happen on its own.

Put a 10s delay in at the top of the script.

The delay seemed to work.

Now when I try to set the password at end of config it does not take.

/password old-password=“” new-password=newpass confirm-new-password=newpass