I went ahead and wiped a laptop, installed the latest version of windows 11 22H2 and set task manager to run my Robocopy script. Task fails access denied error and the task never stops running. This script is used to copy data across network shares using the domain admin profile.
If the script is executed manually, it runs fine and copies all the files correctly across network shares.
I have the same task and Robocopy script running on some windows 11 21H2 and windows 10 21H2 boxes. The task and script work fine. I believe it's some kind of security / permission issue in 22H2 that is breaking my process. So, I am still in limbo with this issue and 22H2.