Skip to main content
Question

Set local admin profile pic

  • January 25, 2025
  • 5 replies
  • 78 views

Forum|alt.badge.img+6

If I want to add a local admin profile pic, is the only way to do so by referencing an external site/vault to copy the image from? Or is there a way to store the file on Jamf? 

5 replies

AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • January 25, 2025

It's been a very long while since I did this, but it can be done with terminal or at least could be done with terminal. Try the command below.

sudo dscl . create /Users/username Picture "/path/to/image.png"

 


Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 26, 2025

Thanks. I'

m trying to do this via a policy for all enrolled laptops.


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • January 27, 2025

Shyamsundar
Forum|alt.badge.img+13
  • Jamf Heroes
  • January 27, 2025

you can also try this to Sync the user picture from Entra ID

https://techitout.xyz/2024/05/08/entra-id-directory-picture-sync-with-macos/


mvu
Forum|alt.badge.img+20
  • Jamf Heroes
  • January 29, 2025

It's been a very long while since I did this, but it can be done with terminal or at least could be done with terminal. Try the command below.

sudo dscl . create /Users/username Picture "/path/to/image.png"

 


Yeah, using this for a while too with success. I push the picture we want to the directory, and install package and script in 1 policy.

• dscl . create /Users/test Picture /Library/User\\ Pictures/Fun/test.png