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

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

日志如下:

 -- :: - Request for install time of Web 服务器(IIS)角色
-- :: - Request for install time of Web 服务器(IIS)角色
-- :: - Request for install time of Web 服务器(IIS)角色
-- :: - Request for install time of Web 服务器(IIS)角色
-- :: - Request for install time of Web 服务器(IIS)角色
-- :: - Request for install time of Web 服务器(IIS)角色
-- :: - Install process returned (0X3E8=)
-- :: - [In HRESULT format] (0X800703E8=-)
-- :: - Last return code (0X3E8=)
-- :: - Reading the following DWORD value/name...
-- :: - Flags
-- :: - from the following registry location...
-- :: - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
-- :: - Reading the following string value/name...
-- :: - PendingFileRenameOperations
-- :: - from the following registry location...
-- :: - SYSTEM\CurrentControlSet\Control\Session Manager
-- :: - Reading the following registry location...
-- :: - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
-- :: - Error: The tool was unable to install Web 服务器(IIS)角色.
-- :: - Last return code (0X3E8=)

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

 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 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"

上一篇:Python+selenium 隐藏浏览器+截图


下一篇:10 款强大的JavaScript图表图形插件推荐