How to Stop OneDrive .url Files from Reappearing After Deletion
Question details
Users are unable to permanently delete specific .url files from their local OneDrive sync folder because the files continuously reappear shortly after deletion.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to clean up local OneDrive directories by deleting internet shortcut (.url) files.
- Observed behavior
- Deleted .url files automatically reappear in the local folder a few seconds after being deleted due to an ongoing sync loop.
Ensure your computer has an active internet connection and that the OneDrive desktop client is running and up to date.
Delete the Files via OneDrive Online
Removing the files directly from the web interface bypasses local sync glitches and forces the deletion across all connected devices.
When local deletion attempts trigger a sync loop, the OneDrive server often overrides the local command. Deleting the file directly from the source server ensures the command propagates downwards to your local PC.
Open your preferred web browser, navigate to the official OneDrive website, and sign in with your Microsoft account credentials.
Browse through your folders online to find the exact directory containing the .url files that keep reappearing.
Select the .url files by clicking the checkmark in the upper corner of the file icons, then click 'Delete' on the top navigation bar.
Allow a few moments for your local OneDrive desktop client to detect the online changes and automatically remove the files from your local drive.

Move Files Out of the OneDrive Sync Folder
If web deletion fails or is unavailable, moving the files to an unsynced local directory prevents OneDrive from continuously restoring them.
Try WPS Office for a Seamless Cloud Experience
If you frequently encounter frustrating synchronization errors with Microsoft OneDrive and Office products, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with its own reliable built-in cloud storage (WPS Cloud), ensuring your documents are saved and synced without stubborn file recovery loops.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package.
- 2. Install the Software: Run the installer and follow the quick on-screen instructions to set up the suite on your computer.
- 3. Sign In and Sync: Log in to activate your free WPS Cloud storage and begin creating or editing documents with seamless syncing.

Frequently Asked Questions
Why do deleted files keep reappearing in my OneDrive folder?
This usually happens when the local desktop client fails to communicate the deletion to the cloud servers quickly enough. The server assumes the file is simply missing locally and pushes a fresh copy back down to your computer, creating an endless sync loop.
What exactly is a .url file in OneDrive?
A .url file is an internet shortcut created by web browsers to save a specific website address. Sometimes cloud storage services struggle to sync these specific file types properly due to irregular metadata or invalid characters in the shortcut link.
Can I stop OneDrive from syncing specific folders entirely?
Yes. You can manage this by opening your OneDrive Settings from the taskbar, navigating to the Account tab, selecting 'Choose folders', and unchecking any directories you no longer wish to sync to your local machine.




