sharepoint 2019 preinstaller error

Anonymous
2023-05-22T08:18:11.2066667+00:00
when i try to install preinstaller for sharepoint 2019 this error happen

the tool was unable toinstall web sever iis Role  

Log is :

2023-05-22 00:24:04 - Operating System: Windows 10 

2023-05-22 00:24:04 - Processor architecture is (9) 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 - Common Startup 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders 

2023-05-22 00:24:04 - The value is...  

2023-05-22 00:24:04 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup 

2023-05-22 00:24:04 - Trying to remove the startup task if there is any. 

2023-05-22 00:24:04 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd 

2023-05-22 00:24:04 - Error: Startup task doesn't exist. This is not a continuation after a restart. 

2023-05-22 00:24:04 - Locating the following command line arguments file: 

2023-05-22 00:24:04 - E:\PrerequisiteInstaller.Arguments.txt 

2023-05-22 00:24:04 - Error: This file does not exist 

2023-05-22 00:24:04 - Details of the current operating system:  

2023-05-22 00:24:04 - Major version number of the operating system:  (10) 

2023-05-22 00:24:04 - Minor version number of the operating system:  (0) 

2023-05-22 00:24:04 - Build number of the operating system:  (0X4F7C=20348) 

2023-05-22 00:24:04 - Major version number of the latest Service Pack:  (0) 

2023-05-22 00:24:04 - Minor version number of the latest Service Pack:  (0) 

2023-05-22 00:24:04 - Platform ID of the operating system:  (2) 

2023-05-22 00:24:04 - Product suites available on the operating system:  (0X110=272) 

2023-05-22 00:24:04 - Product type of the operating system: VER_NT_DOMAIN_CONROLLER 

2023-05-22 00:24:04 - Product type:  (7) 

2023-05-22 00:24:04 - OS type:  (0) 

2023-05-22 00:24:04 - Configuring the application's property sheet... 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Microsoft .NET Framework 4.7.2 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 - Version 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full 

2023-05-22 00:24:04 - The value is...  

2023-05-22 00:24:04 - 4.8.04161 

2023-05-22 00:24:04 - A higher version of the prerequisite above is already installed 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Microsoft Sync Framework Runtime v1.0 SP1 (x64) 

2023-05-22 00:24:04 - Reading version of the following file... 

2023-05-22 00:24:04 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll 

2023-05-22 00:24:04 - GetFileVersionInfoSize failed (-2147024894) 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Microsoft SQL Server 2012 SP4 Native Client 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 - Version 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI11\CurrentVersion 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Windows Server AppFabric 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 - ProductVersion 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Microsoft\AppFabric\V1.0 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Microsoft Identity Extensions 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 -  

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Microsoft Information Protection and Control Client 2.1 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 -  

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Microsoft\MSIPC\CurrentVersion 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Microsoft WCF Data Services 5.6 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 - Version 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.6 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Cumulative Update Package 7 for Microsoft AppFabric 1.1 for Windows Server (KB3092423) 

2023-05-22 00:24:04 - Reading the following DWORD value/name... 

2023-05-22 00:24:04 - IsInstalled 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB3092423 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Visual C++ Redistributable Package for Visual Studio 2012 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 - Version 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\VC\Runtimes\x64 

2023-05-22 00:24:04 - Check whether the following prerequisite is installed: 

2023-05-22 00:24:04 - Visual C++ Redistributable Package for Visual Studio 2017 

2023-05-22 00:24:04 - Reading the following string value/name... 

2023-05-22 00:24:04 - Version 

2023-05-22 00:24:04 - from the following registry location... 

2023-05-22 00:24:04 - SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64 

2023-05-22 00:24:04 - The value is...  

2023-05-22 00:24:04 - v14.32.31326.00 

2023-05-22 00:24:04 - A higher version of the prerequisite above is already installed 

2023-05-22 00:24:07 - Beginning download/installation 

2023-05-22 00:24:07 - Created thread for installer 

2023-05-22 00:24:07 - Installing windows server roles and features. 

2023-05-22 00:24:07 - Preparing to run the following commands: 

2023-05-22 00:24:07 - Param( 

 [String]$logFile 

) 

Import-Module Servermanager 

Start-Transcript -path $logFile 

$operation = Install-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,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-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,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-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Windows-Identity-Foundation,Xps-Viewer -IncludeManagementTools -verbose 

if ($operation.ExitCode -eq 'SuccessRestartRequired') { 

  Stop-Transcript 

  $host.SetShouldExit(3010) 

} 

elseif (!$operation.Success){ 

  Stop-Transcript 

  $host.SetShouldExit(1000) 

  exit 

} 

2023-05-22 00:24:07 - Logs for these operations will be available at: 

2023-05-22 00:24:07 - "C:\Users\ALISHA~1\AppData\Local\Temp\Pre23A1.tmp.PS1.log" 

2023-05-22 00:24:07 - Executing PowerShell command: 

2023-05-22 00:24:07 - "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass "C:\Users\ALISHA~1\AppData\Local\Temp\Pre23A1.tmp.PS1 -logFile C:\Users\ALISHA~1\AppData\Local\Temp\Pre23A1.tmp.PS1.log" 

2023-05-22 00:24:08 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:09 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:10 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:11 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:12 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:13 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:14 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:15 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:16 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:17 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:18 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:19 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:20 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:21 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:22 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:23 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:24 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:25 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:26 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:27 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:28 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:29 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:30 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:31 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:32 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:33 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:34 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:35 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:36 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:37 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:38 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:39 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:40 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:41 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:42 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:43 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:44 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:45 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:46 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:47 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:48 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:49 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:50 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:51 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:52 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:53 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:54 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:55 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:56 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:57 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:58 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:24:59 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:00 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:01 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:02 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:03 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:04 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:05 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:06 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:07 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:08 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:09 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:10 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:11 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:12 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:13 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:14 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:15 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:16 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:17 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:18 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:19 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:20 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:21 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:22 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:23 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:24 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:25 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:26 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:27 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:28 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:29 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:30 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:31 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:32 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:33 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:34 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:35 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:36 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:38 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:38 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:39 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:40 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:42 - Request for install time of Web Server (IIS) Role 

2023-05-22 00:25:42 - Install process returned (0X3E8=1000) 

2023-05-22 00:25:42 - [In HRESULT format] (0X800703E8=-2147023896) 

2023-05-22 00:25:42 - Last return code (0X3E8=1000) 

2023-05-22 00:25:42 - Reading the following DWORD value/name... 

2023-05-22 00:25:42 - Flags 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 - PendingFileRenameOperations 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SYSTEM\CurrentControlSet\Control\Session Manager 

2023-05-22 00:25:42 - Reading the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired 

2023-05-22 00:25:42 - Error: The tool was unable to install Web Server (IIS) Role. 

2023-05-22 00:25:42 - Last return code (0X3E8=1000) 

2023-05-22 00:25:42 - 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. 

2023-05-22 00:25:42 - Cannot retry 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Microsoft .NET Framework 4.7.2 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 - Version 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full 

2023-05-22 00:25:42 - The value is...  

2023-05-22 00:25:42 - 4.8.04161 

2023-05-22 00:25:42 - A higher version of the prerequisite above is already installed 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Microsoft Sync Framework Runtime v1.0 SP1 (x64) 

2023-05-22 00:25:42 - Reading version of the following file... 

2023-05-22 00:25:42 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll 

2023-05-22 00:25:42 - GetFileVersionInfoSize failed (-2147024894) 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Microsoft SQL Server 2012 SP4 Native Client 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 - Version 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI11\CurrentVersion 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Windows Server AppFabric 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 - ProductVersion 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Microsoft\AppFabric\V1.0 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Microsoft Identity Extensions 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 -  

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Microsoft Information Protection and Control Client 2.1 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 -  

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Microsoft\MSIPC\CurrentVersion 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Microsoft WCF Data Services 5.6 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 - Version 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.6 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Cumulative Update Package 7 for Microsoft AppFabric 1.1 for Windows Server (KB3092423) 

2023-05-22 00:25:42 - Reading the following DWORD value/name... 

2023-05-22 00:25:42 - IsInstalled 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB3092423 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Visual C++ Redistributable Package for Visual Studio 2012 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 - Version 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\VC\Runtimes\x64 

2023-05-22 00:25:42 - Check whether the following prerequisite is installed: 

2023-05-22 00:25:42 - Visual C++ Redistributable Package for Visual Studio 2017 

2023-05-22 00:25:42 - Reading the following string value/name... 

2023-05-22 00:25:42 - Version 

2023-05-22 00:25:42 - from the following registry location... 

2023-05-22 00:25:42 - SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64 

2023-05-22 00:25:42 - The value is...  

2023-05-22 00:25:42 - v14.32.31326.00 

2023-05-22 00:25:42 - A higher version of the prerequisite above is already installed 

2023-05-22 00:27:00 - Opening log file 

2023-05-22 00:27:00 - Opened action for user 

2023-05-22 00:27:00 - C:\Users\ALISHA~1\AppData\Local\Temp\PrerequisiteInstaller.2023.05.22-00.24.04.log 


SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,227 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,686 questions
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,811 questions
{count} votes

Accepted answer
  1. Ling Zhou_MSFT 13,260 Reputation points Microsoft Vendor
    2023-05-23T08:37:17.61+00:00

    Hi @Ali sharify,

    Please try the following steps to solve your problem:

    1, Please make sure you are connected to the network and that your network is in good condition, then reinstall. Sometimes this problem is caused by the network not being connected.

    2,If the above method does not work, please try to use PowerShell command Install-WindowsFeature to install required features.

    Install-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,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-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,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-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Windows-Identity-Foundation,Xps-Viewer -IncludeManagementTools -verbose - Source D:\sources\sxs
    

    Please attention: The value used by the last Source parameter is the location of the Windows Server Media disk, the letter to the drive might be different on your server.

    The command execution should return a success message like the one below:

    ![A picture containing text, screenshot, software, web page

    Description automatically generated](/api/attachments/2dd0b089-c39b-4e24-a8f1-f06fb645eaa5?platform=QnA)

    Here is the relevant link on solving this problem, please click to see:

    SharePoint 2019 Setup – The tool was unable to install the Web Server (ISS) Role - HANDS ON SharePoint (handsontek.net)

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. 


    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 additional answers

Sort by: Most helpful
  1. Malone, Paul (CTR) - OCIO-EAS, VA 0 Reputation points
    2023-06-16T20:08:04.4733333+00:00

    Hi Ali, I'm Paul Malone working with Josh. We're just trying to get past this preparation step that sets up windows features. Please try to execute the Install-WindowsFeature above. It fails for us on the web service acct.

    Thanks


  2. Malone, Paul (CTR) - OCIO-EAS, VA 0 Reputation points
    2023-06-16T23:41:25.05+00:00

    And I think it boils down to the log below. I'm logged in as user "PMALOP01".

    Looking into this I believe the problem may be a need for .Net 3.5 on the server. Please do this:

    Open features and settings:-> Web Server (IIs) ->Application Development

      Select ".NET Extensibility 3.5"  and install
    

    I believe this will fix our problem.

    **********************
    Windows PowerShell transcript start
    Start time: 20230616231511
    Username: EDC\PMALOP01
    RunAs User: EDC\PMALOP01
    Configuration Name: 
    Machine: oirdmax0035 (Microsoft Windows NT 10.0.17763.0)
    Host Application: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass C:\Users\PMALOP01\AppData\Local\Temp\PreB109.tmp.PS1 -logFile C:\Users\PMALOP01\AppData\Local\Temp\PreB109.tmp.PS1.log
    Process ID: 7244
    PSVersion: 5.1.17763.3770
    PSEdition: Desktop
    PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.3770
    BuildVersion: 10.0.17763.3770
    CLRVersion: 4.0.30319.42000
    WSManStackVersion: 3.0
    PSRemotingProtocolVersion: 2.3
    SerializationVersion: 1.1.0.1
    **********************
    Transcript started, output file is C:\Users\PMALOP01\AppData\Local\Temp\PreB109.tmp.PS1.log
    VERBOSE: Installation started...
    VERBOSE: Continue with installation?
    VERBOSE: Prerequisite processing started...
    VERBOSE: Prerequisite processing succeeded.
    Install-WindowsFeature : The request to add or remove features on the specified server failed.
    Installation of one or more roles, role services, or features failed. Error: 0x800f0954
    
    At C:\Users\PMALOP01\AppData\Local\Temp\PreB109.tmp.PS1:6 char:14
    + ... operation = Install-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-A ...
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature], 
    Exception
        + FullyQualifiedErrorId : 
    DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
    Install-WindowsFeature : The request to add or remove features on the specified server failed.
    Installation of one or more roles, role services, or features failed. Error: 0x800f0954
    
    At C:\Users\PMALOP01\AppData\Local\Temp\PreB109.tmp.PS1:6 char:14
    + ... operation = Install-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-A ...
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
        Exception
        + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
       owsFeatureCommand
    VERBOSE: Installation succeeded.
    **********************
    Windows PowerShell transcript end
    End time: 20230616231627
    **********************
    
    0 comments No comments