Jamf Pro
Powerful workflows for IT pros
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Jamf Pro 10.34.0 Beta 1 is now available!

Happy Monday, Jamf Nation!We hope you all enjoyed JNUC and the wealth of information presented by our amazing community members. We're pleased to announce the availability of Jamf Pro 10.34.0 Beta 1 today.10.34.0 Beta 1 introduces a lot of really gre...  View more

  • 284 Views
  • 1 replies
  • 1 kudos

What's new in the Jamf Pro 10.33 Release

Hi Jamf Nation and happy JNUC 2021! Today we released Jamf Pro 10.33 which includes support for Account-driven user enrollment for iOS/iPadOS. This workflow streamlines the user enrollment onboarding process and focuses on providing corporate access ...  View more

  • 8542 Views
  • 17 replies
  • 9 kudos

Logging to server via bash script

I thought I had already posted this, but it's no where to be found. I use a bash script which kills Zoom Rooms and forces a restart. Unfortunately this script doesn't leave any evidence of running, likely because it restarts before the script actuall...  View more

  • 353 Views
  • 2 replies
  • 0 kudos

Create server log entry inside script

I have a bash script which restarts, after Killing Zoom Rooms via killall. shutdown -R now I use this script because for whatever reason a policy using Restart Options does not work, likely because Zoom Rooms blocks it. Unfortunately there is never a...  View more

  • 396 Views
  • 1 replies
  • 0 kudos

Script to Change First Two Letters of Device Name

Hi All,I'm looking to create a script that I can run to change just the first two letters of a Devices name. We currently use Building-student(or teacher) and barcode (all under 15 characters for our AD bind). Since moving to one-to-one this year, I ...  View more

  • 544 Views
  • 3 replies
  • 0 kudos

Invoking Rosetta2 For Specific Apps

Hi All, You know that 'Open using Rosetta' check box that we can turn on and off from a 'Get Info' window? Can anyone share how to accomplish that check box via Terminal? I'm scripting something and it would be super useful if I could include that in...  View more

  • 309 Views
  • 1 replies
  • 0 kudos

Hiding default user folders using a launch agent

Hi all, Bit of an odd one. Our organisation needs to allow some aspect of local storage access to accommodate work on large files without constantly writing to network drives. They work on these files and then copy them to mounted AD drives.I want to...  View more

  • 528 Views
  • 4 replies
  • 0 kudos

Install login certificate

Hello Everyone, I'm trying to push the login certificate and make it trusted automatically to 600 ++ MacBooks. Can anyone help to post a bash script?  View more

  • 413 Views
  • 3 replies
  • 0 kudos

Setting Safari BACK to the default browser

Greetings friends, Wondering if anyone has a clever method for resetting Safari back to the default browser. Ideally we'd like to not lock this setting down, just change it when needed via a script, etc. Thank you  View more

  • 334 Views
  • 1 replies
  • 1 kudos

Homebrew script password prompt workaround?

I understand the spirit of Homebrew being secure and permissions set to the owner of the device. I've developed a workflow around scripts that pull the latest apps via brew to newly deployed machines. I have run across a newish issue where when I try...  View more

  • 360 Views
  • 1 replies
  • 0 kudos

Script Error

Good day everyone, I'm hoping that I can get a second set of eyes on this script. It is designed to check the status of Find My Mac, and works find locally, but it is erroring out when I run it through a Jamf Policy. Here is the script: !/bin/bash th...  View more

  • 430 Views
  • 2 replies
  • 0 kudos

Run script in safe mode

We have a unique situation where SentinelOne is corrupting and disconnecting from the S1 portal. Because the client is not connected to the portal, the passphrase is not accurate to the client. We have a script which will uninstall the client in safe...  View more

  • 194 Views
  • 0 replies
  • 0 kudos

erase-install.sh & DEPNotify

Hi guys, I'm doing some testing now to see if I can fit Graham Pugh's excellent erase-install.sh into our workflow for first boot - it works like a charm outside. how might I integrate this into a first boot routine using DEPNotify? Would I put a com...  View more

  • 211 Views
  • 0 replies
  • 0 kudos

Delete Apple Apss

Here's the script for deleting Apple Apps !/bin/zsh echo "your admin password" | sudo -S -k rm -rf /Applications/iMovie.app -n 1 echo "your admin password" | sudo -S -k rm -rf /Applications/Numbers.app -n 1 echo "your admin password" | sudo -S -k rm ...  View more

  • 179 Views
  • 0 replies
  • 0 kudos

Bash Script

Dear All, I would like to create an executable bash script for the scripts below: sudo sh -c 'echo "Sandboxing Relaxed" >> /etc/cups/cups-files.conf'sudo launchctl stop org.cups.cupsd Can anyone help?  View more

  • 580 Views
  • 4 replies
  • 0 kudos

Send Command or Script execution to the background

Greetings, I'm trying to run a policy from Jamf Pro Cloud in which the policy will either fire off a unix command and send it to the background and not wait for a response so Jamf can finish executing the rest of the policy. I tried using the Execute...  View more

  • 541 Views
  • 3 replies
  • 0 kudos

folder redirect script

Hi all I have tried this script from jamf it works locally but not being pushed its an AD environment and it to redirect the music folder in documentsdoes anybody have experience of this !/bin/bash Get current logged in username CURRENTUSER=$(stat -f...  View more

  • 261 Views
  • 1 replies
  • 0 kudos

Can't convert Admin users to Standard users

Im trying to convert a large number of admin accounts to standard accounts. On jamf nation, multiple people have been sharing this script below, but when I run it, it does not change any users from Admin to standard. Below is what I ran:with ###### b...  View more

  • 771 Views
  • 5 replies
  • 0 kudos

Jamf Training

Hi all, I am completing the training courses for the Jamf Jamf 100 Course. I just need some help with completing a task and understanding the process What I have done is I have created a file in terminal on my Mac titled 'review' and its on my deskto...  View more

  • 385 Views
  • 1 replies
  • 0 kudos

Scripts on DEP enrolled MacBooks

Hello ALL, New to Jamf School but stumbled on a major issue with DEP enrolled MacBooks. Self enrolled MacBooks run the scripts without an issue. We also can ran the scripts locally on the DEP MacBooks from a USB stick and worked, but pushing the scri...  View more

  • 271 Views
  • 1 replies
  • 0 kudos

Remove Duplicate Certificates in Login Keychain

I am finding several instances in our environment where a user has duplicate certificates matching their username in their login keychain. Any suggestions for ways to script removing certificates in a group of user's login keychain that match the res...  View more

  • 237 Views
  • 1 replies
  • 1 kudos

depnotify-script-based-install - DEPNotify-Starter

Up until recently, we have been using a script "depnotify-script-based-install" based on the https://github.com/jamf/DEPNotify-Starter instruction. But since Big Sur we are finding it no longer kicks off by itself. We have to boot the iMac, it picks ...  View more

  • 454 Views
  • 3 replies
  • 0 kudos

Show wifi status in menu bar.

Does anyone have a script or a terminal command to show WiFi in the menu bar? I have been trying and nothing I do works. I am on Big Sur. I need a way to implement this to all of the Macs in my environment.  View more

  • 233 Views
  • 0 replies
  • 0 kudos
Labels