Install SharePoint on Windows Server 2019 got error
Startup task doesn’t exist. This is not a continuation after a restart.
It is my first time install SharePoint on Windows Server 2019. As usual, we need to install pre-requisite first. After insert the SharePoint install media, double click on “PrerequisiteInstaller.exe”, run for a while and I got error [There was an error during installation.]
The product preparation tool stopped at first step:
Web Server (IIS) Role: configuration error
By checking the installation log, search keyword “error” I got:
Error: Startup task doesn’t exist. This is not a continuation after a restart.
By search the error message I found it is not new thing. The same error occur since SP2010. But the old suggestions don’t help in my case and I don’t think the old solutions work for server 2019 and SP2019.
Finally I got the solution in MS official website (wow!) It is because .NET v3.5 is not installed on Windows Server 2019 by default and the SharePoint install media could not install it.

Hence, my next step is to insert Windows install media and install .NET 3.5.
On the server, start Server Manager > Add Roles and Features Wizard
Under Features tab, check “.Net Framework 3.5 Features”
Under Confirmation tab, click “Specify an alternate source path” at the bottom of screen. In the prompt up screen, type in your install media’s path. For me it is F:\sources\sxs. Click OK. Click Install. Then wait for the installation complete.

For more detail step and screenshots you can refer to this good guy’s blog.
After install missing feature and restart server, I am able to complete installation.
