This happens on systems with tightened code-integrity policies (Windows 11 Smart App Control, WDAC, AppLocker, some AV products). You could try to add a white list or turn off that feature if you can work out which of them is causing it.
I’ve reported a bug for it here to see if we can improve it how its handled:
In my case I believe security policies imposed by Intune were causing the issue. I ended up resetting Win 11 and removing the clients from InTune. I put them in AD in an OU reserved for kiosks and reinstalled the client. That fixed it for me. Thanks