AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1781523
Accepted
Brian
Brian
Asked: 2023-04-29 23:31:26 +0800 CST2023-04-29 23:31:26 +0800 CST 2023-04-29 23:31:26 +0800 CST

Windows 10 1709 无法升级/DISM 错误

  • 772

我正在尝试安装更新版本的 Windows 10,但我尝试的所有操作都失败了。我不知道 和 的问题是否sfc /scannow相关DISM,但后者也有问题。我chkdsk /f /r在尝试sfc和之前跑了DISM。

我试过的


  1. 来自 Windows 更新,版本 1803
  2. 来自 Windows 更新,版本 1903
  3. 来自 Windows 更新,版本 21H2
  4. 从 Windows Media Creator 创建的 USB,版本 22H2

Windows 映像修复尝试

  1. SFC /scannow返回错误:

    Windows 资源保护发现了损坏的文件,但无法修复其中的一些文件。详细信息包含在 CBS.Log windir\Logs\CBS\CBS.log 中。例如 C:\Windows\Logs\CBS\CBS.log。请注意,离线服务方案目前不支持日志记录。

  2. DISM /online /cleanup-image /restorehealth返回错误:

    错误:0x800f081f

    找不到源文件。使用“源”选项指定恢复该功能所需的文件的位置。有关指定源位置的详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkId=243077。

    DISM 日志文件位于 C:\Windows\Logs\DISM\dism.log

  3. DISM /online /cleanup-image /restorehealth /source:D:\install.wim(来自 22H2 iso)返回错误:

    错误:0x800f081f

    找不到源文件。使用“源”选项指定恢复该功能所需的文件的位置。有关指定源位置的详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkId=243077。

    DISM 日志文件位于 C:\Windows\Logs\DISM\dism.log

  4. Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore回报

    组件存储 (WinSxS) 信息:

    Windows 资源管理器报告的组件存储大小:9.42 GB

    组件商店的实际大小:9.09 GB

    Shared with Windows : 6.42 GB
    Backups and Disabled Features : 2.41 GB
    Cache and Temporary Data : 252.40 MB
    

    上次清理日期:2023-04-29 09:57:40

    可回收包的数量:0 推荐的组件存储清理:否

    操作成功完成。


附加信息

我尝试使用以下指南 ( guide ) 来解决我的问题:

net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc

在这样做的过程中,我发现appidsvc由于数字签名错误,它没有运行,也不会运行。我不确定这是否会导致问题


此外,在 CBS 日志中,我发现以下内容多次出现(似乎是不同的sfc /scannow会话):

00005f53 [SR] Repairing 4 components
00005f54 [SR] Beginning Verify and Repair transaction
00005f57 [SR] Cannot verify component files for Microsoft-Hyper-V-Drivers-Hypervisor, version 10.0.16299.1087, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, manifest is damaged (true)
00005f5a [SR] Cannot verify component files for Microsoft-Hyper-V-3dVideo, version 10.0.16299.726, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, manifest is damaged (true)
00005f5d [SR] Cannot verify component files for Microsoft-OneCore-IsolatedUserMode-Common, version 10.0.16299.1059, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, manifest is damaged (true)
00005f60 [SR] Cannot verify component files for Microsoft-OneCore-IsolatedUserMode-Kernel, version 10.0.16299.699, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, manifest is damaged (true)
00005f61 [SR] Repair complete
00005f76 [SR] Committing transaction
00005f7b [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction  have been successfully repaired

看到这一点,我想我会尝试删除 Hyper-V,看看它会产生什么不同。我在尝试这样做时收到以下错误:The component store has been corrupted. Error 0x80073712


附加信息

在尝试使用相同版本的就地“升级”进行修复后,我收到以下错误。我目前正在尝试使用我在网上找到的指南进行故障排除。我会及时报告任何新信息。

0x80070004 – 0x3000D
The installation failed in the FIRST_BOOT phase with an error during 
MIGRATE_DATE operation.

更新

我setuperr.log在C:\$WINDOWS.~BT\Sources\Rollback. 以下是它的内容:

Error SP CSetupPlatformOSSwitchCheckpoint::Rollback: Deleting of "C:\Windows.old" directory failed.[gle=0x00000091]
Error IBSLIB OSRollbackService::CBootFilesRestoreCheckpoint::Rollback: Failed to create WinPE rollback directory: C:\$WINDOWS.~BT\Sources\Rollback\WinPE[gle=0x000000b7]

该文件setupact.log有很多类似于以下内容的条目:

 Warning SP SPMoveFileWithShortName: Failed to move \\?\c:\Windows\INF\3ware.PNF to \\?\c:\Windows.old\Windows\INF\3ware.PNF, error: 0x00000002

我当时没有意识到的信息很重要

我已将Expandable String Value ProfilesDirectoryin更改Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList为默认位置以外的位置。

windows-10
  • 1 1 个回答
  • 53 Views

1 个回答

  • Voted
  1. Best Answer
    harrymc
    2023-04-30T01:23:16+08:002023-04-30T01:23:16+08:00

    首先,确保将ProfilesDirectory中的值更改Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList为默认值%SystemRoot%\Users。

    接下来,尝试对您当前的 Windows 版本(显然是 Windows 10 1709)进行就地修复安装。

    您应该下载此版本的 ISO,打开它并运行setup.exe. 这在文章 如何使用就地升级修复安装 Windows 10中有详细描述。

    如果失败,则说明你的设置太糟糕而无法恢复,因此你需要从头开始安装最新版本的 Windows 10。

    获得 1709 版的 ISO 并不容易,因为微软不合作。我在下面列出了我找到的一个来源。请记住,此 ISO 的大小约为 4 GB,因此您应该寻求快速下载。

    Rufus可以创建可启动 USB,但也有旧 ISO 版本的存储库。请参阅文章
    如何下载 Windows 10 的旧 ISO 版本。Rufus 是一个安全的网站。

    • 0

相关问题

  • VMware Workstation USB 仲裁服务无法自动启动

  • 如何在域和 Linux 活动目录中启用指纹传感器

  • 资源管理器侧面板中的桌面外壳快捷方式

  • 为什么我不能将文件从 Android 发送到 Windows 10?

  • 在多个文件上打开方式?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve