Re: Creating a package to copy files from server1 to server2 - Robocop

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Jason" <Jason@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:964A8849-D46A-4282-B040-9F89EC2DBD70@xxxxxxxxxxxxxxxx
have created a package within SMS 2003 that launched the command line:

ROBOCOPY \\server1\e$\USMT\ \\server2\d$\USMT\ /S /E /Z /SEC /MIR /R:2
/W:2
/LOG:\\server2\d$\USMT\USMT.TXT /TEE /V

Looking at the Robocopy log, I receive access is denied messages:

Accessing Source Directory \\server1\e$\USMT Access is denied

The SMS computer account and SYSTEM account have full access to these
directories.

Has anyone ran a robocopy command line within a package in SMS 2003?

Sure... you need to give your local server access to the remote server...
let's say you execute the above robocopy on:

\\server2

add the server2$ account to the local administrators group on \\server1

Steve


.



Relevant Pages

  • Re: Robocopy Security and Authorization
    ... It appears that the problem is access to run the bat file itself. ... Robocopy doesn't even generate its log file. ... I also gave the RobocopyUser full rights to the BAT file, ... I noticed that the AT servce acct is the 'System' account. ...
    (microsoft.public.windows.server.general)
  • Re: Source directory not accessable
    ... Most likely the problem is that the source directory for the packages ... site server computer account to have access. ... 1 Site Server, 2 Distribution points, 1 ...
    (microsoft.public.sms.swdist)
  • Re: robocopy problem
    ... preserving the folder structure. ... source directory, but also the source directory itself, which I ... Is it possible to accomplish what I need with robocopy, if so, how do I ... You could use this syntax: ...
    (microsoft.public.windows.server.general)
  • robocopy problem
    ... I want to use robocopy to move every file and folder in a given directory to a network share, preserving the folder structure. ... I'm testing it out on my local machine, in general it works well, but I've found that it is copying and deleting not only the contents of the source directory, but also the source directory itself, which I definitely don't want. ...
    (microsoft.public.windows.server.general)
  • RE: Robocopy help needed
    ... And thanks to Meinolf for the ... you want to robocopy the whole d:\ and all ... here are some examples just for your reference. ... read source directory and the create files on the target. ...
    (microsoft.public.windows.server.migration)