The installer contains a script that verifies the database settings are correct.

If you see a message that says your Windows domain\username is not valid, it means that your Windows account does not access permission to SQL Server.

Use SQL Management Studio to add your Windows user account to SQL Server's access list and then re-run the installer.

Note:   The installer cannot use the DB Username or SA Username to verify the database settings.