How to Set the Default OneDrive Folder Location for All Users
Question details
IT administrators need to centrally change or set the local storage location where OneDrive synchronizes files for all users without having to configure each computer individually.
- Product
- Microsoft OneDrive
- Device & OS
- Windows 10 and later
- Scenario
- Organizations migrating to SharePoint or standardizing local storage environments need to enforce a specific local folder path for synced files across the entire network.
- Observed behavior
- By default, setting up the OneDrive sync folder location requires manual configuration during the initial user sign-in on every machine, which is inefficient for large deployments.
Ensure you have administrative privileges to manage Group Policy Objects (GPOs) on your Domain Controller or access to the Microsoft Intune admin center for your organization.
Configure the Location Centrally via Group Policy (GPO)
Use Group Policy Management to automatically apply the desired local OneDrive folder path to all domain-joined Windows computers.
This method is ideal for organizations managing devices locally via Active Directory. It prevents users from manually choosing a sync location and enforces the standardized path you define.
On your domain controller, open the Group Policy Management Console. Right-click your domain or organizational unit (OU) and select 'Create a GPO in this domain, and Link it here', or edit an existing GPO.
In the Group Policy Management Editor, navigate to Computer Configuration > Policies > Administrative Templates > OneDrive.
Locate and double-click the policy named 'Set the default location for the OneDrive folder'. Select the 'Enabled' radio button.
Under the Options section, enter your organization's Microsoft 365 Tenant ID in the Value name field, and input the desired local folder path in the Value field. Click Apply, then OK.
Set the Default Location using Microsoft Intune
Deploy a configuration profile via Intune to enforce the default OneDrive sync location on modern, cloud-managed Windows 10 and later devices.
Synchronize SharePoint Team Site Libraries (Optional)
If you are moving to SharePoint, you can also push a policy that automatically syncs specific libraries to the default location.
Manage Organization Documents Effortlessly with WPS Office
While you centralize and streamline your organization's IT policies with OneDrive, consider optimizing your software deployments with WPS Office. As a free, lightweight, and incredibly powerful alternative to Microsoft Office, WPS allows your entire team to open, edit, and collaborate on office documents natively within your synced OneDrive folders without hefty licensing fees.
- 1. Download the Installer: Visit the official WPS Office website to download the lightweight enterprise-friendly setup package.
- 2. Deploy to Managed Devices: Distribute the installation across your users' devices. WPS Office installs rapidly and uses minimal system resources.
- 3. Open Files from OneDrive: Launch WPS Office and directly open or save documents to the centralized OneDrive folder path you configured via Intune or GPO.

Frequently Asked Questions
Can I enforce the local OneDrive folder location centrally without logging into each computer?
Yes. By utilizing Microsoft Intune or Group Policy (GPO) to enable the 'Set the default location for the OneDrive folder' policy, the local directory path is automatically enforced on user devices over the network without requiring any manual configuration or individual sign-ins.
Does the 'Configure team site libraries to sync automatically' policy set the local folder path?
No. The auto-sync policy simply dictates which SharePoint libraries are synchronized in the background automatically. It does not replace the 'Set the default location for the OneDrive folder' policy, which is still required to define exactly where on the local disk those synced files are stored.
Which Windows versions support changing the OneDrive location via Microsoft Intune?
To configure Administrative Templates like the OneDrive folder location policy via Microsoft Intune, user devices must be running Windows 10 or a later operating system.




