![就地升级到 Windows Server 2012 失败,并显示“无法共同创建 IPersistAppItemsState 对象”消息](https://linux22.com/image/641385/%E5%B0%B1%E5%9C%B0%E5%8D%87%E7%BA%A7%E5%88%B0%20Windows%20Server%202012%20%E5%A4%B1%E8%B4%A5%EF%BC%8C%E5%B9%B6%E6%98%BE%E7%A4%BA%E2%80%9C%E6%97%A0%E6%B3%95%E5%85%B1%E5%90%8C%E5%88%9B%E5%BB%BA%20IPersistAppItemsState%20%E5%AF%B9%E8%B1%A1%E2%80%9D%E6%B6%88%E6%81%AF.png)
我在尝试将服务器从 64 位 Windows Server 2008“就地”升级到 Windows Server 2012(不是 R2)时遇到问题。
错误类似于:
[shmig] Failed to CoCreate IPersistAppItemsState object, hr=0x80040154
我在网上搜索了建议和具体的错误信息。我尝试了找到的大多数建议,并设法减少了错误总数,但升级仍然失败。
该服务器是 Dell PowerEdge 1950 服务器。我已将 BIOS 升级到最新版本,以及 Dell 为磁盘控制器、网络适配器、显示器等提供的所有固件和驱动程序。我已卸载所有不必要的软件应用程序,并运行 Windows 更新以安装所有最新更新(来自 Microsoft,而不仅仅是来自域更新服务器)。该服务器不是域控制器,也没有运行 Exchange。基本上,服务器上仍安装的唯一应用程序是防病毒软件、SQL Server 2008 R2 和 BackupExec 2014(使用连接到此服务器的磁带驱动器)。
它当前运行的是 Windows Server 2008 SP2 64 位(不是 R2 版本),我正尝试将其升级到 Windows Server 2012(不是 R2 版本)。
根据我看到的建议 - 我添加了环境变量 MIG_UPGRADE_IGNORE_PLUGINS,其值为 IphlpsvcMigPlugin.dll;我尝试为系统驱动器的保留部分指定一个驱动器号(也尝试过不使用驱动器号);我为该分区指定了一个“系统保留”标签;我在安装过程的第一部分尝试过获取和不获取更新。
通过这些更改,错误数量已经减少,但 C:\$WINDOWS.~BT\Sources\Panther 中的文件 setuperr.log 仍然包含以下错误:
Error [0x0808fe] MIG Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] Failed to CoCreate IPersistAppItemsState object, hr=0x80040154
Error [0x0808fe] MIG Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] Failed to CoCreate IPersistAppItemsState object, hr=0x80040154
Error [0x0808fe] MIG Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] Failed to CoCreate IPersistAppItemsState object, hr=0x80040154
Error [0x0808fe] MIG Plugin {65cbf70b-1d78-4cac-8400-9acd65ced94a}: CreateProcess(s) failed. GLE = d
Error [0x0808fe] MIG Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: CBrgUnattend::CollectBridgeSettings failed: 0x1, 0
在我尝试过的过去几种变化中,这个错误列表并没有改变。
我尝试搜索这些 GUID 值和错误消息,但没有找到解决这些问题的任何新建议。
有人能建议任何可能解决这些错误的方法吗?或者,我是否需要放弃升级并重新安装 Windows Server 2012(备份 SQL Server 和 BackupExec 后),然后重新安装应用程序?
更新:
我再次尝试升级到 Windows Server 2008 R2;仍然失败,但 setuperr.log 文件中记录的此次升级尝试的错误比 Windows Server 2012 升级尝试的错误多。2008-R2 升级日志文件包含:
Error Number of Enumerated Devices = 12[gle=0x00000103]
Error Failed to find driver file path. Error=00000002x[gle=0x80092004]
Error Failed to find driver file path. Error=00000002x[gle=0x80092004]
Error Failed to find driver file path. Error=00000002x[gle=0x80092004]
Error Failed to find driver file path. Error=00000002x[gle=0x80092004]
Error Failed to find driver file path. Error=00000002x[gle=0x80092004]
Error Failed to find driver file path. Error=00000002x[gle=0x80092004]
Error Failed to find driver file path. Error=ffffffffx[gle=0x00000003]
Error Failed to find driver file path. Error=ffffffffx[gle=0x00000003]
Error Failed to find driver file path. Error=ffffffffx[gle=0x00000003]
Error Failed to find driver file path. Error=00000002x[gle=0x80092004]
Error Failed to find driver file path. Error=ffffffffx[gle=0x00000003]
Error [0x0808fe] MIG Plugin {0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}: CscMig: CscMigrationPlugin::raw_Discover(998):Unable to extract Sid Map, status = 0xc000003a
Error [0x080387] MIG Failure while calling IDiscovery->Discover for Plugin={ServerPath="Microsoft-Windows-OfflineFiles-Core\Cscmig.dll", CLSID={0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}, ThreadingModel=Apartment}. Error: 0x80070003
Error [0x0808fe] MIG Plugin {0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}: CscMig: CscMigrationPlugin::raw_Discover(998):Unable to extract Sid Map, status = 0xc000003a
Error [0x080387] MIG Failure while calling IDiscovery->Discover for Plugin={ServerPath="Microsoft-Windows-OfflineFiles-Core\Cscmig.dll", CLSID={0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}, ThreadingModel=Apartment}. Error: 0x80070003
Error [0x0808fe] MIG Plugin {0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}: CscMig: CscMigrationPlugin::raw_Discover(998):Unable to extract Sid Map, status = 0xc000003a
Error [0x080387] MIG Failure while calling IDiscovery->Discover for Plugin={ServerPath="Microsoft-Windows-OfflineFiles-Core\Cscmig.dll", CLSID={0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}, ThreadingModel=Apartment}. Error: 0x80070003
Error [0x0808fe] MIG Plugin {0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}: CscMig: CscMigrationPlugin::raw_Gather(1111):Fatal error gather information from CSC cache, status = 0xc000003a
Error [0x080389] MIG Failure while calling IDiscovery->Gather for Plugin={ServerPath="Microsoft-Windows-OfflineFiles-Core\Cscmig.dll", CLSID={0db12ccb-7cfd-46b6-b4d1-daa6ff0fbcf7}, ThreadingModel=Apartment}. Error: 0xD000003A
Error [0x0808fe] MIG Plugin {e0cbf06c-cd8b-4647-bb8a-263b43f0f974}: BthMig: Failed to migrate bthport keys, bailing out