SuTuan Hello,
We testing UFI software under windows 11 too, and have no problem so far.
This error 0xc0000141 on your windows maybe it's caused by some system files such as registry or others critical component being corrupted.
I suggest you to repair(reset or restore) your windows, if problem remain unsolve after doing repair procedure,
then reinstall the windows could be the final solution.
B.R