Skip to content

Instantly share code, notes, and snippets.

@lorenzodifuccia
Last active July 27, 2023 14:57
Show Gist options
  • Save lorenzodifuccia/d5719599309f6ebd03d296f7ccc09917 to your computer and use it in GitHub Desktop.
Save lorenzodifuccia/d5719599309f6ebd03d296f7ccc09917 to your computer and use it in GitHub Desktop.
macOS - Useful things
# Emoji
defaults write -g ApplePressAndHoldEnabled -bool true
# Screenshots
defaults write com.apple.screencapture disable-shadow -bool true
# Admins
sudo spctl --master-disable
sudo dscl . -append /Groups/admin GroupMembership lorenzo.di.fuccia
# OneDrive
defaults write com.microsoft.OneDrive DisablePersonalSync -bool False
# JAMF
sudo jamf removeMDMProfile
sudo jamf manage
# Antivirus
launchctl unload /Library/LaunchAgents/com.microsoft.wdav.tray.plist
sudo launchctl unload /Library/LaunchDaemons/com.microsoft.fresno.plist
sudo launchctl unload /Library/LaunchDaemons/com.tanium.taniumclient.plist
sudo launchctl unload /Library/LaunchDaemons/com.avecto.defendpointd.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment