OneDrive File Issues

How to Move OneDrive to the Root of the C: Drive

Natalie TaylorNatalie Taylor Oct 28, 2026 869 views

Question details

The user wants to move the OneDrive folder to the absolute root of the C: drive to create shorter file paths for engineering software, but encounters file-in-use errors and unwanted nested subfolders.

How to Move the OneDrive Folder to the Root of the C: Drive
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Attempting to relocate the OneDrive sync directory to the C: drive root after unlinking the account.
Observed behavior
File Explorer blocks the folder move due to an "open file" error. When a root-level subfolder is used, OneDrive still forces the creation of additional nested account folders.
Before you start

Before attempting to move your OneDrive folder, ensure that you have fully closed all background applications, including engineering software or CAD libraries, to prevent "file in use" errors during the transfer.

Solution 1Recommended

Create a Short Root-Level Folder Instead of Using the Absolute Root

Since Microsoft OneDrive does not officially support syncing directly to the absolute root of the system drive (C:\), creating a short dedicated folder (like C:\OneDrive) is the safest alternative for minimizing file paths.

OneDrive is designed to automatically append your organization or personal account name to the folder path (e.g., 'OneDrive - Company Name'). Choosing the absolute root of the C: drive is typically blocked by Windows profile permissions.

Using a short, dedicated directory at the root level provides the closest possible result to your goal while remaining a supported configuration.

1
Unlink your OneDrive account

Click the OneDrive cloud icon in your taskbar, select the gear icon, and choose 'Settings'. Go to the 'Account' tab and click 'Unlink this PC'.

2
Create a new short-path folder

Open File Explorer, navigate to 'This PC' > 'Local Disk (C:)', and create a new folder named 'OneDrive' or 'Projects'.

3
Move your existing files

Navigate to your old OneDrive folder location (usually C:\Users\YourUsername\OneDrive), select all files, and move them to the newly created folder on your C: drive.

4
Relink and choose the new location

Sign back into OneDrive. When you reach the screen that says 'Your OneDrive folder is here', click 'Change location' and select the new folder you created on the C: drive.

Create a Short Root-Level Folder Instead of Using the Absolute Root
Nested Folders: Even with a short root folder, OneDrive will still create a subfolder with your account name inside it. This is a hardcoded feature of OneDrive to prevent data conflicts.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

If you are optimizing your Windows file paths to improve your workflow, consider switching to WPS Office. It is a lightweight, free alternative to Microsoft Office that perfectly integrates with your local directories and cloud storage, avoiding the heavy system footprint of traditional office suites.

  1. 1. Download and Install WPS Office: Visit the official WPS website, download the free installer, and complete the quick, lightweight installation process.
  2. 2. Open Your Synced Documents: Launch WPS Office and navigate to your newly relocated OneDrive folder on the C: drive to open your existing Word, Excel, or PowerPoint files.
  3. 3. Save Seamlessly: Edit your documents and save them directly back to your custom OneDrive directory; WPS maintains perfect format compatibility.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation that frees up valuable space on your C: driveEasily save and access documents directly from your custom OneDrive folder pathsFamiliar user interface ensuring a seamless migration without a learning curve
QA img-9

Frequently Asked Questions

Can I force OneDrive to sync directly to the C:\ root without subfolders?

No, Microsoft OneDrive does not officially support setting the absolute root of the system drive (C:\) as the sync destination. It will always automatically append a subfolder with your account name (e.g., 'OneDrive - Personal' or 'OneDrive - Company') to separate cloud data from system files.

Why do I get a 'file is open' error when moving my unlinked OneDrive folder?

This error occurs when background applications, cloud syncing processes, or even the File Explorer Preview Pane are still accessing the files. You must completely exit OneDrive from the system tray and close all programs using those files before attempting to move the folder.

What is the best way to shorten file paths for engineering software using OneDrive?

The most reliable method is to create a short, top-level directory like C:\Projects or C:\CAD, and set that as your OneDrive location. While OneDrive will still add an account-specific subfolder, this significantly reduces the overall character count of your file paths compared to the default user profile location.