Yep we have been experiencing this in one environment also. So far haven't come up with a clear root cause & our only solution is to stop users from rebooting, back the device up, wipe it, reinstall macOS then recreate the user and copy it back across. Would love a solution that isn't this complex...
Update: fixed by doing the following:
#reboot to recovery, open terminal
rm -rf /Volumes/Macintosh HD/var/db/ConfigurationProfiles/*
mkdir /Volumes/Macintosh HD/var/db/ConfigurationProfiles/Settings
touch /Volumes/Macintosh HD/var/db/ConfigurationProfiles/Settings/.profilesAreInstalled
Update: fixed by doing the following:
#reboot to recovery, open terminal
rm -rf /Volumes/Macintosh HD/var/db/ConfigurationProfiles/*
mkdir /Volumes/Macintosh HD/var/db/ConfigurationProfiles/Settings
touch /Volumes/Macintosh HD/var/db/ConfigurationProfiles/Settings/.profilesAreInstalled
Hello, thanks for the reply.
When I type the second command "mkdir /Volumes/Macintosh HD/var/db/ConfigurationProfiles/Settings" i get a "No such file or directory" message
Sorry about that. You’ll need to escape the space (Macintosh\\ HD) in both commands.
Sorry about that. You’ll need to escape the space (Macintosh\\ HD) in both commands.
Got it, after that do I just restart the macbook?
Thanks
Yep, after that a reboot should fix it. An easy way to check for others that will have this issue is if they have lots of "general" profiles showing as installed when you check Jamf Pro. If they do, you'll need to perform this step or script it if you're happy to do that. We have moved to scripting the removal of the corrupted profiles that are causing this, that was we don't need to boot into recovery and physically touch every device.
Yep, after that a reboot should fix it. An easy way to check for others that will have this issue is if they have lots of "general" profiles showing as installed when you check Jamf Pro. If they do, you'll need to perform this step or script it if you're happy to do that. We have moved to scripting the removal of the corrupted profiles that are causing this, that was we don't need to boot into recovery and physically touch every device.
Got it, it worked and I was able to login. On jamf this is what I see when i click on the laptop management. Not sure why these commands are stuck

Sorry about that. You’ll need to escape the space (Macintosh\\ HD) in both commands.
Thanks for all the help, for some reason it worked on one and did not work on 5 other computers. Not sure if I am mistyping something but I connat see why it will not work on the others.
Thanks