Tips - SQL Server 2016 Evaluation Expired

In case you installed SQL evaluation edition and trying to upgrade it to a licensed copy you will probably face to service is not staring with:

error code 17051, Severity: 16, state: 1 
SQL Server evaluation period  has expired 

(viewing Errorlog)

Here is relative article that will help you.

https://www.codykonior.com/2017/11/30/upgrading-an-expired-sql-server-2016-evaluation-edition/