It seems Microsoft finally addressed the issue and its latest insider built of Windows 11 has resolved the crashes in automation code. The problem is we don’t know how quickly will MS roll out this update to public. If you are interested in a way how to install the insider built of Windows 11 to resolve this issue, let us know.