Dieser Artikel basiert auf Install SharePoint Foundation 2013 on Windows Server 2016 Solution http://roger.dilsner.com/install-sharepoint-foundation-2013-windows-server-2016-solution/ von http://roger.dilsner.com/author/roger/ :

Grundsätzlich funktioniert der selbe beschriebene Ablauf wie bei Windows Server 2016 mit dem Windows Server 2019. Ich musste jedoch auch dann diesen Tipp ausführen:

But unfortunately the hotfix described on the page will not install on Server 2016 and the scripts also give errors in Server 2016.
I modified the scripts to be compatible with Server 2016 and the ones below should work.

4-When you recieve the error message run Powershell as administrator and run the 3 commands below:

 

Import-Module ServerManager

 

Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45

 

Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer

 

5 – Once you have run these commands in PowerShell, rerun “Install software prerequisits” and it should now complete successfully.

 

Danach unbedingt zuerst Neustart des Windows Server 2019 durchführen

6 – Restart your server
7 – At this point you are probably feeling like you are making progress, but alas, if you run the SharePoint instalerl you will get an error that the .NET Framework 4.5 is not installed. This is due to .NET 4.6 being installed with Server 2016, which is not recognized by SharePoint 2013. This issue is described here:
To work around this you need to extract the installer files from the SharePoint.exe that you downloaded:
sharepoint.exe /extract:C:\SharePointInstaller
8 – Then download a DLL fix from the Microsoft site here:
9 – Unzip the contents and copy the wsssetup.dll file into your c:\SharePointInstaller folder.
(yes, i thought this was a crazy amount of steps as well, they are described in painful detail in the support link in step 7)

Danach unbedingt zuerst Neustart des Windows Server 2019 durchführen

10 – Now run setup.exe from your c:\SharePointInstaller folder and it will (finally) finish the regular install steps.