一.环境:Windows Server R2 with sp1,SharePoint
二.问题描述:
正常的安装SharePoint ,安装完必备组件,并提示所有必备组件已安装或启用,然后安装SharePoint ,报错如下:
中文:"系统从以前的安装重新启动,或更新正在等待。请重新启动计算机,然后运行安装程序以继续"
英文:"A system restart from a previous installation or update is pending.Restart your computer and run setup to continue."
三.解决办法:
打开注册表管理器,导航至:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\UpdateExeVolatile
如果其值不是(数字)0,则将其改为(数字)0
然后,导航至:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager,找到PendingFileRenameOperations,将其删除
退出注册表管理器,然后重启操作系统,继续安装SharePoint .
四.参考:
https://blogs./wbaer//12/11/common-microsoft-sharepoint-server--installation-issues-and-resolutions/
https://social./Forums/sharepoint/en-US/bccdb9f1-dd91-4db1-bd19-6bfa658727f5/sharepoint-server--setup-keep-asking-for-reboot