Hi @Martin A Johansson ,
All OneDrive for Business look like OneDrive – Company name. So, if you want to rename your OneDrive for business folder, you need to change the company name in Microsoft 365 Admin Center.
If you are willing, you may try following steps:
1.As Microsoft 365 admin, firstly go to change your organization name via Microsoft 365 admin center > Settings > Org settings > Organization profile > Organization information > in the Name box, modify your organization name and click Save.
2.Go to C:\users<user name>, check if the folder with unwanted OneDrive account exists, if so, delete it.
3.Then go to the Windows device, unlink OneDrive account first, clicking OneDrive icon from notification area>click Settings > Account >click "Unlink this PC" > unlink account.
4.Open Registry Editor and find the following place:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
5.Find registry with the unwanted OneDrive folder name in Data column, delete the registry by right click on it.
Note: please first backup the registry before making any changes. You can right click on it > Export to save the registry in another location.
6.Delete the OneAuth and Identity Cache folders in the below location
- %localappdata%/Microsoft/OneAuth
- %localappdata%/Microsoft/IdentityCache
7.Sign in OneDrive to set up your account again, then check the outcome.
Here are my test results:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.