Skip to content

Instantly share code, notes, and snippets.

@wegotoeleven
Created August 5, 2022 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wegotoeleven/0bf2d0c3ef7f1064af7c03aed1a20883 to your computer and use it in GitHub Desktop.
Save wegotoeleven/0bf2d0c3ef7f1064af7c03aed1a20883 to your computer and use it in GitHub Desktop.
Reset DEP cache
# On Macs without a T2 chip, boot into Single User Mode using cmd-S.
# On Macs with or without a T2 chip, boot into Recovery Mode using cmd-R and open Utilities > Terminal.
# Doesn't work on macOS 11 and newer
mount -uw /System/Volumes/Data
touch /var/db/.RunLanguageChooserToo
mount -uw /
touch /Volumes/Macintosh\ HD/var/db/.RunLanguageChooserToo
profiles renew -type enrollment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment