Disable ‘Deleted files are removed everywhere’ message in OneDrive

In this article, read how to permanently disable 'Deleted files are removed everywhere' message appearing while deleteing a file in OneDrive.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

IT Pros can easily manage OneDrive sync settings for clients using Group Policy. With that, they can easily control individual OneDrive settings on their client machine. Usually, when a client deletes local files from OneDrive sync location, a warning message will appear then. This warning message titled Deleted files are removed everywhere, appears to inform clients that file they are deleting will no longer available across their OneDrive sync devices. The warning message will keep appearing after client delete any file they don’t want. In this article, we’ll see how you can disable ‘Deleted files are removed everywhere’ for your clients.

Here’s the screenshot of the warning message:

Disable 'Deleted files are removed everywhere' message

Image credits: Microsoft

Note that the warning message mentioned above will keep appearing until client checks Don’t show this reminder again option. If the client does not checks that option, you can apply the Group Policy setting to disable the warning message. Here’s how.

Disable ‘Deleted files are removed everywhere’ message in OneDrive

Method 1 – Using Group Policy

1. Launch GPO Editor by executing gpedit.msc in Windows client edition and via gpmc.msc command in Windows Server.

2. Next, open the GPO Editor window, navigate here:

Computer Configuration > Administrative Templates > OneDrive

Note: You should have Policies folder after Computer Configuration, if you’re on Windows Server.

Disable 'Deleted files are removed everywhere' message

3. In the right pane of OneDrive, locate Hide the “Deleted files are removed everywhere” reminder policy setting. Double click the setting and set it to Enabled. Once you set the policy setting to Enabled, clients will no longer see ‘Deleted files are removed everywhere’ warning message.

Disable 'Deleted files are removed everywhere' message

4. Click Apply, OK. Close GP Editor and update GP engine to make changes effective.

Method 2 – Using Registry

Registry Disclaimer:  Create a System Restore point first, if you’re not familiar with registry manipulation.

1. Open Registry Editor.

2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive.

3. In the right pane of OneDrive, create DisableFirstDeleteDialog named registry DWORD.

4. You’ll need to set this registry DWORD to 1 in order to hide the warning message.

You can also deploy above mentioned registry setting using Group Policy, check this guide.

That’s it!

Read next: What Is Personal Vault In OneDrive And How To Use It?

Share this article
https://www.kapilarya.com/disable-deleted-files-are-removed-everywhere-message-in-onedrive

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

Leave a Comment

Your email address will not be published. Required fields are marked *