Is my user account corrupt? How do I fix it?

Almost everything works OK on my Mac Mini, but I have one relatively minor problem. I use Microsoft OneDrive and the icons it uses that show whether a file is online-only, always on the Mac, or available for offline use will not show up in the Finder. Microsoft Support suggested various ways to fix this but none would work. They then suggested adding another admin account to see if the icons would show up there, which they did. MS Support then concluded that my primary user account was corrupt. They suggested I move everything over to the second user account that I had created, but this would be a time-consuming, tedious job to fix this minor problem. Is my account really corrupt? If so, how could I fix it?

Mac mini 2018 or later

Posted on Jul 1, 2021 12:11 PM

Reply

Similar questions

13 replies

Jul 1, 2021 6:36 PM in response to ptm9539

READ FIRST


When you uninstalled OneDrive per Microsoft's instructions did they advise you to remove the configuration files inside your users ~/Library folder? I see quite a few configuration files under the following locations:


~/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite

~/Library/Containers/com.microsoft.OneDrive.FinderSync

~/Library/Application Support/com.microsoft.OneDrive

~/Library/Application Support/com.microsoft.OneDrive.DownloadAndGo

~/Library/Application Support/com.microsoft.OneDriveStandaloneUpdater

~/Library/Application Support/com.microsoft.OneDriveUpdater

~/Library/Application Support/OneDrive

~/Library/Application Support/OneDriveStandaloneUpdater

~/Library/Application Support/OneDriveUpdater

~/Library/Application Scripts/com.microsoft.OneDrive.FinderSync

~/Library/Caches/com.microsoft.OneDrive

~/Library/Caches/com.microsoft.OneDrive.DownloadAndGo

~/Library/Caches/com.microsoft.OneDriveStandaloneUpdater

~/Library/Caches/com.microsoft.OneDriveUpdater

~/Library/Caches/OneDrive

~/Library/Logs/OneDrive

~/Library/Preferences/com.microsoft.OneDrive.plist

~/Library/Preferences/com.microsoft.OneDrive.DownloadAndGo.plist

~/Library/Preferences/com.microsoft.OneDriveStandaloneUpdater.plist

~/Library/Preferences/com.microsoft.OneDriveUpdater.plist

~/Library/WebKit/com.microsoft.OneDrive


I might have missed a few. As you can see there are a lot of configuration files all over the place. This ~/Library folder is hidden inside each macOS user account. So when you say it works with a different account that means all these files are different between accounts. This is also why it might just be easier to create a new primary user account on the Mac and move the data you need to keep to /Users/Shared and then login to the new account and move the files from /Users/Shared.


But you can try the following. Quit the OneDrive application from the menu bar. Then remove all these items I listed above to the trash. Logout and log back on with the problematic user account. Run OneDrive and it should recreate all the default configuration files, etc. Hopefully, that will fix the problem. Suspect one of those configuration files was damaged.


I found a script inside the OneDrive application called "ResetOneDriveAppStandalone.command" that seems to automate killing the running OneDrive App, and removing all the configuration files in the user ~/Library directories I listed. You could Open Terminal and issue the following command to run it.


bash /Applications/OneDrive/Contents/Resources/ResetOneDriveAppStandalone.command


Within this script above is a portion to unload the Finder Extension:


/usr/bin/pluginkit -e ignore -i com.microsoft.OneDrive.FinderSync
killall FinderSync


I don't think this Microsoft provided reset script clears everything. So run the script first then go through the folders I listed and remove any residual entries. Then logout and login and start OneDrive, login to OneDrive and see if the icons appear. Try rebooting once things settle down.


EDIT


There are Keychain entries for OneDrive, open the Keychain, search for OneDrive and remove those entries as well.

Jul 1, 2021 12:18 PM in response to ptm9539

Actually, it would be equally time-consuming trying to figure out what is "corrupted" in the current user account. Typically, it is best to create a new "clean" user account and start from there. Trying to copy stuff over could just end up re-corrupting it again. Alternatively, you can start from "scratch" and completely erase your Mac's OS & reinstall a fresh copy as though you just bought a new computer.

Jul 2, 2021 1:33 PM in response to James Brickley

Tried the steps you outlined, James, but still no status icons. I guess I can either copy everything to /Users/Shared and then to a new account as you suggested, or wipe the Mac, reinstall the OS as Tesserax suggested, then sync things back from OneDrive, where I have most files stored. That way, I would only reinstall the apps I actually use and have a "cleaner" system. Or, since everything but these status icons works OK on my present system, I could do nothing and live without the status icons.

Jul 1, 2021 1:06 PM in response to ptm9539

Yikes! Well, if it was me, I would go with plan "B" and do a complete erase & re-install of macOS. There is something definitely amiss that may be too difficult to troubleshoot. FWIW, I also use Microsoft's OneDrive and have never come across this issue. I do; however, normally log in with a "standard" user account with all of my Macs for day-to-day activities. I only use the Administrator account when absolutely necessary.


Alternatively, you can see if anyone else will offer you a potential solution that would be less drastic than the one I'm suggesting. Good luck!

Jul 1, 2021 12:29 PM in response to Tesserax

Good suggestion, Tesserax, though still a pain in the neck. Actually, there was one other suggestion from MS Support they said might work to fix the account. They suggested changing my account from admin to standard, logging out, then going back in and changing it back to admin. I tried this, but when I unlocked the Users & Groups preferences, I couldn’t access the option to change the account to standard (it was greyed out). I thought this was because I was logged in as that user, so I then logged in as the new user, but still could not change the original account - I could not even select that account under the Users & Groups preferences, even though I had unlocked them as the new user. Is there some step I was missing in trying to make this change or is it not possible?


Jul 1, 2021 12:41 PM in response to ptm9539

Interesting suggestion they provided you. Your Mac would need to have, at least, one Administrator-level user account ... and, you should typically, not log in with that account unless you require the additional security privileges afforded to that account. Using this type of account, day-to-day, only "invites" problems.


With that said, if your Mac currently has more than one Administrator-level account, be sure to retain just one (that you are confident is not corrupted) and reduce any others at this level to standard users. (Note, you would need to do so from the "good" Administrator account.) If, on the other hand, you only have a single Administrator account, you should not be able to change it to a standard user. There must be, at least, one active Administrator-level account on your Mac.


So, if I understood what you are saying, then you only have one Administrator-level account and were not able to change it to a standard user ... correct? ... or, did I completely miss the point?

Jul 1, 2021 2:30 PM in response to Tesserax

The saga continues... I realized I was doing something wrong in my attempts to change my "corrupt" account from admin to standard. I logged into the new admin account, but I was still logged into the original one. That's why I saw a checkmark by that account name. When I finally logged out of the original account and logged into the new one, I could change the original one to standard. I restarted, changed it back to admin, restarted again: still no OneDrive status icons. So that "fix" didn't work.


But I'm still left with my original question: is this account really corrupt? As I said originally, everything else works just fine with this account, just no OneDrive status icons. Perhaps there's something else to try to get the OneDrive icons to appear. Here's what I've tried already with OneDrive itself:

  • Reset OneDrive
  • Deleted and reinstalled OneDrive
  • Reset OneDrive after reinstalling it
  • Made sure that Finder integration was turned on.


Since you're a OneDrive user, Tesserax, can you suggest anything else to try with OneDrive top get thus working?


Incidentally, I also have a MacBook Air and the OneDrive status icons show up there OK.

Jul 1, 2021 5:17 PM in response to ptm9539

I am assuming that 2018 Mac mini is running macOS Big Sur because you posted in this area of the ASC. Is the MacBook Air running Big Sur as well? For reference, I also have a 2018 mini, running Big Sur. I also have a M1 Air running the same. Neither are having issues with OneDrive.


I know that you are not seeing the OneDrive icons with the original Administrator account on your mini, but were they available with the new Administrator account? I do use OneDrive and iCloud for my Cloud resources, but I more depend on my Synology NAS for local network storage for my Macs, WinPCs, & Linux boxes. I like having multiple local & remote storage resources for redundancy. One thing you may want to consider to prevent having this issue in the future is to make regular clone copies of your Macs. This way instead of "pulling your hair out" trying to "fix" a user account, you can quickly get back "up and running."

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is my user account corrupt? How do I fix it?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.