Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

Create a Package in SCCM 2007 to use a robocopy bat file

$
0
0

Hi

 

I’m setting up a package for Robocopy that copy files from C drive of a target machines into a network share.  

This is the robocopy bat file i am using:

ROBOCOPY "C:" "\\servername\Test" /tee /e /eta /copy:dt /r:01 /w:01 /log+:"\\servername\Test\testLog.txt" /if *.doc *.xls *.ppt *.pdf *.msg *.pst *.jpg *.zip *.txt

t


-I Set up a package with this batch file

-Added a program to the package pointing to this batch file

 general program properties are:
 Run:Hidden
 After running:No actionrequired
 Environment:
 Run with administrative rights
 drive mode: Runs with UNC Nam

-Advertised it to a collection

But when after the advertisment  i get the following error and nothing gets copies:

 

Script for Package:CHV02E94, Program: ITF Robocopy failed with exit code 16

 

Any advice

 

 




Viewing all articles
Browse latest Browse all 629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>