Create a new Administrator user account on a Mac computer
To address various user profile-related errors or crashes. If none of your troubleshooting efforts achieve any fruitful outcome, you can create a new Administrator account and see if the issue goes away.
Follow the steps below to create a new Administrator account:
On your Mac, click on the Apple icon on the menu bar at the top left-hand corner of your screen.
On the Apple menu select System Preferences.
In the System Preferences window, click on the Users & Groups icon. You should get the window shown below.
The padlock icon on the bottom left-hand corner will be locked, so you will need to click on it and enter your administrator password (the password you use to log in to your Mac) to unlock the preference pane and make changes.
Click the Add button at the bottom of the Users pane on the left.
In the window that comes up, click on the New Account drop-down menu, then choose "Administrator".
NOTE: For more information about the options for each type of user, click the question mark icon (i.e., Help) in the lower-left corner of the dialog.
Enter a full name for the new user. An account name is generated automatically. To use a different account name, enter it now—you can’t change it later.
Enter your preferred password, then enter it again to verify. Enter a password hint to help remind you of your password.
Click Create User.
Try running your program again and see if the problem has been fixed.
If the problem has been fixed, you can choose to make this new user account your main account and migrate all your user files from the old one.