logo
search
OneDrive File Issues

How to Delete an Unsynchronized OneDrive Folder Completely

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user needs to permanently remove a former employer's disconnected OneDrive folder that is consuming roughly 25 GB of local storage and resisting deletion.

Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Attempting to reclaim hard drive space by deleting a leftover corporate OneDrive folder from a personal laptop after leaving a company.
Observed behavior
The 25 GB unsynchronized folder remains on the local drive and prompts access or permission errors when attempting to delete it, even when using an administrator account.
Before you start

Verify whether the folder actually contains 25 GB of physical files on your local drive or if it is just a ghosted navigation entry in File Explorer, and ensure you have administrative privileges before proceeding.

Solution 1Recommended

Take Ownership and Grant Full Control Permissions

This is the most reliable approach when dealing with physical folders that throw 'Access Denied' errors despite having an admin account.

Corporate OneDrive folders are often created with strict security permissions tied to the employer's domain. To delete the files locally, you must force Windows to transfer ownership of the folder to your personal local account.

1
Open Folder Properties

Right-click the stubborn OneDrive folder in File Explorer and select 'Properties' from the context menu.

2
Access Advanced Security Settings

Navigate to the 'Security' tab and click the 'Advanced' button near the bottom.

3
Change the Folder Owner

Next to the 'Owner' field at the top, click 'Change'. Enter your current Windows username, click 'Check Names', and then click 'OK'.

4
Apply Ownership to All Contents

Check the box that says 'Replace owner on subcontainers and objects', then click 'Apply' and 'OK'.

5
Grant Full Control and Delete

Back in the Security tab, click 'Edit'. Select your user account, check the 'Full control' box under Allow, click 'Apply', and then delete the folder normally.

Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

If you are tired of dealing with complex cloud synchronization issues and stubborn background processes, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly experience for all your document needs without the rigid directory constraints.

  1. 1. Download the Installer: Visit the official WPS website and download the free WPS Office installation package.
  2. 2. Install and Customize: Run the installer and customize your preferences, choosing exactly where you want your files saved locally.
  3. 3. Edit Your Documents: Open your existing Microsoft Office files seamlessly without worrying about forced enterprise cloud syncing.
Fully compatible with Microsoft Office formats including Word, Excel, and PowerPointLightweight installation that saves local storage space on your hard driveBuilt-in flexible cloud storage options with easy-to-manage local sync settingsFree to use with a familiar, intuitive user interface for immediate productivity
microsoft office alternative - wps office

Frequently Asked Questions

Why does an unsynchronized OneDrive folder still take up 25 GB of local space?

Even if a folder is disconnected or no longer syncing with the cloud, the physical files may have been downloaded to your local drive previously via the 'Always keep on this device' setting, consuming disk space until manually deleted.

Can I delete a stubborn OneDrive folder by booting in Safe Mode?

Yes. Booting Windows in Safe Mode prevents background processes (like leftover OneDrive sync clients or indexing services) from locking the files, allowing you to delete the folder without encountering 'file in use' errors.

What does the 'Access Denied' error mean when deleting old corporate folders?

It typically means your current local user account does not have file ownership or adequate security permissions for the directory, which was originally created and secured by an employer's managed Microsoft account.

Will deleting this local folder delete files from the employer's cloud server?

If the folder is entirely unsynchronized and your account is completely signed out or disconnected from the employer's Microsoft 365 environment, deleting the local files will not affect the files stored remotely on their cloud servers.