Hello,
Easiest way is to start PowerShell ISE with elevated controls (Run as Administrator), then create a few variables, for Release 2022 Wave 2 $Version should be 21, etc.
$Module = "C:\Program Files\Microsoft Dynamics 365 Business Central\$Version\Service\navadmintool.ps1"
Import-Module -Name $Module
Set-NAVServerConfiguration -ServerInstance $BcServerInstance -KeyName PublicWebBaseUrl -KeyValue $PublicWebBaseUrl -Force
Set-NAVServerConfiguration -ServerInstance $BcServerInstance -KeyName ServicesCertificateThumbprint -KeyValue $ServicesCertificateThumbprint -Force
You can get these KeyNames from CustomSettings.config file or from documentation. Save the PowerShell ISE file with extension ps1 so you can reuse them.
The application event log file will tell you why the service does not start, this can be caused by anything.
Hope it helps.