OneDrive File Issues

How to Stop OneDrive .url Files from Reappearing After Deletion

Steve KSteve K Nov 4, 2026 870 views

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.

How to Stop OneDrive .url Files from Reappearing 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.
Before you start

Ensure your computer has an active internet connection and that the OneDrive desktop client is running and up to date.

Solution 1Recommended

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.

1
Access OneDrive Web

Open your preferred web browser, navigate to the official OneDrive website, and sign in with your Microsoft account credentials.

2
Locate the Stubborn Files

Browse through your folders online to find the exact directory containing the .url files that keep reappearing.

3
Delete from the Server

Select the .url files by clicking the checkmark in the upper corner of the file icons, then click 'Delete' on the top navigation bar.

4
Wait for Local Sync

Allow a few moments for your local OneDrive desktop client to detect the online changes and automatically remove the files from your local drive.

Delete the Files via OneDrive Online
Sync Loop Broken: Deleting files directly from the web interface usually resolves local file recovery loops immediately.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free installation package.
  2. 2. Install the Software: Run the installer and follow the quick on-screen instructions to set up the suite on your computer.
  3. 3. Sign In and Sync: Log in to activate your free WPS Cloud storage and begin creating or editing documents with seamless syncing.
Built-in reliable WPS Cloud storage to prevent endless file sync loopsFully compatible with Microsoft Office formats including Word, Excel, and PowerPointLightweight application that consumes fewer system resources than competitorsFree and easy-to-use interface identical to what you are already familiar with
microsoft office alternative - wps office

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.