HomeToolsAbout a20k

MacOS

Eject external volume safely

/usr/bin/killall -KILL QuickLookUIService

Check ABM and MDM Status

sudo profiles show -type enrollment
  • "Error fetching Device Enrollment configuration: Client is not DEP enabled."
    • Your Mac is released from Apple Business Manager. You can safely use it as your own.
  • An empty or null configuration
    • Your Mac is active in Apple Business Manager but is unassigned. Contact the IT admin at the company and ask them to release the Mac.
  • A configuration that lists an MDM server
    • Your Mac is active in Apple Business Manager and is assigned to an MDM solution. Contact the IT admin at the company and ask them to release the Mac.

.DS_Store

# Find find . -name ".DS_Store" -print # Delete find . -name ".DS_Store" -type f -delete

Disable Future

# Disable future .DS_Store files on network shares defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE # Disable .DS_Store files on removable media defaults write com.apple.desktopservices DSDontWriteUSBStores -bool TRUE # Re-enable `.DS_Store` defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool FALSE defaults write com.apple.desktopservices DSDontWriteUSBStores -bool FALSE
© VincentVanKoh