エラー: 0x800f0805
エラーが発生するケースがありましたので、報告しておきます。
====================================
Windows Update Remover v1.1
====================================
System Information:
OS: Microsoft Windows 11 Pro
Version: 10.0.26100
Architecture: AMD64
Computer: NAKANO-PC
Scanning for installed updates...
Found 3 installed updates.
--- Installed Updates ---
[1] KB5065381 - Security Update (Installed: 2025-08-18)
[2] KB5063878 - Security Update (Installed: 2025-08-18)
*** PROBLEMATIC UPDATE DETECTED ***
[3] KB5056579 - Update (Installed: 2025-04-28)
*** WARNING: 1 problematic update(s) found! ***
These updates are known to cause issues and should be prioritized for removal.
Select updates to remove:
- Enter numbers separated by commas (e.g., 1,3,5)
- Enter 'all' to select all updates
- Enter 'quit' to exit
Your selection: 2
Selected 1 update(s) for removal.
Creating a restore point before making changes...
警告: Failed to create restore point: このコマンドは、次のエラーにより実行できません:
サービスは、無効であるか、または関連付けられた有効なデバイスがないため、開始できません。
Continue without restore point? (y/n): y
--- Processing Updates ---
Processing KB5063878... [PROBLEMATIC UPDATE]
*** This update is known to cause issues! ***
Description: Security Update
Remove this update? (y/n/skip all) [Default: y]:
Removing KB5063878...
エラー: 0x800f0805
指定したパッケージは無効な Windows パッケージです。
iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/danalec/WinUpdateRemover/main/WinUpda
teRemover.ps1')) : Failed to remove KB5063878
発生場所 行:272 文字:9
+ Write-Error "Failed to remove KB$kb"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException
1.0.1のテストが終わったら、この問題をクローズします。もう一度テストしていただけますか?ありがとうございます。
私も同じエラーが出ましたので、報告します。
====================================
Windows Update Remover v1.0.1
====================================
System Information:
OS: Microsoft Windows 11 Home
Version: 10.0.26100
Architecture: AMD64
Computer: DESKTOP-XX
Scanning for installed updates...
Found 3 installed updates.
--- Installed Updates ---
[1] KB5065381 - Security Update (Installed: 2025-08-12)
[2] KB5063878 - Security Update (Installed: 2025-08-12)
*** PROBLEMATIC UPDATE DETECTED ***
[3] KB5056579 - Update (Installed: 2025-04-28)
*** WARNING: 1 problematic update(s) found! ***
These updates are known to cause issues and should be prioritized for removal.
Select updates to remove:
- Enter numbers separated by commas (e.g., 1,3,5)
- Enter 'all' to select all updates
- Enter 'quit' to exit
Your selection: 2
Selected 1 update(s) for removal.
Creating a restore point before making changes...
警告: 過去 1440
分以内に作成されたシステム復元ポイントが既に存在するため、新しいシステム復元ポイントを作成できません。復元ポイントの作
成頻度を変更するには、レジストリ キー 'HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore' の下に、DWORD
値 'SystemRestorePointCreationFrequency' を作成します。このレジストリ
キーの値で、復元ポイントを連続して作成する際に確保する必要がある間隔を分単位で指定します。既定値は 1440 分 (24 時間)
です。
Restore point created successfully!
--- Processing Updates ---
Processing KB5063878... [PROBLEMATIC UPDATE]
*** This update is known to cause issues! ***
Description: Security Update
Remove this update? (y/n/skip all) [Default: y]:
Removing KB5063878...
Searching for package information...
Trying standard DISM package format...
エラー: 0x800f0805
指定したパッケージは無効な Windows パッケージです。
Trying Windows Update Standalone Installer...
Trying Windows Update API...
iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/danalec/WinUpdateRemover/main/WinUpda
teRemover.ps1')) : Failed to remove KB5063878
発生場所 行:364 文字:9
+ Write-Error "Failed to remove KB$kb"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException
KB5063878は統合SSU+LCUパッケージであり、Windowsアップデートの動作を根本的に変更し、完全な削除を不可能にします。
SSU+LCU統合の意味
従来のアップデート:
- SSUが最初に個別にインストールされる
- LCUがSSUの後にインストールされる
- 両方とも独立して削除可能
統合パッケージ (KB5063878):
- SSUとLCUがバンドルされている
- SSUが永続的にWindows統合される
- [LCU部分のみ部分的に削除可能
DISMが完全に削除できない理由
「統合パッケージに対してWindows Update Standalone Installer (wusa.exe)を/uninstallスイッチで実行しても動作しません。統合パッケージにはSSUが含まれているためです。インストール後はSSUをシステムから削除することはできません。」
DISMができること:
- LCU部分の検出と部分削除のみ
永続的に残るもの:
- サービシングスタックアップデート (SSU) コンポーネント
- コアアップデートメカニズム
- システムセキュリティ強化
- Windows Updateインフラストラクチャの変更
中核的なアップデートメカニズム システムセキュリティの強化 Windows Updateインフラストラクチャの変更
グラフィカルな制御方法を使う必要がある場合でも、自動削除機能を追加したいと思っています 代替案を調査するまで、この問題は未解決のままにしておきます。
1.0.1のテストが終わったら、この問題をクローズします。もう一度テストしていただけますか?ありがとうございます。
v1.0.17 で再実行した結果です。
ログ
====================================
Windows Update Remover v1.0.17
====================================
System Information:
OS: Microsoft Windows 11 Pro
Version: 10.0.26100
Architecture: AMD64
Computer: NAKANO-PC
=== Interactive Menu ===
Choose an action:
1. List installed updates
2. Block specific updates from installing
3. Unblock previously blocked updates
4. Check blocking status of updates
5. Show blocking methods information
6. Repair Windows Update
7. Run diagnostics
0. Exit (or type 'q' to quit)
Enter your choice (0-7 or q to quit): 1
=== Comprehensive Update Listing ===
Scanning all update sources...
Scanning Get-HotFix...
Scanning DISM packages...
Scanning Windows Update API...
Found 6 total installed updates (3 removable via this tool).
--- Get-HotFix Updates ---
KB5063878 - Security Update [2025-08-18] Removable via WUSA/DISM
KB5065381 - Security Update [2025-08-18] Removable via WUSA/DISM
KB5056579 - Update [2025-04-28] Removable via WUSA/DISM
--- Windows Update API Updates ---
KB2267602 - Microsoft Defender Antivirus のセキュリティ インテリジェンス更新プログラム - KB2267602 (バージョン 1.435.250.0) - 現在のチャネル (広範) [2025-08-18] Informational only
KB4052623 - Microsoft Defender Antivirus マルウェア対策プラットフォームの更新プログラム - KB4052623 (バージョン 4.18.25070.5) - 現在のチャネル (広範) [2025-08-06] Informational only
KB5007651 - Windows Security platform の更新プログラム - KB 5007651 (バージョン 10.0.27840.1000) [2025-05-22] Informational only
Note: Updates marked as 'Removable' can be removed using this tool (Get-HotFix and DISM sources).
Other updates are shown for informational purposes only.
Installed Updates:
==================
Removability Status: [OK] Removable [!] Potentially Removable [X] Not Removable
1. [!] KB5065381 - Security Update 2025-08-18 - Standard update - maybe removable via WUSA
2. [!] KB5063878 - Security Update 2025-08-18 - Standard update - maybe removable via WUSA
3. [!] KB5056579 - Update 2025-04-28 - Standard update - maybe removable via WUSA
Select updates to remove:
- Enter numbers separated by commas (e.g., 1,3,5)
- Enter 'all' or 'A' to select all updates
- Enter 'back' or 'b' to return to main menu
Your selection: 2
Selected 1 update(s) for removal:
- KB5063878 - Security Update
Creating a restore point before making changes...
警告: System Restore service (SRService) not found on this system
警告: Failed to create restore point: このコマンドは、次のエラーにより実行できません:
サービスは、無効であるか、または関連付けられた有効なデバイスがないため、開始できません。
Continue without restore point? (y/n): y
Processing KB5063878...
Removing KB5063878...
Trying Windows Update Standalone Installer (WUSA)...
[!] WUSA failed: Invalid parameter - KB may not exist or format incorrect
Trying DISM package discovery...
Failed to process KB5063878
Update processing completed!
Press Enter to continue:
先ほども申し上げた通り、KB5063878 は Windows 用の SSU+LCU 複合パッケージであるため、DISM の自動削除方法では削除できません。グラフィカルな方法で削除する方法を検討していますが、PowerShell ではこの方法が限られています。
新しいバージョンではいくつかのアラートが失われているため、この問題は未解決のままです。
アンインストールパネルに直接移動するためのショートカットを実装しました。(v1.0.19)
スクリプトだけでアンインストールの最終確認を自動化するのは非常に困難です。
グラフィカルな自動化であっても、企業環境では役立つと思います。この問題は未解決のままにしておきます。