Packages and Programs run as 32 bit processes on 64 bit OS, you might need to run cmd.exe from C:\WINDOWS\SysNative and call your bat file.
From: [email protected] [mailto:[email protected]] On Behalf Of Burke, John Sent: Friday, November 21, 2014 1:45 PM To: [email protected] Subject: [mssms] Robocopy not work properly via sccm ? This is crazy I have a simple bat file that i have set to download to cache that calls robocopy "c:\program files (x86)\xxx" "c:\program files\xxx" /e /xo The program needs to run with admin rights. When it runs it just spams that command over and over again however I can browse to the cache directory and right click and run as admin and it works fine. I know i could use xcopy but it's driving me nuts that it's not working yet i can basically double click and it does work. Why isn't this working from run advertised programs ? ******************************************************************************************** Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. ********************************************************************************************

