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