All I wanted to do was rename the onedrive folder in explorer. Because it just shows the organisation name.
I did find this and tried this on my own pc and it did work for me.
Basically.. Quit Onedrive. Go to c:\users\user\appdata\local\microsoft\onedrive\settings
You will see the accounts as folders. If you only have one then it is Business1
In the folder edit the GUID looking ini file and on line one find and change the "c:\users\user\OneDrive - Company" to what you want ie "c:\users\user\OneDrive - Fred"
Save the file..
Rename you onedrive folder "C:\users\user\OneDrive - Company" to the same name.
Start Onedrive again and you will see that in Explorer the OneDrive - Company now Shows OneDrive - Fred
Love to hear if this works for anyone one else out there.
Quite often we setup a master onedrive user and share off a folder for everyone else to use. So we use onedrive web access to sync the shared folder down, but of course that shows up with a different squared icon but still has the same name. So if we can change the local users one drive icon name in explorer they can easily see what folder they are looking at.
I also found that if you unlink an account and you go to delete the c:\users\user\onedrive folder you cannot delete it. The answer to that is delete the c:\users\user\appdata\local\microsoft\onedrive\settings\Business1 folder.. Once that is done you can delete the c:\users\user\onedrive folder! Somehow onedrive or microsoft still has a hold on that directory even though onedrive has been quitted.