How to Rename a OneDrive for Business Folder
Question details
The user needs to rename the default OneDrive for Business folder to shorten the directory name and prevent file path length limitations on Windows.

- Product
- Microsoft OneDrive for Business
- Device & OS
- not provided
- Scenario
- Managing local file synchronization and attempting to resolve file path length errors caused by a long default organization folder name.
- Observed behavior
- Individual users find that they cannot manually rename the local OneDrive for Business folder, as its name is dictated by the Microsoft 365 organization's tenant name.
Verify whether you have global administrator privileges for your Microsoft 365 environment, as standard users cannot modify the organization-level tenant name required to rename the OneDrive folder.
Change the Organization Tenant Name (Global Admin Required)
The most effective way to change the local OneDrive for Business folder name is by updating the organization's Microsoft 365 tenant name.
The default local folder name for OneDrive for Business is automatically generated based on your organization's Microsoft 365 tenant name (e.g., 'OneDrive - Your Company Name'). Individual users cannot change this locally. A global administrator must update the organization name to shorten the folder path for all users.
Log in to the Microsoft 365 Admin Center using credentials that have global administrator permissions.
In the left-hand navigation menu, click on 'Settings' and then select 'Org settings'.
Click on the 'Organization profile' tab, then select 'Organization information'.
Edit the organization's name to a shorter, more concise version, and click 'Save' to apply the changes across the tenant.

Shorten Internal Folder Hierarchies
If you are a standard user and cannot change the organization name, reducing path lengths within the folder is the best alternative to prevent errors.
Enhance Your Document Management with WPS Office
While changing OneDrive directory names requires administrator privileges, you have total control over your daily productivity software. WPS Office is a free, lightweight alternative that handles your documents seamlessly without the complexities of enterprise IT restrictions.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install and Launch: Follow the on-screen instructions to install the software, then launch WPS Office.
- 3. Open Your Files Seamlessly: Directly open your existing Microsoft Office documents saved in your cloud storage with perfect formatting retention.

Frequently Asked Questions
Why is my OneDrive for Business folder name so long?
By default, OneDrive for Business names the local sync folder using the format 'OneDrive - [Your Organization Name]'. If your Microsoft 365 administrator set a very long organizational name, it directly affects the length of your local folder path.
Can I rename the OneDrive folder using the Windows Registry?
While there are workarounds involving the Windows Registry, modifying these settings is highly discouraged. It often breaks synchronization between your PC and the cloud, resulting in file duplication, sync errors, or permanent data loss.
How long does it take for an organization name change to appear on my computer?
After a global administrator updates the organization name in the Microsoft 365 Admin Center, it can take up to 14 days for the new folder name to automatically reflect on users' local desktop clients.




