Deploy (copy) large amount of data via SCCM

Hi,

I want to deploy an application which is basically just to copy 15GB data to client device's local drives. I'm think to just do this via a batch file to robocopy \\source\dir C:\dir but how can I set the source location to be any Distribution Point so all devices are pulling the data directly from the Primary Server, or is there a better way to do this?

Another issue is that 500 users connect in remotely via VPN. How can I stop this data from being copied when they are connecting via VPN? Do I just create a Boundary group with the VPN's IP address pool, specify it as a slow network connection. And then in the Deployment Type > Content settings > Set the Deployment options on a slow or unreliable connection to 'Do not download the content'

Cheers again,

August 22nd, 2013 8:30am

Hi,

I would use a batch file to copy the data, you can use "%~dp0 in the batch file to reference the current directory, Jason explains it really well here: http://blog.configmgrftw.com/?p=332

Settings the VPN Connection as a slow network is generally a good idea and will solve your problem as you write.

Regards,
Jrgen

Free Windows Admin Tool Kit Click here and download it now
August 22nd, 2013 8:51am

Using robocopy might be a pain. It's just a SMB copy. I'd use a package that can be downloaded using BITS (throttling etc). All files will end up in the CCM cache so make sure that it's big enough. Use a program to copy (or even better: move) the files from the cache to the target dir.
August 22nd, 2013 9:03am

Thanks Torsten but I'm not sure how to achieve what you've recommended? Is it this:

1) Create a Package and tick 'this package contains the source files', then select 'Do not create a program'

2) Create a Program which is just a batch file - but what would the command be so it doesn't copy from the Primary server but the closest DP?

3) create a Deployment

Free Windows Admin Tool Kit Click here and download it now
August 22nd, 2013 10:02am

Yes, that's exactly what he's recommending. Please look at the example Jorgen linked to above. You can easily modify the script there to use move instead of copy.
August 22nd, 2013 10:08am

Ah yes, I missed the post by Jorgen.

That's a great post Jason, thanks for that.

I was wondering if, instead of copying the files from the devices local cache I could move them instead, so instead of using this command:

if not exist "%1" md "%1"

copy /y "%~dp0program_name\*.*" "%1"

I use:

if not exist "%1" md "%1"

move /y "%~dp0program_name\*.*" "%1"

?


Free Windows Admin Tool Kit Click here and download it now
August 22nd, 2013 11:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics