• Is the syntax of the command to reinstall master correct? I ask because you listed

    "start /wait D:\setup.exe /qn INSTANCENAME=mssqm$ICT REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=StrongPassword"

    supplying an instance name of mssqm$ICT yet your error is

    "The SQL Server (SQLFORMIRROR) service terminated with service-specific error 3411 (0xD53)."

    indicating your instance name with problems is SQLFORMIRROR.

    Joie Andrew
    "Since 1982"