AppX deployment subsystem corrupted after 26H2 feature update: StartupTask record lost + Store reinstall permanently fails with 0x80073CF9 / 0x8007177E
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 5/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- shell
- Lĩnh vực
- infrastructure
Hướng nghiên cứu
The payload names no repository files, tests or entry points. The failures sit in Windows AppX deployment state (StartupTask registry mirror, the AppXDeploymentServer Operational log, Add-AppxPackage re-registration, DISM /RestoreHealth), which is outside this repo's code. Reproducing needs a Windows 11 machine with the affected package, and the fix is likely OS-side. Done would mean a reproducible diagnosis or a maintainer-confirmed workaround, not a patch here.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
AppX deployment subsystem corrupted after 26H2 feature update: StartupTask record lost + Store reinstall permanently fails with 0x80073CF9 / 0x8007177E
Environment
- Windows 11 26H2, Build 26300.9711 (feature update from 26200, cumulative update 26100.9711)
- Affected app: KingjetNetwork.DitoPaste ("PPaste", ProductId 9PK30SK8LD80), UWP/Store version 2.4.0.0
- Reported via
winget install --id 9PK30SK8LD80 --source msstore
Symptom 1: StartupTask record lost after feature update
After the 26200 → 26300 feature update, the app's StartupTask no longer functions and the app is hidden from Settings > Apps > Startup.
Evidence:
Windows.ApplicationModel.StartupTask.GetAsync("PPaste_jiantieban")returns0x80070490(ERROR_NOT_FOUND)- Registry mirror still present:
HKCU\Software\Classes\Local Settings\...\SystemAppData\KingjetNetwork.DitoPaste_0h07hjapzra4r\PPaste_jiantiebanwithState=2 - AppxManifest still declares
<uap5:StartupTask TaskId="PPaste_jiantieban" Enabled="true" /> - Re-registering the same package is idempotently skipped —
Add-AppxPackage -DisableDevelopmentMode -Register <manifest>succeeds but does NOT rebuild the StartupTask record in StateRepository
Symptom 2: Store reinstall permanently fails
After Remove-AppxPackage, reinstalling from either Microsoft Store UI or winget msstore fails every time with 0x80073CF9 (ERROR_INSTALL_REGISTRATION_FAILURE).
Microsoft-Windows-AppXDeploymentServer/Operational log, every attempt:
Event 403/404: Deployment failed with 0x8007177E:
"Unable to read staged session for the update object:
7402f80e58f26b0e443ea6cff7f53588fbc92e61"
Key observations:
- The same fixed hash appears on every attempt across days and multiple reboots — a persistent stuck reference
- Exhaustive search (filename + file content + registry) across
C:\ProgramData\Microsoft\Windows\AppRepository(full recursive tree),C:\Windows\SoftwareDistribution, CBS and AppModel registry hives finds no match for this hash anywhere StateRepository-Deployment.srdpasses SQLiteintegrity_checkand contains no session tables → the stuck reference lives inside the InstallService internal queue, unreachable by any non-destructive means- Attempted cleanup also logs Event 627: staged remnants
KingjetNetwork.DitoPaste_2.3.2.0/_2.4.0.0"cannot be removed because the app is not installed for the current user"
Symptom 3: System-wide blast radius
- Event ID 484: package registration state read failures for user S-1-5-18 (SYSTEM) on unrelated packages (Microsoft.OneDriveSync, Microsoft.6365217CE6EB4)
DISM /Online /Cleanup-Image /RestoreHealthhangs at the command-routing stage for 43+ minutes (dism.log zero writes, TiWorker zero CPU), requiring manual termination
Already attempted, all ineffective
| Attempt | Result |
|---|---|
| Reboot (full) | Stuck session hash persists |
wsreset.exe |
No effect |
Admin Get-AppxPackage -AllUsers *DitoPaste* + Remove-AppxPackage -AllUsers |
Nothing found — system level is clean |
Registry UserEnabledStartupOnce rebuild + re-register |
GetAsync still NOT_FOUND |
| System Restore to prior restore point | Deployment queue state NOT rolled back — error persists identically |
DISM /RestoreHealth |
Hangs (see Symptom 3) |
Expected behavior
- Investigate the state migration bug in the 26200 → 26H2 upgrade path that corrupts StateRepository/InstallService session state
- Provide a supported way to rebuild lost StartupTask records (the idempotent-skip logic in re-registration currently blocks the obvious fix)
- Provide an official tool or command to clear orphaned staged-session references so affected users can reinstall from Store without an in-place repair upgrade
Workaround that worked
Installing the vendor's Win32 (Inno Setup) build of the same app — bypassing the AppX pipeline entirely. The UWP package and Store channel remain unusable on this machine.
- Ngôn ngữ chính
- C++
- Star
- 26.6k
- Fork
- 1.8k
- Merge trung bình
- 3 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 41
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/winget-cli
-
Issue-Docs Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
microsoft/winget-cli#6692 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Issue-Docs Possible-Duplicate
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
microsoft/winget-cli#6493 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
WinGetSourceCreator: PackWithMappingFile should verify makeappx.exe exists before invoking itĐang mởIssue-Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/winget-cli#6427 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Issue-Docs msstore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
microsoft/winget-cli#6331 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Command-Source Issue-Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/winget-cli#6148 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của microsoft/winget-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stratum-mining/sv2-tp#167 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sign up button opens the Sign in page instead of the Sign up page for Enterprise edition serversĐang mởauth bug ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MerginMaps/mobile#4795 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
HarperFast/rocksdb-js#1118 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
26.04 bug dark-mode Easy Hack impress symptom: visual
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CollaboraOnline/online#16421 · 1 bình luận ·