Post-Deployment commands are not executed correctly when setup run as "System" user

Post-Deployment commands are not executed correctly when setup run as "System" user

Lately I have had huge troubles with post-deployment activities.

I.E. I install Firefox:


In the Post-Deployment I need a batch file to be executed with following content:
xcopy "\\my-share\DCSWRepository\Firefox\Tools-Configs\Proxy\local-settings.js" "C:\Program Files (x86)\Mozilla Firefox\defaults\pref\" /C /H /Y /Z

This command is not executed/the file is not copied to the client machine.

When I open a CMD as administrator and then run the batchfile, there is no problem, the files are copied immediately!

I believe this has to be connected to my deployment running "as SYSTEM user":



I already tried to change the command to full path: "C:\Windows\System32\xcopy.exe ......."
But this did not help.

The file from my networkshare is available and can be accessed by "everyone".

It has worked in the past, I did not change anything inside the batchfile..

What can I do to troubleshoot or is there a Bug?
I am running  Build No:92080  


              New to ADManager Plus?

                New to ADSelfService Plus?