9

After installing Office 365, I have a new special folder in Explorer called "OneDrive - Company Name LLC".

I found a registry key at Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace whose value matches that text (and it's the only match in the registry), and I confirmed previously that deleting it will remove the entry from Explorer, so I assumed I could rename it here. However, it does not seem to work. I changed the value and even rebooted, but the display value did not change.

How can I rename my personal OneDrive folder?


Background/reasoning:

I have synced a Sharepoint document library as a public share of sorts. It shows up as "Company Name LLC". My personal OneDrive shows up as "OneDrive - Company Name LLC". This has already led to confusion with some employees. They thought they were putting files in a public space but were not. Ideally it would be named something like "OneDrive - Personal Folders".

  • The name "OneDrive - Personal" is generally used for personal OneDrive folder with Microsoft account (hotmail.com, Outlook.com etc.). If your "personal" OneDrive here is still meaning for OneDrive for Business folder, it cannot be renamed to OneDrive - Personal folder. It uses Organization name by default. – WinniL May 21 '18 at 9:34
3

You can change this in the registry through the following:

Find the folder name of the OneDrive synced folder in

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

Now navigate to HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} and change the (Default) string entry with the name of your choice.

This change would immediately be visible.

| improve this answer | |
  • Doesn't work on my side – Marquinho Peli Feb 10 at 3:36
  • 4
    This worked fro me, but the answer is not completely clear. You need to navigate to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace** to find the key(s) for your folders. Then you need to navigate to **HKCR\CLSID\{key-values} and then change the default text here. – JoeFletch Mar 8 at 21:25
  • It's not working. Just to be on the same page, I read Bashan's, JW0914's, and JoeFletch comments. Seems like JoeFletch is closer, but it still didn't work and the name remained the same as it was regardless the rename in the registry keys – Oz Edri Jun 11 at 15:23
1

This is a hacky, but the only working solution:

  1. First, close OneDrive: Click the icon in the taskbar, select More... then Close OneDrive
  2. Next open Registry Explorer: Press Win + R, then type regedit and hit enter.
  3. Press Ctrl + F to search for all occurrences of OneDrive - <Company> and replace these with the new desired name.
  4. For all files in C:\Users\<user>\AppData\Local\Microsoft\OneDrive (i.e., enter %AppData%\..\Local\Microsoft\OneDrive in the address bar) and subfolders, replace all occurrences of OneDrive - <Company> with the new desired name.
  5. Rename your original OneDrive - <Company> folder to the new desired name.
  6. Reopen OneDrive.
  7. OneDrive might realize that the folder name has been change and will ask to set up the OneDrive folder again. Do not do this or else your work will be reverted!

Consider voting for the Rename-OneDrive-Root-Folder feature on UserVoice:

| improve this answer | |
  • That was almost enough. Another thing is to change the path in the libraryScope parameter in C:\Users\oze\AppData\Local\Microsoft\OneDrive\settings\Business1\<ID>.ini where <ID> is the ID – Oz Edri Jun 11 at 16:22
0

How about this:

mklink /J your_desired_name "OneDrive - Company Name LLC"
| improve this answer | |
  • Exactly what is the expected outcome of this? It created a junction, but there is no new entry in Explorer. – Devil's Advocate Dec 23 '19 at 15:06
  • You may need to open CMD as administrator. And check if the link was created in the path where the CMD was tuned. – uriel Dec 24 '19 at 18:36
  • Perhaps a workaround, but does not answer the question – ak112358 Apr 27 at 15:26
  • Looks like it works blog.jongallant.com/2020/01/… – Tung May 29 at 16:46
0

There are some good answers here, and here is a thorough one that includes the whole process and procedure in addition to what is missing.


Process

  • Close OneDrive (step 1 below)
  • Rename OneDrive folder (step 2 below)
  • (optional) Move the OneDrive folder to the desired location (step 3 below)
  • Modify the relevant registry keys (steps 4-5 below)
  • Modify the configuration file (steps 6-8 below)


Procedure

  1. Close OneDrive.
  2. Rename the OneDrive folder.
  3. (optional) Move the OneDrive folder to the desired location.
  4. Open the registry (start menu >> search "regedit")
  5. Modify the OneDrive folder or path in the following locations: (or follow @xoxox advice and search for "OneDrive - (company name)"

    In HKEY_CURRENT_USER (HKCU) (4 locations)

    HKCU\Software\Microsoft\OneDrive\Accounts\Business1\UserFolder
    HKCU\Software\Microsoft\OneDrive\Accounts\Business1\ScopeIdToMountPointPathCache\(ID)
    HKCU\Software\Microsoft\OneDrive\Accounts\Business1\Tenants\(name)\(path)
    HKCU\Software\SyncEngines\Providers\OneDrive\(ID)\MountPoint

    In HKEY_LOCAL_MACHINE (HKLM) (2 locations)

    HKLM\SOFTWARE\Microsoft\Security Center\Provider\CBP\(ID)\NAMESPACE
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager\OneDrive!(ID)\UserSyncRoots\(SID)

  6. Open the following location: %UserProfile%\AppData\Local\Microsoft\OneDrive\settings\Business1

  7. Locate the (ID).ini file (usually it's the 2nd file) and edit it (right click >> edit)
  8. Locate the OneDrive path in the first line (in the value of the libraryScope parameter) and modify it to be as the new path. Then save the file.
  9. Open OneDrive.


Notes

  • In step 4 above, we're modifying either the OneDrive folder name or its whole path, depends on the case - where you see only OneDrive - (company name) - it's only the OneDrive name, and where you see the whole path (C:\Users\(username)\OneDrive) - it's the whole path.
  • In step 4 above, some parameters are quoted (e.g. (name), (ID), (path)) - that means that these parameters are interchangeable, and there should be some value that is probably unique to your case.


Reference
Changing your onedrive name in file explorer navigation
How can I change default name of OneDrive for Business folder?


OneDrive UserVote (try to vote and maybe Microsoft will consider to change it in the future)
Allow OneDrive for Business folder to be renamed
Allow renaming root folder (OneDrive folder)
Make it possible to change the tenant name in Office365

| improve this answer | |
-1

How can I rename my personal OneDrive folder?

The Company Name is pulled of from your Office 365 account company you signed up for. If you wanted it to be named COMPANY then change your company name in Office 365.

See Change your organization's address, technical contact, and more

Source [SOLVED] How can I change default name of OneDrive for Business folder? - Spiceworks

| improve this answer | |
  • Well that sucks. See my update for why. – Devil's Advocate May 16 '18 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.