I am on SQL Server 2008 R2 on Windows 7. I want to rebuild my master database (this is for learning) using
setup.exe /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=PREMTESTCOMPUTE\pmehrotr /SAPWD=xxxxxxx
When I run this command, I get error:
Final result: Failed: see details below
Exit code (Decimal): -2068643838
Exit facility code: 1203
Exit error code: 2
Exit message: The state of your SQL Server installation was not changed after the setup execution. Please review the summary.txt logs for further details.
Requested action: RebuildDatabase
I have looked in various summary log files in Setup Bootstrap \Log drcetory and I cannot find the roort cause as something missing, do not have premssions etc. In different files it shows the same exit message; so it is frustrating how to troubleshoot this problem. I have also looked in event viewer and no information related to this error.
My database instance MSSQLSERVER has several accounts with sysadmin role. I just sepcified one:
setup.exe /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=PREMTESTCOMPUTE\pmehrotr /SAPWD=xxxxxxx