Fix Windows Upgrade error 0xa0000400 on Windows 11/10