cancel
Showing results for 
Search instead for 
Did you mean: 
Disclaimer
JUMPCLOUD EXPRESSLY DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS, AND LIABILITIES OF ANY KIND ARISING FROM OR RELATED TO THIRD-PARTY SOFTWARE, SCRIPTS, REPOSITORIES, AND APIS. JUMPCLOUD IS NOT REQUIRED TO SUPPORT ANY SUCH THIRD-PARTY MATERIALS AND ALL RISKS RELATED TO THIRD-PARTY MATERIALS ARE YOUR RESPONSIBILITY. PLEASE ALSO REVIEW THE JUMPCLOUD TOS.

Customise Desktop Background / Wallpaper V2 - Mac & Windows

shawnsong
Rising Star III
Rising Star III

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

  1. 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"

     

  2. Run the command once and make sure the image has been downloaded for these devices. 
  3. Download iMazing Profile Editor,  create a new profile.
  4. In General, set a name for the profile, and leave the Identifier unchanged.shawnsong_4-1722318180734.png
  5. On he same page, set payload scope to System. And target device type to Mac.shawnsong_6-1722318222748.png
  6. 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​
    shawnsong_7-1722318353706.png
  7. Save the profile.
  8. 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. 

  1. 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
  2. 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
  3. Save and bind the command to the target devices, and run it.
  4. 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!

 

2 REPLIES 2

cyrus
Novitiate II

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.

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. 

You Might Like

New to the site? Take a look at these additional resources:

Community created scripts:

Our new Radical Admin blog:

Keep up with Product News:

Read our community guidelines

Ready to join us? You can register here.