I've seen a few other posts about this online, but we are having problems with the Guest User account not working on our Catalina and Big Sur machines. Guest is enabled and it shows in System Prefs that Guest is enabled. It just wont log in. I've tried disabling and re-enabling it via script, deleting the homefolder, etc, but it hasn't fixed it. So far the only way to fix it is to go into System Prefs and uncheck it and then check it again. That fixes it. I even ran Composer and did that to see what it was doing, but it found no changes. Does anyone have a solution for us?
Thanks in advanced!
Modifying the OS version check in the following script (line 32) got it working for me in Big Sur (11.5.2):
Also, change the $1 variable on line 105 to $4 so you can upload to Jamf & use parameter 4 to control enable/disable of the account.