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 @   顾式传说  阅读(2106)  评论(0编辑  收藏  举报
编辑推荐:
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
· 一次Java后端服务间歇性响应慢的问题排查记录
· dotnet 源代码生成器分析器入门
· ASP.NET Core 模型验证消息的本地化新姿势
· 对象命名为何需要避免'-er'和'-or'后缀
阅读排行:
· “你见过凌晨四点的洛杉矶吗?”--《我们为什么要睡觉》
· 编程神器Trae:当我用上后,才知道自己的创造力被低估了多少
· C# 从零开始使用Layui.Wpf库开发WPF客户端
· C#/.NET/.NET Core技术前沿周刊 | 第 31 期(2025年3.17-3.23)
· 接口重试的7种常用方案!
历史上的今天:
2013-09-11 HillStone上网认证客户端
点击右上角即可分享
微信分享提示