chenrriquez wrote:
I have a 2021 Macbook Pro that is currently running Sonoma 14.1.1. I am the only user on the computer and recently tried changing the name of my user account. When I changed the name, my user account changed from an 'administrator' to 'standard'. I am now without an admin account on my computer and cannot change anything. Is there a way to restore administrative privileges?
Change the name of your macOS user account and home folder ...
Change the name of your macOS user account and home folder - Apple Support
Not advised to try and change the username because it can lead to some major headaches and loss of admin privileges.
Allow a new user to be setup with administrative privileges.
—Reboot macOS into "Single-User mode" by holding down Command-S
— Remove the file controlling whether the setup process is run by typing:
rm /var/db/.AppleSetupDone
—Reboot by typing:
reboot
— When the Setup Assistant appears, create a new account called admin (or any name other than the actual account name that you are trying to get back.)
Once this is done the previous account (still Standard) and a new admin account.
>System Preferences/Settings > Users & Groups
From your newly created account— then elevate the standard account back to admin by ticking 'Allow user to administer this computer'.
Alternatively you could leave the account as standard and just use the admin's credentials when prompted for authentication.
If you need more information you can reference more:
Lost Administrator Access admin changed to standard how to set an a… - Apple Community