Profile Manager how to distribute Desktop Wallpapers

We have recently setup an Apple server in our Active Directory Managed Domain, all is going well with users logging in and mobile accounts is working well too. I have been asked to sett all the user desktop wallpapers to a specific JPEG\PNG file and I cannot seem to find where or how to do this in Profile Manager. Could anyone point me in the right direction please?
James WilkinsonNetwork Security AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sigurdur ArmannssonDesigner Commented:
In the Profile Manager, look under Restrictions for both iOS and Os X, Desktop a& Screen Savers.
0
James WilkinsonNetwork Security AnalystAuthor Commented:
The restrictions tab only allows me to enable or disable the users ability to see Desktop and Screensaver settings. is this somewhere else possibly?
0
Sigurdur ArmannssonDesigner Commented:
If I remember correctly the point is that you distribute the wallpaper using Apple Remote Desktop or similar and the user cannot change it to anything else because of the restriction.
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

James WilkinsonNetwork Security AnalystAuthor Commented:
I will look into that as i have Apple Remote Desktop Installed. I have read that i need to create a new account and then export the com.apple.desktop.plist file. I have done this from a mac with the correct logo. But now do not know what to do with the com.apple.desktop.plist file.

Any ideas? is this what i need to send with remote desktop?

I will do more research in the mean time
0
Sigurdur ArmannssonDesigner Commented:
I have not done this myself but this should be fairly easy if you use Apple Remote Desktop. You should get a copy at the AppStore. It's not that expensive and really helpful if you do administrator of any kind for macs.

Using ARD you could prepare the image you need for as a desktop picture. Change the ownership and permissions to be writable only by root but still readable by everyone else.
Also lock the picture (Info: Lock)

Select this desktop picture for your computer.

In ARD you copy those two things and use the setting: Same Relative Location.

Now when the picture is in place you can update the profiles restriction so the users can not change this setting.
0
James WilkinsonNetwork Security AnalystAuthor Commented:
Could not manage to do this  could you provide a link to a reliable guide please?
0
serialbandCommented:
I know this is an old thread, but, in case you still need it, here's how you would do it via the command line.

cp IMAGEFILE.jpg "/Library/Desktop Pictures/"
/usr/bin/defaults write /Users/ACCOUNT/Library/Preferences/com.apple.desktop Background '{default = {ImageFilePath = "/Library/Desktop Pictures/IMAGEFILE.jpg"; };}'
chown ACCOUNT /Users/ACCOUNT/Library/Preferences/com.apple.desktop.plist

Open in new window


You'll have to enable remote login if you want to copy the file to the user's computer remotely:
for REMOTE_COMP in `cat file_with_computer_list` ; do scp IMAGEFILE.jpg root@$REMOTE_COMP:"Library/Desktop Pictures/"; done

Open in new window


Then run the command remotely as a one liner.
for REMOTE_COMP in `cat file_with_computer_list` ; do ssh root@$REMOTE_COMP "cp IMAGEFILE.jpg /Library/Desktop\ Pictures/; /usr/bin/defaults write /Users/ACCOUNT/Library/Preferences/com.apple.desktop Background '{default = {ImageFilePath = /Library/Desktop\ Pictures/IMAGEFILE.jpg; };}';  chown ACCOUNT /Users/ACCOUNT/Library/Preferences/com.apple.desktop.plist"; done

Open in new window


I used ARD for a short while, but I eventually found it cumbersome.  ARD is great for a junior admin starting out or for spying on your users' desktops, but it's tedious when you have too many systems to manage.  I only enable remote login now, since I can enable remote management(ARD) or any other sharing from the command line as needed.  If you don't want them to change the background, it's easy enough to change the permissions
chown root  /Users/ACCOUNT/Library/Preferences/com.apple.desktop.plist

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James WilkinsonNetwork Security AnalystAuthor Commented:
Hi thank you for this and apologies for the delay.

What exactly does that command do?

Kind regards

I would like a script to set a specific desktop wallpaper and remove permissions. I have built in our jpeg into the main image we use for the macs.

Im hoping for a script which will select the corporate image and then remove the users access to change it

Many thanks again
0
serialbandCommented:
Wow!  That's an old one.  Somehow, I never got a notification of your response in May after I posted that.  I only see an email notification of your final answer acceptance today.  I keep my emails from this site and don't see it anywhere.

Here's the script does exactly what you want, but you must know this by now.  I replaced chown ACCOUNT with chown root.

for REMOTE_COMP in `cat file_with_computer_list` ; do ssh root@$REMOTE_COMP "cp IMAGEFILE.jpg /Library/Desktop\ Pictures/; /usr/bin/defaults write /Users/ACCOUNT/Library/Preferences/com.apple.desktop Background '{default = {ImageFilePath = /Library/Desktop\ Pictures/IMAGEFILE.jpg; };}';  chown root /Users/ACCOUNT/Library/Preferences/com.apple.desktop.plist"; done

Open in new window

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Networking

From novice to tech pro — start learning today.