We need to use the following Switch which will recover the management servers.

 

Setup.exe /silent /AcceptEndUserLicenseAgreement /recover /EnableErrorReporting:Never /SendCEIPReports:0 /UseMicrosoftUpdate:0 /InstallPath:"D:\Program Files\System Center 2016\Operations Manager" /DatabaseName:OperationsManager /SqlServerInstance:<server\instance> /DWDatabaseName:OperationsManagerDW /DWSqlServerInstance:<server\instance> /DASAccountUser:<domain\username> /DASAccountPassword:<password> /DatareaderUser:<domain\username> /DatareaderPassword:<password> /DataWriterUser:<domain\username> /DataWriterPassword:<password> /ActionAccountUser:<domain\username> /ActionAccountPassword:<password> /ManagementGroupName:MGName​