myt*_*lon 6 windows-10-upgrade windows-10
我发现一台电脑运行的是 Windows 10 专业版 1709,该版本自 2019 年 4 月 9 日起就不再支持,因此我尝试升级它,但总是失败。
\n\n尝试通过 Windows 更新升级失败并出现错误A current driver on your PC may be better than the driver we\'re trying to install. We\'ll keep trying to install.
。
尝试通过安装介质升级失败并出现以下错误:
\n\n0x8007001F - 0x20006\nThe installation failed in the SAFE_OS phase with an error during REPLICATE_OC operation\n
Run Code Online (Sandbox Code Playgroud)\n\n\n\n到目前为止,我已经尝试了网上能找到的所有方法以及更多:
\n\nPotential Windows Update Database error detected
Windows Update components must be repaired
Check for pending updates
net stop wuauserv
net stop bits
ren c:\\windows\\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net stop bits
cryptsvc
,将所有文件从%systemroot%\\system32\\catroot2\\
移至%systemroot%\\system32\\catroot2.old
,然后重新启动该服务。.old
-ed 文件夹C:\\$WINDOWS.~BT\\
。C:\\Windows10Upgrade\\
并重新运行 Windows 10 更新助手。以管理员身份运行命令sfc /scannow
,没有报告任何问题:
Beginning system scan. This process will take some time.\n\nBeginning verification phase of system scan.\nVerification 100% complete.\n\nWindows Resource Protection did not find any integrity violations.\n
Run Code Online (Sandbox Code Playgroud)以管理员身份运行命令dism /online /cleanup-image /scanhealth
,没有报告任何问题:
Deployment Image Servicing and Management tool\nVersion: 10.0.16299.15\n\nImage Version: 10.0.16299.431\n\n[==========================100.0%==========================] No component store corruption detected.\nThe operation completed successfully.\n
Run Code Online (Sandbox Code Playgroud)以管理员身份运行命令DISM /online /Cleanup-Image /RestoreHealth
,没有报告任何问题:
Deployment Image Servicing and Management tool\nVersion: 10.0.16299.15\n\nImage Version: 10.0.16299.431\n\n[==========================100.0%==========================] The restore operation completed successfully.\nThe operation completed successfully.\n
Run Code Online (Sandbox Code Playgroud)以管理员身份运行命令chkdsk /scan
,没有报告任何问题:
The type of the file system is NTFS.\n\nStage 1: Examining basic file system structure ...\n 2055168 file records processed.\nFile verification completed.\n 12866 large file records processed.\n 0 bad file records processed.\n\nStage 2: Examining file name linkage ...\n 26874 reparse records processed.\n 2699910 index entries processed.\nIndex verification completed.\n 0 unindexed files scanned.\n 0 unindexed files recovered to lost and found.\n 26874 reparse records processed.\n\nStage 3: Examining security descriptors ...\nSecurity descriptor verification completed.\n 322372 data files processed.\nCHKDSK is verifying Usn Journal...\nUsn Journal verification completed.\n\nWindows has scanned the file system and found no problems.\nNo further action is required.\n\n233916415 KB total disk space.\n185713784 KB in 1632128 files.\n 724380 KB in 322373 indexes.\n 0 KB in bad sectors.\n 2138943 KB in use by the system.\n 65536 KB occupied by the log file.\n 45339308 KB available on disk.\n\n 4096 bytes in each allocation unit.\n 58479103 total allocation units on disk.\n 11334827 allocation units available on disk.\n
Run Code Online (Sandbox Code Playgroud)下载Windows 10 v1909 64位的官方ISO,安装并运行setup.exe
。
setup.exe
。\\Windows\\System32\\mcupdate_GenuineIntel.dll
从安装介质中删除文件。我现在已经没有想法了,带外管理不可用,而且由于冠状病毒/COVID-19,物理访问存在风险。
\n\n有人可以帮忙吗?
\n\n\n\n
2020/05/04 17:05 更新:
\n\n回答Ramhound 的评论#1:
\n1。不,所有用户配置文件仅位于系统驱动器 (C:) 上。
\n2. 我从https://docs.microsoft.com/en-us/windows/deployment/upgrade/setupdiag \xe2\x86\x92 https://go.microsoft.com/fwlink下载并运行 SetupDiag v1.6(最新)/?linkid=870142报告了以下内容:
Matching Profile found: OptionalComponentOpenPackageFailed - 22952520-EC89-4FBD-94E0-B67DF88347F6\nSetupDiag version: 1.6.0.0\nSystem Information:\n Machine Name = [REDACTED]\n Manufacturer = FUJITSU\n Model = ESPRIMO E410\n HostOSArchitecture = 2057\n FirmwareType = PCAT\n BiosReleaseDate = 20150422000000.000000+000\n BiosVendor = BIOS Date: 04/22/15 12:46:17 Ver: 04.06.05\n BiosVersion = V4.6.5.3 R1.30.0 for D3120-A1x\n HostOSVersion = 10.0.16299\n HostOSBuildString = 16299.431.amd64fre.rs3_release_svc_escrow.180502-1908\n TargetOSBuildString = 10.0.17134.1 (rs4_release.180410-1804)\n HostOSLanguageId = \n HostOSEdition = Professional\n RegisteredAV = Webroot SecureAnywhere\n FilterDrivers = FileInfo\n UpgradeStartTime = 04/05/2020 10:47:29\n UpgradeEndTime = 04/05/2020 12:30:10\n UpgradeElapsedTime = 01:42:41\n CV = xaR0eqEoHEKd2Og6\n ReportId = \n\n\nError: SetupDiag reports Optional Component installation failed to open OC Package.\nLast Phase: Safe OS \nLast Operation: Gather Optional Component status\nPackage Name: Foundation\nError: 0x8007001F\n\nRefer to "https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness" for possible remediation information.\nRecommend you check the "Windows Modules Installer" service (Trusted Installer) is started on the system and set to automatic start, reboot and try the update again. Optionally, you can check the status of optional components on the system (search for Windows Features), uninstall any unneeded optional components, reboot and try the update again.\n\nLast Setup Phase:\nPhase Name: Safe OS\n Phase Started: 04/05/2020 12:30:01\n Phase Ended: 01/01/0001 00:00:00\n Phase Time Delta: 00:00:00\n Completed Successfully? False\n\n\nLast Setup Operation:\nOperation Name: Gather Optional Component status\n Operation Started: 04/05/2020 12:30:02\n Operation Ended: 01/01/0001 00:00:00\n Operation Time Delta: 0:00:00:00.0000000\n Completed Successfully? False\n
Run Code Online (Sandbox Code Playgroud)\n\n有趣的是,我打开appwiz.cpl
\xe2\x86\x92Turn Windows features on or off
来查看安装了哪些可选组件,但它根本不加载任何内容:
这导致我访问https://support.microsoft.com/en-gb/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness所以我运行了以下命令PowerShell 命令:
\n\nPS C:\\WINDOWS\\system32> Dism /Mount-Image /ImageFile:C:\\Windows10v1909\\sources\\boot.wim /index:1 /MountDir:C:\\Users\\$Env:userName\\Desktop\\Mount\n\nDeployment Image Servicing and Management tool\nVersion: 10.0.16299.15\n\nMounting image\n[==========================100.0%==========================]\nThe operation completed successfully.\nPS C:\\WINDOWS\\system32> Dism /Online /Cleanup-Image /RestoreHealth /Source:C:\\Users\\$Env:userName\\Desktop\\Mount\\windows /LimitAccess\n\nDeployment Image Servicing and Management tool\nVersion: 10.0.16299.15\n\nImage Version: 10.0.16299.431\n\n[==========================100.0%==========================] The restore operation completed successfully.\nThe operation completed successfully.\nPS C:\\WINDOWS\\system32>\n
Run Code Online (Sandbox Code Playgroud)\n\n不过,升级到 v1909 也以同样的方式失败。
\n\n回答Ramhound 的评论#2:我不确定在我的研究过程中如何没有遇到该帖子,但无论如何,我使用我的文件Windows_10_EnglishUK_1803_April2018Update_64bit.iso
尝试直接路径升级,但在同样的方式:
回答约翰的评论:我尝试使用MediaCreationTool1909.exe
\xe2\x86\x92Upgrade this PC now
但以同样的方式失败。
回答JW0914 的评论:
\n1。该文件C:\\Windows\\Logs\\CBS\\CBS.log
包含以下新条目(实际上有大约 48 行App1:
,但我无法将它们全部放入):
2020-05-04 15:50:42, Info CBS Failed to find a matching version for servicing stack: C:\\WINDOWS\\winsxs\\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.428_none_1704c21831ffb4a8\\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]\n2020-05-04 15:50:42, Info CBS Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]\n2020-05-04 15:50:42, Info CBS Loaded Servicing Stack v10.0.16299.428 with Core: C:\\WINDOWS\\winsxs\\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.428_none_1704c21831ffb4a8\\cbscore.dll\n2020-05-04 15:50:42, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:50:42, Info CBS Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:50:42, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]\n2020-05-04 15:50:42, Info CBS Session: 30810659_1653900665 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null\n2020-05-04 15:50:42, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:50:42, Info CBS Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:50:42, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]\n2020-05-04 15:50:45, Info CBS WU creates the package, AppID:Dynamic Update, UpdateID:{33D6CF13-224E-459B-AD4F-AF8C5E3CC469}, revision: 202\n2020-05-04 15:50:45, Info CBS Session: 30810659_1685496589 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null\n2020-05-04 15:50:46, Info CBS WU creates the package, AppID:Dynamic Update, UpdateID:{CAEF987D-2E08-49D8-8C68-5D6FA9F801E2}, revision: 200\n2020-05-04 15:50:46, Info CBS Session: 30810659_1690150083 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null\n2020-05-04 15:50:46, Info CBS Appl: detect Parent, Package: Package_for_KB4497165~31bf3856ad364e35~amd64~~10.0.4.1, Parent: Microsoft-Windows-WinPE-Package~31bf3856ad364e35~amd64~~10.0.18362.1, Disposition = Detect, VersionComp: EQ, BuildComp: EQ, RevisionComp: EQ, Exist: present\n2020-05-04 15:50:46, Info CBS Appl: detectParent (exact match): Parent: Microsoft-Windows-WinPE-Package~31bf3856ad364e35~amd64~~10.0.18362.1, parent state: Absent\n2020-05-04 15:50:46, Info CBS Appl: Evaluating package applicability for package Package_for_KB4497165~31bf3856ad364e35~amd64~~10.0.4.1, applicable state: Absent\n2020-05-04 15:52:19, Info CBS Session: 30810659_2621054062 initialized by client Setup360, external staging directory: (null), external registry directory: (null\n2020-05-04 15:52:20, Info CBS Session: 30810659_2633102031 initialized by client OCLib, external staging directory: (null), external registry directory: (null\n2020-05-04 15:52:20, Info CBS Not able to find an installed package package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:52:20, Info CBS Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:52:20, Info CBS Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:52:20, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]\n2020-05-04 15:53:00, Info CBS Session: 30810659_3031483361 initialized by client WinMgmt, external staging directory: (null), external registry directory: (null\n2020-05-04 15:53:00, Info CBS Not able to find an installed package package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:53:00, Info CBS Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:53:00, Info CBS Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]\n2020-05-04 15:53:00, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]\n2020-05-04 15:55:00, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP\n2020-05-04 15:55:00, Info CBS TiWorker signaled for shutdown, going to exit.\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: ExecutionEngineFinalize\n2020-05-04 15:55:00, Info CBS Execution Engine Finalize\n2020-05-04 15:55:00, Info CBS Execution Engine Finalize\n2020-05-04 15:55:00, Info CBS Ending the TiWorker main loop.\n2020-05-04 15:55:00, Info CBS Starting TiWorker finalization.\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: ManifestCacheFinalize\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: ExecutionEngineFinalize\n2020-05-04 15:55:00, Info CBS CBS Engine already deativated\n2020-05-04 15:55:00, Info CBS CBS Engine already deativated\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: ComponentAnalyzerFinalize\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: PackageTrackerFinalize\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: CoreResourcesUnload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: SessionManagerFinalize\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: CapabilityManagerFinalize\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: PublicObjectMonitorFinalize\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: Enter vCoreInitializeLock\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: WcpUnload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: DrupUnload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: CfgMgr32Unload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: DpxUnload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: SrUnload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: CbsEsdUnload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: CbsTraceInfoUninitialize\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: CbsEventUnregister\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: AppContainerUnload\n2020-05-04 15:55:00, Info CBS CbsCoreFinalize: WdsUnload, logging from cbscore will end.\n2020-05-04 15:55:00, Info CBS Ending TiWorker finalization.\n2020-05-04 15:55:00, Info CBS Ending the TrustedInstaller main loop.\n2020-05-04 15:55:00, Info CBS Starting TrustedInstaller finalization.\n2020-05-04 15:55:00, Info CBS Ending TrustedInstaller finalization.\n
Run Code Online (Sandbox Code Playgroud)\n\n修复错误的建议0x800f0805 - CBS_E_INVALID_PACKAGE
似乎是重置我已经尝试过的 Windows 更新组件。
\n2. 我运行了命令(输出如下 - 我不确定那 20% 是怎么回事)并再次尝试,但升级以同样的方式失败。
PS C:\\WINDOWS\\system32> DISM /Online /Cleanup-Image /StartComponentCleanup\n\nDeployment Image Servicing and Management tool\nVersion: 10.0.16299.15\n\nImage Version: 10.0.16299.431\n\n[=========== 20.0% ]\nThe operation completed successfully.\nPS C:\\WINDOWS\\system32> DISM /Online /Cleanup-Image /RestoreHealth\n\nDeployment Image Servicing and Management tool\nVersion: 10.0.16299.15\n\nImage Version: 10.0.16299.431\n\n[==========================100.0%==========================] The restore operation completed successfully.\nThe operation completed successfully.\nPS C:\\WINDOWS\\system32> SFC /ScanNow\n\nBeginning system scan. This process will take some time.\n\nBeginning verification phase of system scan.\nVerification 100% complete.\n\nWindows Resource Protection did not find any integrity violations.\nPS C:\\WINDOWS\\system32>\n
Run Code Online (Sandbox Code Playgroud)\n\n回答Ramhound 的评论#3:为了确定是否安装了 KB3022345,我尝试了:
\n\nwmic qfe list brief /format:texttablewsys | find "KB3022345"
但报告No Instance(s) Available.
Get-Hotfix
但它完全没有输出任何内容。systeminfo.exe
但它输出了Hotfix(s): N/A
等。regedit.exe
搜索所有键、值和数据,KB3022345
但没有找到任何内容。根据https://www.sysnative.com/forums/threads/windows-seven-cant-update.30365/post-286650,运行成功完成的管理 CMD 命令reg load HKLM\\COMPONENTS C:\\WINDOWS\\SYSTEM32\\CONFIG\\COMPONENTS
,然后使用Farbar 恢复扫描工具64 位版本 03-05 -2020(最新)搜索KB3022345
输出以下内容的注册表:
Farbar Recovery Scan Tool (x64) Version: 03-05-2020\nRan by <username> (04-05-2020 16:50:19)\nRunning from C:\\Users\\<username>\\Desktop\nBoot Mode: Normal\n\n================== Search Registry: "KB3022345" ===========\n\n\n====== End of Search ======\n
Run Code Online (Sandbox Code Playgroud)\n\n
2020/05/07 15:52 更新:
\n\n回答JW0914\'s 评论:我安装了我的文件Windows_10_EnglishUK_1909_November2019Update_64bit.iso
并运行了推荐的命令,输出以下内容:
PS C:\\WINDOWS\\system32> DISM /Get-WIMinfo
归档时间: |
|
查看次数: |
13416 次 |
最近记录: |