SharePoint 2016 prerequisites installer failing on Windows Server 2019 : Error 0X3E8=1000 and 0x80073701

Frank Martin 431 Reputation points
2022-09-22T16:25:47.23+00:00

Trying to install SharePoint 2016 on Windows Server 2019 Standard but getting error when running perquisite installer. IIS is already installed on this machine and internet is working.

Here's the prerequisite installer error:

eKGqKfd.jpg

Error logs shows this:

2022-09-22 18:37:11 - Request for install time of Web Server (IIS) Role  
2022-09-22 18:37:11 - Install process returned (0X3E8=1000)  
2022-09-22 18:37:11 - [In HRESULT format] (0X800703E8=-2147023896)  
2022-09-22 18:37:11 - Last return code (0X3E8=1000)  
2022-09-22 18:37:11 - Reading the following DWORD value/name...  
2022-09-22 18:37:11 - Flags  
2022-09-22 18:37:11 - from the following registry location...  
2022-09-22 18:37:11 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile  
2022-09-22 18:37:11 - Reading the following string value/name...  
2022-09-22 18:37:11 - PendingFileRenameOperations  
2022-09-22 18:37:11 - from the following registry location...  
2022-09-22 18:37:11 - SYSTEM\CurrentControlSet\Control\Session Manager  
2022-09-22 18:37:11 - Reading the following registry location...  
2022-09-22 18:37:11 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired  
2022-09-22 18:37:11 - Error: The tool was unable to install Web Server (IIS) Role.  
2022-09-22 18:37:11 - Last return code (0X3E8=1000)  
2022-09-22 18:37:11 - Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.  
2022-09-22 18:37:11 - Cannot retry  

Then I tried following Powershell command but again error:

Import-Module ServerManager  
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 -Source 'C:\Source\SW_DVD9_Win_Server_STD_CORE_2019_1809.18_64Bit_English_DC_STD\sources\sxs'  

Error
TfIs4ya.jpg

Log at %windir%\logs\cbs\cbs.log shows this:

2022-09-22 18:47:33, Info                  CBS    Exec: Processing complete.  Session: 30985882_2537736691, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, Identifier: Windows Foundation [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]  
2022-09-22 18:47:33, Error                 CBS    Failed to perform operation.  [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]  
2022-09-22 18:47:33, Info                  CBS    Session: 30985882_2537736691 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]  
2022-09-22 18:47:33, Info                  CBS    Failed to FinalizeEx using worker session [HRESULT = 0x80073701]  

The source sxs folder defined in Powershell above only contain these 4 files. I am not sure if this is correct or not.

8d4lsXk.jpg

How to fix this issue?

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,818 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xuyan Ding - MSFT 7,561 Reputation points
    2022-09-29T10:09:01.527+00:00

    Hi @Frank Martin ,

    I'm glad to hear you solve the problem ,if you have any issue about SharePoint, you are welcome to raise a ticket in this forum.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [SharePoint 2016 prerequisites installer failing on Windows Server 2019 : Error 0X3E8=1000 and 0x80073701]

    Issue Symptom:
    Trying to install SharePoint 2016 on Windows Server 2019 Standard but getting error when running perquisite installer. IIS is already installed on this machine and internet is working.

    Current status:
    According to Frank's description, the issue was solved by installing the missing features.

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,561 Reputation points
    2022-09-23T07:15:38.8+00:00

    Hi @Frank Martin ,

    1.Check if windows update service is enabled. Error 0x80073701 has always been related to Update and File corruption failure. The error was related to CBS logs which pointed to missing assemblies during Service pack installation. If you see any failed updates in the CBS logs, it is best to uninstall the patches which were missing assemblies. When you open the CBS logs, search for the words “ERROR_SXS_ASSEMBLY_MISSING,” and check if there is any KB update related to it. Uninstall it, and reinstall using Windows Update.

    Reference about Windows Update Repair : Errors: 0x80073701, 0x800f0988

    2.You'd better run the Powershell commands one by one to determine which function it fails on(run as administrator).
    i.e. "Add-WindowsFeature Net-Framework-Features Web-Server –Source D:\sources\sxs"


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Frank Martin 431 Reputation points
    2022-09-23T18:09:54.867+00:00

    The first ERROR_SXS_ASSEMBLY_MISSING error in CBS logs has this entry. When I tried to install KB4598296 which is mentioned below then it said that it is not applicable on this machine.

    2022-09-23 20:42:31, Error                 CSI    0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #1453986# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = 9ed477e2650d4de715f575257a0ab288, version 10.0.17763.1697, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_3782_for_KB4598296~31bf3856ad364e35~amd64~~10.0.1.6.4598296-7190_neutral', rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]  
    2022-09-23 20:42:31, Info                  CBS    Failed to pin deployment while resolving Update: Package_3782_for_**KB4598296**~31bf3856ad364e35~amd64~~10.0.1.6.4598296-7190_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]  
    2022-09-23 20:42:31, Info                  CBS    Failed to bulk stage deployment manifest and pin deployment for package:Package_5932_for_KB5016623~31bf3856ad364e35~amd64~~10.0.1.7 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]  
    

    Windows Update service was stopped. I started it then ran update and it finished successfully but didn't find any update to install. After few minutes I noticed Windows Update service is again stopped.

    244329-update.png

    0 comments No comments