MacOS 屏蔽MDM彈窗提示 macbook pro 企業(yè)機(jī) 監(jiān)管機(jī) 移除描述文件提示彈窗
? ? 最近在閑魚上入了臺(tái)macbook pro m1 14寸 mdm監(jiān)管機(jī)?下面介紹在MacOS Monterey (理論Ventura也支持該方法)下 屏蔽MDM彈窗的完整過程

?前提條件 進(jìn)入恢復(fù)模式關(guān)閉SIP
Mac進(jìn)入恢復(fù)模式官方指引:
https://support.apple.com/zh-cn/guide/mac-help/mchl82829c17/mac?
Mac開啟和關(guān)閉 SIP 官方指引:https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection

?Mac 激活時(shí)不要連接互聯(lián)網(wǎng) (如果你連接了wifi 在激活時(shí)就會(huì)強(qiáng)制你安裝描述文件
斷網(wǎng)激活進(jìn)入桌面后
使用終端輸入指令
sudo profiles show -type enrollment
在提示后輸入密碼并回車 會(huì)出現(xiàn)安裝描述文件的提示
下一步是屏蔽該提示 依次復(fù)制以下4條指令回車執(zhí)行
sudo rm /var/db/ConfigurationProfiles/Settings/.cloudConfigHasActivationRecord?
sudo rm /var/db/ConfigurationProfiles/Settings/.cloudConfigRecordFound?
sudo touch /var/db/ConfigurationProfiles/Settings/.cloudConfigProfileInstalled?
sudo touch /var/db/ConfigurationProfiles/Settings/.cloudConfigRecordNotFound
此時(shí)再輸入
sudo profiles show -type enrollment
如果沒有彈出MDM安裝描述文件的提示就成功了
參閱
https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac?permalink_comment_id=4591775#gistcomment-4591775
建議收藏 如果恢復(fù)或者重裝 需要重新執(zhí)行指令
最后說一句 一些不是原創(chuàng)作者?掌握點(diǎn)小技巧就拿來謀利?真是下頭
