Your problem might be due to the latest Patch Tuesday's KB5013943.
You can read my post here:
https://forums.wincustomize.com/512353/page/1/#3851624
And, thanks to Phoenix1 finding this on Bleeping Computer, you can implement the fixes in the article:
https://www.bleepingcomputer.com/news/microsoft/windows-11-kb5013943-update-causes-0xc0000135-application-errors/
Just create a Restore Point first if you decide to use the commands there, and if you decide to do a rollback, remember that doing that will also remove the security updates that were part of the KB5023943.