Fix Error Code 0x80004001 on Windows 11