If you want to show a notification when deleting five, ten, or any number of files from OneDrive on the local computer, here is how you can do that. It is possible to enable this setting using the Local Group Policy Editor and the Registry Editor.
Let’s assume that you want to prompt notification when you delete ten or fifteen files at once. As there is no in-built setting in the OneDrive’s Settings panel, you need to use either REGEDIT or GPEDIT. You need to however, add OneDrive sync settings in Local Group Policy Editor in order to use the GPEDIT method.
How to show OneDrive Notifications when deleting multiple files
To show a notification when deleting multiple files from OneDrive using Group Policy Editor, follow these steps:
- Press Win+R to open the Run prompt.
- Type gpedit.msc and press the Enter button.
- Navigate to OneDrive in Computer Configuration.
- Double-click on the Prompt users when they delete multiple OneDrive files on their local computer setting.
- Choose the Enabled option.
- Enter the number of files.
- Click the OK button.
To learn more about these steps, continue reading.
First, you need to open the Local Group Policy Editor. For that, press Win+R to display the Run dialog, type gpedit.msc, and press the Enter button. Once it is opened, navigate to the following path:
Computer Configuration > Administrative Templates > OneDrive
Here you can find a setting called Prompt users when they delete multiple OneDrive files on their local computer. You need to double-click on it and choose the Enabled option.
Then, you can enter the number of files. If you want to get the notification for deleting five files, you can enter 5 in the box. Similarly, if you want to get the notification when deleting ten files, you can enter 10. In other words, you can enter a value from 1 to 100000.
Then, click the OK button to save the change.
Display notifications when deleting multiple files from OneDrive
To show notifications when deleting multiple files from OneDrive using Registry, follow these steps:
- Press Win+R to display the Run dialog.
- Type regedit > press Enter > click the Yes button.
- Navigate to Microsoft in HLKM.
- Right-click on OneDrive > New > Keyand name it as OneDrive.
- Right-click on OneDrive > New > DWORD (32-bit) Value.
- Set the name as LocalMassDeleteFileDeleteThreshold.
- Double-click on it and choose the Decimal option.
- Enter the number of files.
- Click the OK button and restart your computer.
Let’s check out these steps in detail.
To get started, press Win+R, type regedit and hit the Enter button. Once the UAC prompt appears, click the Yes button.
Then, follow this path:
Right-click on Microsoft > New > Key and set the name as OneDrive.
Then, right-click on OneDrive > New > DWORD (32-bit) Value, and name it as LocalMassDeleteFileDeleteThreshold.
After that, double-click on LocalMassDeleteFileDeleteThreshold, choose the Decimal option and set a Value data.
You can enter any Value data from 1 to 100000. Once done, click the OK button, close all windows, and restart your computer.
How do I turn on notifications for OneDrive?
To turn on notifications for OneDrive on Windows 11 or Windows 10, you can use the Windows Settings. For that, press Win+I to open Windows Settings and go to System > Notifications. Then, toggle the OneDrive button to turn it on.
How do I delete multiple files on OneDrive?
Deleting one and multiple files on OneDrive is not a different process. That said, you can select the file and press the Delete button. On the other hand, if you are using the web version, you can tick the corresponding checkbox and click the Delete button visible in the top menu bar.
That’s all! Hope it helped.
Read: How to turn off OneDrive Shared Files Notifications on Windows.