Hi I have problems getting a batch file to run via SCCM. I have done the following:
- Created a new package and select option 'This package contains source files' and set the directory the folder that stores the batch file
- Created new program and pointed this to the batchfile (shortcuts.bat)
- Pushed the package to the distribution points, this has successfully transferred
- Created advertisement, selected this package and set the program to the batch file (shortcuts.bat). This is set to download from distribution points and run locally and set against the required collection
The batch file does not run on the client and I am not sure what logs to check. The batchfile contains the following:
copy \\dmh-syscon1\softwaredeploymentpackages\shortcuts\coss2.url"c:\users\public\desktop"
It works fine if run manually on the client but not via SCCM. Can someone please advise what I have done wrong?
Thanks
Alistair