You will receive the following error if you have a fresh install of windows 11 22H2+
The fix is to disable the following setting in Windows which is now enabled by default to block unsigned packages:
Smart App Control needs to go from "On" to "Off"
Please be aware that this setting cannot be re-enabled without a re-install of Windows.
Hope this helps someone, I struggled with this just now for a little while.

You will receive the following error if you have a fresh install of windows 11 22H2+
The fix is to disable the following setting in Windows which is now enabled by default to block unsigned packages:
Smart App Control needs to go from "On" to "Off"
Please be aware that this setting cannot be re-enabled without a re-install of Windows.
Hope this helps someone, I struggled with this just now for a little while.