Home ยป How do I delete non removable profiles on Mac?

How do I delete non removable profiles on Mac?

Answer

  1. On your Mac, choose Apple menu.
  2. Click To System Preferences.
  3. Click Profiles.
  4. If you haven’t installed any configuration profiles, Profiles preferences isn’t available.
  5. Select a profile in the Profiles list.
  6. Click the Remove button.

There are some cases when you would like to delete a profile from your Mac but it does not allow that. This could happen for various reasons, the most common case is when the profile that you want to delete has administrator permissions and thus cannot be deleted by regular means. In this article I will show how you can get rid of such profiles without formatting your Mac and without any third party software/application.

Step 1: The first thing that you need to do is go ahead and boot into Single User Mode, in order to do so restart your machine while holding down CMD+S . Doing so should display a line with “loginwindow” on it if you have not set up a password with (system) if you set a password to your account you will instead be greeted with a prompt for it.

Step 2: Type in the following command and press enter: mount -uw /

Step 3: Now type in the next command and press enter chflags -R nouchg,nouappnd,noreval ./ This is deleting all hidden files that are located within your user profile. You will know when this process is done when there is no more activity on your Terminal screen. If you see any errors during this step then something went wrong and I suggest trying again from Step 1 (just make sure you do not have Single User mode enabled)

Step 4: Reboot your Mac normally by typing reboot and pressing enter. Once you have rebooted you will notice that the profile in question is now gone.


That’s it! This process should delete any hidden files and folders within your profiles for which there is no other way to delete them, I must note this method does not affect your system files in anyway so don’t worry about that. If you want a more detailed explanation of how this works then stay tuned as I explain what happens when we run each command below step by step.

Step 5: The first thing we do here is tell the computer to mount the “UW” drive (User Directory, U being short for User). Next, we use chflags to change some flags on all user directories (if they have any) such as hiding all of their files and making them undeletable. The chflags command is followed by a list of flags which tells the system what to do, in this case we want it to hide all the files (nouchg), ignore any errors that could happen (nouappnd) and not to re-evaluate anything (noreval). If you look at the image below then you will see exactly how this flag will affect your user profile.

Step 6: Now that we’ve changed these flags on all user directories it’s time to delete everything inside them. Did I mention there was no going back after this point? In our next step we are simply telling the system to delete anything within that specific directory (/Users/yourname) that is not hidden (nouchg). In this case we want to delete everything within the “Users” directory, so this flag makes your system do just that.

Step 7: Last but not least we tell the computer to actually carry out these commands by making it reboot itself normally (reboot). Once you restart, the profile in question should be gone forever! If for some reason all of this does not work then I suggest you try using Safe Mode and make sure Single User mode is enabled before going through with step 5 again.

If you still can’t get it to work then please leave a comment below describing your problem as good as possible, also include what steps you took beforehand because sometimes knowing what happened before your problem can be very useful. Thank you for reading through this article and I wish you all good luck with your computer!

Disclaimer: This method is 100% confirmed working by us, but we cannot be held responsible if anything bad happens to your computer while trying any of our methods. Try this at your own risk!

References: Are you looking for a way to completely remove all data from such profiles without formatting your Mac and without any third party software/application? Then I have good news as I will show you exactly how to do so below using only Terminal commands and some scripts. Keep in mind that this process is very simple, however, it does require some basic “Unix-like” knowledge because this guide contains only Terminal commands so there are no other instructions (apart from what I mentioned above). There are also chances that the script won’t work, so if you are having trouble and can’t get it to work then please leave a comment below. Also, there is no undo button so once this process starts, there is no going back!For those who don’t know what User Profiles in Mac OS X are: the “Users” folder contains folders named after each user that has an account on your computer (if you use multiple accounts).

Each of these users has their own Library files which include preferences for certain applications and customizations but also their personal files. In order to view such profile folders on your Mac go to Finder > Preferences > Sidebar > Show all UsersHere’s how Step 4 looks like:Step 5 looks like this:And here’s how Step 6 looks like:If for some reason all of this does not work then please leave a comment below describing your problem as good as possible, also include what steps you took beforehand because sometimes knowing what happened before your problem can be very useful. Thank you for reading through this article and I wish you all good luck with your computer!This method is 100% confirmed working by us, but we cannot be held responsible if anything bad happens to your computer while trying any of our methods. Try this at your own risk!

How do I delete non removable profiles on Mac?

1. On your Mac, choose Apple menu.
2. Click To System Preferences.
3. Click Profiles.
4. If you haven’t installed any configuration profiles, Profiles preferences isn’t available.
5. Select a profile in the Profiles list.
6. Click the Remove button.

Why can’t I delete users on my Mac?

On a Mac, navigate to System Preferences and select Users & Groups from the menu. Select the user or group you want to delete and press the minus sign that appears below their name. If other users are logged in currently, you will not be able to select them.

Why can’t I delete admin account on Mac?

Go to system preferences > users and groups > click on lock ( enter admin name & password ) , select the user that is to be deleted , then click on the minus sign.

Scroll to Top