Fix error cannot delete OneDrive files or folders

OneDrive is popular among Windows 10 users because of its ability to connect multiple devices and keep files in sync between them. However, it can sometimes crash and prevent you from deleting files or folders.

If this happens to you, don't panic. Instead, explore all the solutions you can use to avoid filling up your cloud storage with outdated or unnecessary files and folders.

1. First, make sure the file is closed.

You may not be able to delete the file because a program is currently using it. Make sure you close the file on your device and ask other users on your network to close it. Also, check to see if you're sharing the file with others and stop sharing it if you need to.

2. Check file and folder permissions

If the folder is shared with you by someone else, you may not have the necessary permissions to delete it, if someone changes the link permissions in OneDrive. You can ask an admin to grant permissions or request that the file be deleted for you.

3. Try deleting the file from another device

If you're the administrator of the file or have the necessary permissions but still can't delete the file, you can try deleting it on another device. Since all OneDrive files and folders are synced everywhere, you may be able to delete a file from your phone or another laptop.

4. Rename or move files or folders

This is a weird trick, but renaming a file can sometimes allow you to delete a file that can't be deleted. Select the file and press F2 or click Rename on the toolbar to change the file name. Then try to delete it.

If that doesn't work, you can also try moving the file, which works for some people. Cut out the file you can't delete, paste it outside the OneDrive folder, then try deleting it again.

5. Pause OneDrive sync

If OneDrive is currently syncing a folder, it will prevent you from deleting the file while it's running. However, you can temporarily stop syncing and delete the file.

Follow these steps to stop OneDrive syncing and delete the folder:

B1: Open OneDrive from the taskbar.

B2: Click on the Help & Settings icon , from the top right corner

B3: Click Pause syncing and select the time period you want to pause.

Fix error cannot delete OneDrive files or folders
Pause OneDrive sync

Wait a moment after pausing OneDrive sync and try to delete the file. If you want to resume syncing after deleting the file, open OneDrive and click the Pause button. Or go to Help & Settings > Unpause sync .

6. Turn off Files on Demand

OneDrive's Files on Demand feature lets you keep your files or folders in the cloud and access them from your device without downloading them first. This is a great option if you want to free up space on your HDD or SSD : however, it can prevent you from deleting files. Here's how to turn off Files on Demand:

B1: Right-click the OneDrive icon from the taskbar.

B2: Click Help & Settings > Settings .

B3: Select the Settings tab.

B4: Uncheck Save space and download files as you use them . If the option is already disabled, turn it on and off again.

B5: Click OK to save the changes.

Install OneDrive files

Once you have successfully deleted the file, go through the steps again and turn Files on Demand back on.

7. Reset OneDrive

If you still can’t delete files from your OneDrive, you may want to reset it. Fortunately, resetting OneDrive won’t delete any of your folders or files. However, it will break all current sync connections, so you’ll have to re-add the folders you want to sync.

Here's how to reset OneDrive:

Step 1: Open the OneDrive app.

B2: Click on the three dot menu from the top right corner.

B3: Select Settings.

B4: Click Reset now from the bottom of the menu.

Fix error cannot delete OneDrive files or folders
OneDrive in Windows 10

If Windows displays the Windows cannot find error message, launch Command Prompt with admin rights and run the command C:\Program Files\Microsoft OneDrive\onedrive.exe /reset.

Delete file permanently

If you're having trouble deleting a particular file from OneDrive, you want to make sure it's gone for good. Once you've successfully deleted your OneDrive files or folders, there's an additional step you need to take if you want to delete them permanently. Launch the OneDrive app and from the left menu, open the Recycle Bin.

There you will see your deleted files. You can click Empty recycle bin and delete all files or select them individually before deleting.

Managing your OneDrive files can be difficult, especially if you have a lot of files and folders that are shared with others.

If you have the proper permissions and still can't delete the file, you can try one of the unusual fixes and rename the file or cut and paste it outside of OneDrive. If that doesn't fix your problem, you can reset the app or reconfigure its settings.

If you use OneDrive regularly, it's worth taking some time and learning more about its features, so you can get the most out of your account.

Leave a Comment

Summary of the best free online data storage websites today

Summary of the best free online data storage websites today

Nowadays, many users and businesses tend to reduce the need to depend on expensive hardware and infrastructure by putting files and applications in the cloud.

Why OneDrive Cant Replace Google Photos on Your Phone

Why OneDrive Cant Replace Google Photos on Your Phone

Some people have considered switching to Microsoft's OneDrive, because it offers great storage for Microsoft 365 subscribers and integrates with Windows. But is it a wise choice?

5 Best Automatic Photo Backup Apps for Android

5 Best Automatic Photo Backup Apps for Android

Here are the 5 best automatic photo backup apps for Android that you can refer to and use.

The easiest way to fix data sync errors with OneDrive on Windows 10

The easiest way to fix data sync errors with OneDrive on Windows 10

Microsoft's OneDrive cloud storage service is built into Windows 10. Thanks to Office integration and free use, OneDrive has become the favorite backup option for many people.

Google Photos and OneDrive: Which is the best photo backup tool?

Google Photos and OneDrive: Which is the best photo backup tool?

This article will evaluate the advantages and disadvantages of Google Photos and OneDrive so that you can choose the best photo backup tool for yourself.

How to delete synced settings on Windows 10

How to delete synced settings on Windows 10

The following article will show you how to turn off data synchronization and delete data that is synchronized on devices that are signed in to a Microsoft account.

How to set up a OneDrive account and use OneDrive to save data

How to set up a OneDrive account and use OneDrive to save data

OneDrive - Microsoft's online storage service is becoming one of the top choices of users when they want to back up their data on the Internet.

How to change the OneDrive password

How to change the OneDrive password

Changing your OneDrive password will help you keep your account safe whenever you feel unsafe. Changing the OneDrive password is also quite simple, not as complicated as many people think.

How to find files saved on many cloud services

How to find files saved on many cloud services

These online tools will help you find files you don't remember on many of the most popular storage services like Google Drive, Dropbox, OneDrive.

How to use OneDrive storage on iPhone?

How to use OneDrive storage on iPhone?

OneDrive is a cloud storage service similar to the Dropbox service. Allows users to download, sync and manage multimedia files, documents easily.

Troubleshooting Microsoft Teams Proxy Error Settings Fix

Troubleshooting Microsoft Teams Proxy Error Settings Fix

Struggling with Microsoft Teams Proxy Error? Discover proven Troubleshooting Microsoft Teams "Proxy Error" Settings Fix steps. Clear cache, adjust proxy settings, and get back to seamless calls in minutes with our expert guide.

Solving Microsoft Teams OneDrive Error File Sync

Solving Microsoft Teams OneDrive Error File Sync

Tired of Microsoft Teams OneDrive Error blocking file sync? Follow our step-by-step guide to solve Microsoft Teams "OneDrive Error" File Sync issues quickly. Proven fixes for smooth collaboration in Teams channels. Get your files syncing error-free today!

How to Fix Microsoft Teams Workflows and Power Automate Errors

How to Fix Microsoft Teams Workflows and Power Automate Errors

Tired of Microsoft Teams workflows and Power Automate errors halting your productivity? Get step-by-step solutions to common issues like authentication failures, timeouts, and flow errors. Fix them in minutes and automate effortlessly!

Troubleshooting Microsoft Teams Download Error on Macbook

Troubleshooting Microsoft Teams Download Error on Macbook

Facing Microsoft Teams "Download Error" on MacBook? Discover proven troubleshooting steps to resolve download failures quickly, from cache clears to reinstalls, and get back to smooth teamwork.

Troubleshooting Microsoft Teams Where is Teams Folder Error

Troubleshooting Microsoft Teams Where is Teams Folder Error

Tired of the frustrating Microsoft Teams "Where is Teams" Folder Error? Discover proven, step-by-step troubleshooting fixes to resolve it quickly and restore smooth teamwork. Latest methods included!

How to Fix Microsoft Teams JavaScript Error on Desktop App

How to Fix Microsoft Teams JavaScript Error on Desktop App

Frustrated by Microsoft Teams JavaScript Error on desktop app? Discover proven steps to fix it fast: clear cache, update, reset, and reinstall. Get back to seamless collaboration in minutes!

How to Fix Microsoft Teams Guest Login Error

How to Fix Microsoft Teams Guest Login Error

Struggling with Microsoft Teams "Guest Login" Error? Discover step-by-step fixes, from quick cache clears to admin settings, to resolve guest access issues fast and collaborate seamlessly. Updated with the latest tips!

How to Fix Microsoft Teams For PC Download Error

How to Fix Microsoft Teams For PC Download Error

Tired of the Microsoft Teams "For PC" download error blocking your work? Follow our proven, step-by-step guide to resolve it quickly and get Teams running smoothly on your PC today.

Solving Microsoft Teams Windows 7 Login Error

Solving Microsoft Teams Windows 7 Login Error

Struggling with Microsoft Teams "Windows 7" login error? Discover step-by-step fixes for this frustrating issue on Windows 10/11. Clear cache, edit registry, and more – get back to seamless collaboration today!

How to Fix Microsoft Teams Error Code 0x80070005 (2026 Guide)

How to Fix Microsoft Teams Error Code 0x80070005 (2026 Guide)

Tired of Microsoft Teams Error Code 0x80070005 blocking your meetings? Follow this 2026 guide with step-by-step fixes for access denied issues. Get Teams running smoothly in minutes!

How to Install the Microsoft Teams Add-in for Outlook 2026

How to Install the Microsoft Teams Add-in for Outlook 2026

Master the installation of the Microsoft Teams Add-in for Outlook 2026 effortlessly. Boost your productivity with seamless scheduling and meetings. Follow our proven, up-to-date steps for instant success!

How to Fix Microsoft Teams License Error 2026

How to Fix Microsoft Teams License Error 2026

Struggling with Microsoft Teams "License Error" 2026? Discover proven, step-by-step solutions to resolve it fast. Clear cache, check licenses, and get back to seamless collaboration—no IT help needed!

The Best Exercises for 50+

The Best Exercises for 50+

Whether youre in your 50s, 60s, or even 70s, its not too late to prioritize your health and put yourself first. Here are the best exercises for people 50 and older.

Solving Microsoft Teams Error Caa50024 on Windows 10/11

Solving Microsoft Teams Error Caa50024 on Windows 10/11

Struggling with Microsoft Teams Error Caa50024 on Windows 10/11? Follow our step-by-step fixes to resolve crashes and launch issues quickly. Latest proven solutions for seamless teamwork.

How to Fix Microsoft Teams Login Error AADSTS50011

How to Fix Microsoft Teams Login Error AADSTS50011

Stuck with Microsoft Teams login error AADSTS50011? Discover proven, step-by-step fixes to resolve the reply URL mismatch issue and log in seamlessly. No tech skills needed!