Your SQL Server installation is either corrupt or has been tampered with

 

When receiving this error message: ”
Error : Your SQL Server installation is either corrupt or has been tampered with (Error getting instance ID from name.). Please uninstall then re-run setup to correct this problem, it is likely you are trying to start SQL Server as a regular binary or as a service without any command line parameter.
Contrary to this troubleshooting post, this may happen also when you have a single SQL Server instance on your machine.
The trick is to always use the -s switch to specify the instance name.
Please note that in this context, the instance name does not include the server name. Therefore a MYSERVER\MYSQLSERVERINSTANCE standard notation should be translated into:
sqlservr.exe -s MYSQLSERVERINSTANCE