Mac 監(jiān)管機(jī)MDM跳過(guò)激活彈窗

屏蔽提示

使用終端輸入指令

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

再次輸入

sudo profiles show -type enrollment
  1. 12系統(tǒng),開機(jī)不連網(wǎng)(wifi連接時(shí)選擇跳過(guò))進(jìn)入系統(tǒng),能繞過(guò)MDM激活系統(tǒng)(12系統(tǒng)bug,13系統(tǒng)已修復(fù),13系統(tǒng)也能繞過(guò),但非常麻煩,建議使用12系統(tǒng)繞過(guò))。
  2. 若不小心聯(lián)網(wǎng),則需求恢復(fù)系統(tǒng)(從蘋果服務(wù)器下載系統(tǒng),下載完重啟時(shí)斷開路由器網(wǎng)線)
  3. 若已升級(jí)到高版本系統(tǒng),抹掉硬盤,此時(shí)蘋果服務(wù)器恢復(fù)系統(tǒng)已不是12系統(tǒng),需用硬盤/u盤安裝12系統(tǒng)(網(wǎng)上有很多硬盤安裝macos的資料),再使用上述1的方法繞過(guò)激
  4. 激活后,關(guān)閉MDM彈窗提示“”“”“”“”“重要重要重要,否則彈窗煩死人”“”“”“”“”“”“”
    4.1 關(guān)閉SIP:關(guān)機(jī)狀態(tài)長(zhǎng)按啟動(dòng)鍵,進(jìn)入恢復(fù)模式,執(zhí)行命令 crsutil disable 重啟電腦(reboot命令)
    4.2 刪除并創(chuàng)建假profile文件:
    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
    4.3 執(zhí)行sudo profiles show -type enrollment 測(cè)試是否刪除成功(若報(bào)錯(cuò)表示刪除成功)
    4.4 執(zhí)行 sudo launchctl disable system/com.apple.ManagedClient.enroll 該命令可防止重啟后系統(tǒng)自動(dòng)恢復(fù)以上刪除的profile(重要)
    4.5 以防萬(wàn)一,可將以下域名屏蔽,使apple不能恢復(fù)mdm profile。將以下指向添加到 /etc/hosts中

block mdm connect

0.0.0.0 iprofiles.apple.com
0.0.0.0 mdmenrollment.apple.com
0.0.0.0 deviceenrollment.apple.com
0.0.0.0 gdmf.apple.com
0.0.0.0 acmdm.apple.com
0.0.0.0 albert.apple.com

  1. 做完以上操作,不再會(huì)彈出監(jiān)管注冊(cè)彈框,為確保系統(tǒng)使用安全,建議恢復(fù)SIP:關(guān)機(jī)狀態(tài)長(zhǎng)按啟動(dòng)鍵,進(jìn)入恢復(fù)模式,執(zhí)行命令 crsutil enable 重啟電腦。
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容