安裝windows 7更新提示80092004錯誤

原因是缺少

You’re lacking SHA-2 code signing support 2019 style. Install KB4490628.

https://support.microsoft.com/en-us/help/4490628/servicing-stack-update-for-windows-7-sp1-and-windows-server-2008-r2

https://www.catalog.update.microsoft.com/search.aspx?q=4490628

有時無法安裝部分軟體,比如.net framework,提示憑證錯誤則需要把新版的根憑證Microsoft Root Certificate Authority 2011匯入到系統中

https://www.microsoft.com/pkiops/Docs/Repository.htm

也可以用指令匯入

certmgr.exe /add MicRooCerAut2011_2011_03_22.crt /s /r localMachine root