Difficult to help, since we don't know exactly where you are in the process. But the obvious thing to try is to create that registry key and the values SQLArg0, SQLArg1 and SQLArg2 with the values
-dC:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\DATA\master.mdf
-lC:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
-eC:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\Log\ERRORLOG
But I would not be surprised if you run into the next problem after this.