質問

There is a profile I installed many days ago and I forget the password, how can I delete it?

enter image description here

役に立ちましたか?

解決 2

I managed to delete the profile by using this command

sudo profiles remove -forced -identifier=com.apple.mdm.macdm.22fba6f0-ff19-0138-d02e-003ee1c5a824.alacarte

Use this command to find the profile name

sudo profiles -Lv | grep "name: $4" -4 | grep -E 'name|profileIdentifier' | awk -F ': ' 'BEGIN {key = ""} { if (NR%2==1){key=$3}else{print key"==="$3}}'

他のヒント

You can back up the Mac and then boot to recovery and erase it. The MDM profiles are designed to resist cracking so erase and restore is often the fastest method.

ライセンス: CC-BY-SA帰属
所属していません apple.stackexchange
scroll top