Hi,
Can you check event logs and there could be permission issue with running the script remotely with the account. Did you tried manually running the script on the workstation from the remote path? Follow this link - https://woshub.com/copy-files-on-all-computers-group-policy/#:~:text=If%20you%20need%20to%20copy,to%20copy%20the%20file%20to.
Hope this helps.
JS
==
Please Accept the answer if the information helped you. This will help us and others in the community as well.