Windows 2016 安装Sharepoint 2016 预装组件失败

Windows 2016 安装Sharepoint 2016 预装组件失败

日志如下:

 1 2017-09-11 13:32:37 - Request for install time of Web 服务器(IIS)角色
 2 2017-09-11 13:32:38 - Request for install time of Web 服务器(IIS)角色
 3 2017-09-11 13:32:39 - Request for install time of Web 服务器(IIS)角色
 4 2017-09-11 13:32:40 - Request for install time of Web 服务器(IIS)角色
 5 2017-09-11 13:32:41 - Request for install time of Web 服务器(IIS)角色
 6 2017-09-11 13:32:42 - Request for install time of Web 服务器(IIS)角色
 7 2017-09-11 13:32:43 - Install process returned (0X3E8=1000)
 8 2017-09-11 13:32:43 - [In HRESULT format] (0X800703E8=-2147023896)
 9 2017-09-11 13:32:43 - Last return code (0X3E8=1000)
10 2017-09-11 13:32:43 - Reading the following DWORD value/name...
11 2017-09-11 13:32:43 - Flags
12 2017-09-11 13:32:43 - from the following registry location...
13 2017-09-11 13:32:43 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
14 2017-09-11 13:32:43 - Reading the following string value/name...
15 2017-09-11 13:32:43 - PendingFileRenameOperations
16 2017-09-11 13:32:43 - from the following registry location...
17 2017-09-11 13:32:43 - SYSTEM\CurrentControlSet\Control\Session Manager
18 2017-09-11 13:32:43 - Reading the following registry location...
19 2017-09-11 13:32:43 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
20 2017-09-11 13:32:43 - Error: The tool was unable to install Web 服务器(IIS)角色.
21 2017-09-11 13:32:43 - Last return code (0X3E8=1000)

 

解决方法,Powershell(管理员模式)里执行:

1 Import-Module ServerManager
2  
3 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 D:\sources\sxs

 

 

帮人帮到底,给你Sharepoint 2016 预装软件离线安装包的下载地址:

SharePoint2016 Prerequisites:

 

把上面的东西下载,保存到

C:\Prereqs

,假设E盘是你的Sharepoint安装介质:

$SharePoint2016Path = "C:\Prereqs"
Start-Process "E:\PrerequisiteInstaller.exe" –ArgumentList "/SQLNCli:$SharePoint2016Path\sqlncli.msi /ODBC:$SharePoint2016Path\msodbcsql.msi /IDFX11:$SharePoint2016Path\MicrosoftIdentityExtensions-64.msi /Sync:$SharePoint2016Path\Synchronization.msi /AppFabric:$SharePoint2016Path\WindowsServerAppFabricSetup_x64.exe /MSIPCClient:$SharePoint2016Path\setup_msipc_x64.exe /WCFDataServices56:$SharePoint2016Path\WcfDataServices.exe /DotNetFx:$SharePoint2016Path\NDP453-KB2969351-x86-x64-AllOS-ENU.exe /MSVCRT11:$SharePoint2016Path\vcredist_x64.exe /MSVCRT14:$SharePoint2016Path\vc_redist.x64.exe /KB3092423:$SharePoint2016Path\AppFabric-KB3092423-x64-ENU.exe"

 

posted @ 2017-09-11 14:24  顾式传说  阅读(2058)  评论(0编辑  收藏  举报