Skip to main content

MacBook Codes

Screenshot 2025-10-29 at 2.57.35 PM.pngRun this in a terminal under the jamf (admin) user account to force a password change prompt after typing in the default for TPS…

 /usr/bin/pwpolicy -u TPS -setpolicy "newPasswordRequired=1"

 Run this in a terminal to install Rosetta 2 on M1 and M2 processor MacBooks to allow Intel apps and executables to run.

 

 softwareupdate –install-rosetta –agree-to-license (those are double-dashes before “install” and “agree”) 

 

sudo dscl . create /Users/jamf IsHidden 1  Hide the jamf user from local MacBook

 

Uninstall uniFLOW

sudo bash /etc/smartclient/uninstall-smartclient.bash 

 

Rebuild Spotlight and Finder search index

 sudo mdutil -E /