Activate Cache Server during enrollment

amoussy
New Contributor II

Hi,
I would like to activate Cache Server during DEP enrollment.
I know the command line is

/usr/bin/AssetCacheManagerUtil activate

but it needs sudo.

Is there a way to activate Cache Server on users' Mac automatically?

Thanks

3 REPLIES 3

blackholemac
Valued Contributor III

Payload free package tied to an enrollment (or other relevant) trigger with that command as a postinstall sscript

jcarr
Release Candidate Programs Tester

A better question might be why you want the content caching activated on client devices? Are these clients distributed? If they are, then caching content for one device isn't all that effective. If they are all in one location, then you could potentially be utilizing resources of client devices as they serve content to peers. You'd be better served by having dedicated content caching devices distributed on your network.

Just my $0.02

amoussy
New Contributor II

I understand you ask @jcarr :)
I work for a mobility services company and I could have to set up maybe hundred caching servers for hundred schools.
I am looking for how to do it as quick and as easily as possible.