I've been researching this exact issue and am aware of these 2 Q&A's on this site:
- Is there a way to remove the Guest account?
- Removing the default guest user account on Android Lollipop
Neither of these either cover what I'm asking or are wrong (the 2nd one mentions how to delete the guest account, but it continues to be shown if you switch back to the main account, for example).
I'd like to disable the guest account completely and still retain the ability to have multiple restricted accounts on my Samsung Tab A (model GM-T350).
We purchased these for our kids and find the lack of security to restrict them disturbing. I have a Nexus 7 tablet and am able to restrict access to restricted accounts there without issue, however on the Samsung version of Android this has proved challenging.
The method using the adb shell
to set guest_user_enabled to 0 but this appears to only work if you have no other accounts, besides the administrator account, so that simply won't work.
Putting a password on the guest account will not work either, since you're able to simply "Start Over" and wipe the account and install whatever apps you like.
Deleting the Guest account will get rid of it, however if you slide the top level pulldown and switch to the administrator account, and then hit the power button and slide it down again you'll see the Guest icon show back up and you can simply start a new instance of the Guest account.
Worse still, when doing this same thing you'll be presented with a "Add User" button which blows my mind, since why would I want anyone to simply start making accounts on my device.
NOTE: The below reference is the best overview I've found thus far around parental controls in Android, but many of the screenshots are from non-Samsung variants, best I can tell.