OneDrive Business Folder Uses the Wrong Company Name
🔍 WiseChecker

OneDrive Business Folder Uses the Wrong Company Name

When you sign into OneDrive for Business, the default sync folder name on your Windows PC sometimes shows a different company name than expected. This can happen after a tenant rename, an organizational rebranding, or a misconfigured Microsoft 365 domain. The folder name mismatch causes confusion when sharing file paths, collaborating with colleagues, or mapping network drives. This article explains why OneDrive uses an outdated company name and provides step-by-step methods to correct the folder name without disrupting your existing file structure.

Key Takeaways: Correcting the OneDrive Business Folder Name

  • OneDrive Settings > Account > Unlink this PC: Forces OneDrive to re-read the tenant display name and create a new folder with the correct company name.
  • Microsoft 365 admin center > Settings > Org settings > Organization profile: Where the tenant display name is set; changing it here updates the folder name after unlinking and re-linking.
  • Registry key HKCU\Software\Microsoft\OneDrive\Accounts\Business1\DisplayName: Directly overwrites the displayed folder name without unlinking, but requires a restart of OneDrive.

ADVERTISEMENT

Why OneDrive Shows the Wrong Company Name in the Folder Path

OneDrive for Business creates the local sync folder name based on the tenant display name stored in your Microsoft 365 organization profile. When you first set up OneDrive, it reads this name and writes it into the folder path, typically under C:\Users\YourName\CompanyName. If your organization later changes its display name — for example, after a merger or rebranding — OneDrive does not automatically update the local folder. The old name remains in the folder path, in File Explorer, and in any shortcuts or file references that use the full path.

The root cause is that OneDrive caches the tenant display name at the time of initial setup. It does not poll the Microsoft 365 directory periodically for changes to the organization name. Even if you sign out and sign back in, OneDrive may reuse the cached folder name unless you explicitly unlink the account. Additionally, if you have multiple OneDrive accounts (personal and business) on the same PC, the folder names are distinguished by the tenant name, so a wrong name can create confusion between accounts.

A less common cause is a misconfigured default domain. If your Microsoft 365 tenant uses a custom domain like contoso.com but the OneDrive folder shows the .onmicrosoft.com initial domain name, the folder name will reflect the initial tenant name rather than your branded domain. This happens when the tenant display name was never updated from the default value assigned during tenant creation.

Steps to Update the OneDrive Folder Name to the Correct Company Name

There are two reliable methods to fix the wrong company name in your OneDrive folder. Method 1 is the recommended approach because it fully resets the folder name without leaving orphaned registry values. Method 2 is a faster workaround for advanced users who want to avoid re-syncing files.

Method 1: Unlink and Relink Your OneDrive Account

  1. Verify the current tenant display name in Microsoft 365 admin center
    Open a browser, go to https://admin.microsoft.com, and sign in as a global admin. Navigate to Settings > Org settings > Organization profile. Under Name, you will see the display name that OneDrive uses for the folder. If this name is wrong, edit it to the correct company name and click Save. Wait 15 minutes for the change to propagate before proceeding.
  2. Unlink OneDrive from your PC
    Right-click the OneDrive cloud icon in the system tray and select Settings. Go to the Account tab and click Unlink this PC. Confirm the prompt. This does not delete your files from the cloud, but it stops syncing on this computer.
  3. Rename or delete the old OneDrive folder
    Open File Explorer and navigate to C:\Users\YourName. Locate the folder with the old company name. Rename it to something like OneDrive – OldCompanyName Back up or move it to another location. Do not delete it immediately — keep it until you confirm all files have synced to the new folder.
  4. Set up OneDrive again
    Open OneDrive from the Start menu. Sign in with your work or school account. OneDrive will detect that the old folder is missing and prompt you to choose a new location. Accept the default path, which will now use the corrected company name from the Microsoft 365 admin center. Click Next and let OneDrive sync your files.
  5. Migrate any missing files from the old folder
    After the initial sync completes, compare the contents of the new OneDrive folder with the old backup folder. Copy any files that did not sync — typically files you created locally that were not uploaded to the cloud. Once you confirm everything is present in the new folder, you can delete the old backup folder.

Method 2: Edit the Registry Display Name

This method changes only the name that appears in File Explorer without moving or re-syncing files. Use it only if you are comfortable editing the Windows Registry.

  1. Open Registry Editor
    Press Windows + R, type regedit, and press Enter. Click Yes if prompted by User Account Control.
  2. Navigate to the OneDrive account key
    Go to HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1. If you have multiple business accounts, look for subkeys named Business2, Business3, and so on. Check the ServiceName value in each to identify the correct account.
  3. Modify the DisplayName value
    Double-click DisplayName in the right pane. Enter the correct company name exactly as you want it to appear in the folder path. Click OK.
  4. Restart OneDrive
    Right-click the OneDrive icon in the system tray and select Quit OneDrive. Open OneDrive from the Start menu. The folder name in File Explorer will now show the corrected company name. Note that this does not rename the actual folder on disk — only the display name shown in Explorer.

ADVERTISEMENT

If OneDrive Still Uses the Wrong Name After the Fix

OneDrive folder name reverts after a reboot

If you used Method 2 and the folder name goes back to the old company name after restarting Windows, the registry change was overwritten by OneDrive. This can happen if OneDrive detects a mismatch between the registry DisplayName and the tenant display name returned from the server. The permanent solution is to use Method 1 — unlink and relink your account.

Multiple OneDrive accounts show the same wrong name

If you have more than one business OneDrive account on the same PC, each account stores its folder under a different tenant name. If both accounts show the same wrong name, the tenant display name in Microsoft 365 admin center is likely set to a generic value like “Microsoft” or “My Organization.” Edit the display name in the admin center as described in Method 1, step 1, then unlink and relink each account individually.

OneDrive folder name contains the .onmicrosoft.com domain

If your folder is named something like “Contoso.onmicrosoft.com” instead of “Contoso,” the tenant display name was never customized. Go to the Microsoft 365 admin center, update the organization name to your preferred brand name, save, wait 30 minutes, then unlink and relink OneDrive.

OneDrive Folder Name Sources: Tenant Display Name vs Registry vs Local Folder

Item Tenant Display Name (Admin Center) Registry DisplayName Actual Folder Name on Disk
Where it is stored Microsoft 365 directory HKCU\Software\Microsoft\OneDrive\Accounts\Business1 File system at C:\Users\YourName\
How it is set Set by global admin in admin center Written by OneDrive during initial setup Copied from tenant display name at setup
Change persists after reboot Yes No — OneDrive may overwrite it Yes — folder stays until renamed
Affects file paths in shared links No — cloud path is based on tenant ID No Yes — local paths used by desktop apps

To permanently fix the folder name, change the tenant display name in the admin center and unlink OneDrive. The registry edit is a temporary cosmetic workaround that does not rename the actual folder.

After completing the steps in this article, your OneDrive folder will display the correct company name in File Explorer and in any file paths shared with colleagues. To verify the change, open the OneDrive folder properties and check the Location tab. For future tenant name changes, plan to unlink and relink OneDrive on all affected computers. As an advanced tip, you can automate the unlink-and-relink process using the OneDrive Setup.exe command with the /configure switch to push the correct folder name to multiple machines without manual intervention.

ADVERTISEMENT