How to disable the Delete File dialog box on Windows 10
4 min. read
Updated on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
The Recycle Bin stores files that users have selected to erase. Thus, those files aren’t really deleted until users empty the Recycle Bin. When users erase a file, a Delete File dialog box window might open that asks: Are you sure you want to move this file to the Recycle Bin?
Users select Yes to confirm. However, users can disable the Delete File dialog box in Windows 10, and other platforms, as follows.
Are you sure you want to move this file to the Recycle Bin?
1. Deselect the Display Delete Confirmation Dialog Option
The Recycle Bin Properties window includes a Display delete confirmation dialogue option. Users can uncheck that option by right-clicking the Recycle Bin icon and selecting Properties.
That will open the window shown directly below, which includes the Display delete confirmation dialogue setting. Deselect that option to turn off the Delete File dialog box. Then click Apply and OK.
2. Disable the Delete File Confirmation With Group Policy Editor
Alternatively, users can disable the Delete File dialog box with Group Policy Editor in Windows 10 Pro and Enterprise. That will turn off the Delete File dialog for all user accounts. This is how users can turn off Delete File confirmation dialogs with Group Policy Editor.
- Right-click the Start menu and select Run.
- Then enter ‘gpedit.msc’ in Run’s text box and click OK to open Group Policy.
- Click User Configuration > Administrative > Templates > Windows Components > File Explorer on the left of the Group Policy Editor window.
- Users can then double-click Display confirmation dialog when deleting files on the right of Group Policy Editor.
- Select the Disabled option on the Display confirmation dialog when deleting the files window.
- Click the Apply and OK buttons.
— RELATED: Can I undo restored files in Recycle Bin? Here’s the answer
3. Disable the Delete File Dialog Box by Editing the Registry
Some users have stated on forums that the Display delete confirmation option is grayed out on their Recycle Bin Properties windows. Consequently, they can’t disable the Delete File dialog box with that option.
However, users can still disable Delete File confirmations by editing the registry, which might come in handy if the Display delete confirmation setting is grayed out.
- Enter ‘regedit’ in Run and click OK.
- Navigate to this registry path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.
- Select Explorer and then right-click an empty space on the right of Registry Editor’s window to select New > DWORD (32-bit) Value.
- Enter ‘ConfirmFileDelete’ as the DWORD title.
- Double-click ConfirmFileDelete to open the Edit DWORD (32-bit) Value window.
- Enter ‘0’ in the Value data text box, and click the OK button. To turn the delete confirmation dialog back on, enter ‘1’ in the Value data box.
4. Raise the Maximum File Size
A Delete File dialog box pops up when users try to delete a file that eclipses the maximum size value for the Recycle Bin. That dialog box asks, “Do you want to permanently delete it?” Thus, the file is too large for the Recycle Bin to include.
- However, users can ensure that the Delete File dialog box doesn’t open by raising the maximum file size for the Recycle Bin. To do so, open the Recycle Bin Properties window.
- Then select the Custom size radio button.
- Enter a higher maximum value in the text box.
- Click the Apply button.
- Then press the OK button to close the window.
So, there are a few ways that users can disable Recycle Bin’s Delete File dialog box. It’s not really worth having that dialog box enabled with the Recycle Bin configured to include deleted files. However, it might be worth keeping the Delete File dialog box when you’ve selected the Don’t move files to the Recycle Bin option. Then the confirmation window will ensure against accidental file erasure.
RELATED ARTICLES TO CHECK OUT:
User forum
0 messages