Fix Error 0x800704ec on Windows 11/10