Customise Desktop Background / Wallpaper V2 - Mac & Windows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024
01:47 AM
- last edited on
08-02-2024
09:50 AM
by
BScott
Hey Folks,
A while ago I worked out V1 which obviously is outdated - so here I am for a refresh!
Long story short, let's dive in.
Mac
- Create a JumpCloud command -> bind to the target device group -> replace the URL to the file link where your desktop background is stored. (Ideally a direct link)
#!/bin/bash # Change this line URL="https://your-image-url/background.jpg" # Do NOT change below # Destination path DESTINATION="/Users/Shared/background.jpg" # Download the image file curl -o "$DESTINATION" "$URL"
- Run the command once and make sure the image has been downloaded for these devices.
- Download iMazing Profile Editor, create a new profile.
- In General, set a name for the profile, and leave the Identifier unchanged.
- On he same page, set payload scope to System. And target device type to Mac.
- In the top right-hand search box, search for Desktop Picture, and Add the Configuration Payload, then input the background file path aligned with the command above.
/Users/Shared/background.jpg
- Save the profile.
- Create a custom MacOS policy on JumpCloud -> upload this setWallpaper mobileconfig and bind to the target device group. Done!
Windows
This will do the lock screen as well.
- Create a JumpCloud command -> from template -> search Windows - Change Lock Screen & Desktop Background | v1.0 JCCG.
- You can visit our Github link for more information about this command here.
- Replace the first 3 lines with below at the beginning of the command body:
LockscreenUrl = "https://your-image-url/lockscreen.jpg" $wallpaperUrl = "https://your-image-url/background.jpg" $BackgroundSource = "C:\Windows\temp\background.jpg" $LockScreenSource = 'C:\pathToImages\lockImage.jpg' Invoke-WebRequest -Uri $wallpaperUrl -OutFile $BackgroundSource Invoke-WebRequest -Uri $LockscreenUrl -OutFile $LockScreenSource
- Save and bind the command to the target devices, and run it.
- Done!
Hope you like it and this will make our IT life slightly easier while our users enjoy the fresh new view on their desktop 😀.
Catch you up at the next one!
- Labels:
-
Bash
-
PowerShell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 03:31 PM
If we use the Mac version above, does it prevent users from changing the background? I like the idea of setting a background default, but I really don't want to force it on the users if they'd rather change it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 03:12 AM
since we are dropping a mobileconfig from MDM, so it's mandated by default. however, you can unbind the wallpaper custom policy from the device (or a group) once confirmed the policy been applied successfully. in this case, user will be able to change the wallpaper again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 12:19 AM
I’m new to JumpCloud. Could you guide me on how to change the URL to a local upload for a background image, such as using the /tmp directory?
![](/skins/images/1519CD93B86343CA58368DF3BFFB373D/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/1519CD93B86343CA58368DF3BFFB373D/responsive_peak/images/icon_anonymous_message.png)