OneDrive File Issues

Fix: Cannot Delete an Empty OneDrive Folder with a Hidden Item

Adam DavisAdam Davis Oct 29, 2026 868 views

Question details

The user is unable to delete a OneDrive folder that appears to be empty but is restricted due to hidden files, synchronization metadata, or an incomplete sync operation.

Fix: Cannot Delete an Empty OneDrive Folder with a Hidden Item
Product
OneDrive
Device & OS
Windows
Scenario
Attempting to delete a seemingly empty folder stored in a local OneDrive directory.
Observed behavior
The system prevents the deletion of the folder, indicating that it is not completely empty or is currently locked by a synchronization process.
Before you start

Ensure your computer is connected to a stable internet network so OneDrive can properly communicate with the cloud servers and update folder synchronization statuses.

Solution 1Recommended

Deselect the Folder in OneDrive Settings and Delete Online

This is the most effective method for forcing OneDrive to release its hold on the folder by stopping local synchronization.

By deselecting the folder in your account settings, OneDrive removes it from your local File Explorer. You can then safely delete it from the web interface without local file system conflicts.

1
Open OneDrive Settings

Click the OneDrive cloud icon located in your Windows taskbar notification area, click the gear (Help & Settings) icon, and select 'Settings'.

2
Access Folder Options

Navigate to the 'Account' tab in the settings menu and click on the 'Choose folders' button.

3
Deselect the Affected Folder

Locate the problematic folder in the list, uncheck the box next to it, and click 'OK'. The folder will instantly disappear from your local File Explorer.

4
Delete from OneDrive Online

Open your web browser, log in to the OneDrive website, locate the folder (which should now display as having zero items), and delete it. Empty the online Recycle Bin if necessary.

Deselect the Folder in OneDrive Settings and Delete Online
Sync Updated: Once deleted online, the folder will permanently be removed from your OneDrive account and will not reappear on your PC.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

While troubleshooting OneDrive synchronization issues, consider upgrading your productivity suite to WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office, complete with its own robust WPS Cloud storage solution to keep your files safe, organized, and accessible without frustrating sync locks.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Includes 1GB of free cloud storage via WPS Cloud to seamlessly backup and sync your documents.Lightweight software architecture that runs smoothly on Windows, Mac, Linux, iOS, and Android.Free to use with a familiar, easy-to-navigate tabbed interface for all your office needs.
QA img-9

Frequently Asked Questions

Why does a OneDrive folder say it is not empty when no files are visible?

The folder likely contains hidden system files, temporary synchronization files, or metadata that are not visible by default in Windows File Explorer. Enabling 'Hidden items' in the View tab can reveal these files.

What happens when I deselect a folder in OneDrive settings?

Deselecting a folder stops it from synchronizing to your local computer and removes it from File Explorer to free up space. However, the folder and its contents remain safe in your online OneDrive cloud storage until you manually delete them via the web interface.

Can a paused OneDrive sync prevent folder deletion?

Yes. If OneDrive synchronization is paused, stuck, or actively processing changes, the Windows file system locks the folder to prevent potential data loss or corruption. You must resume and complete the sync process before the system allows you to delete the folder.