In Windows 7 and the earlier Windows versions, each time when you delete a file/folder/shortcut/icon, you will be prompted with a Delete Confirmation dialog box asking if you’re sure to move it to the Recycle Bin.

delete confirmation dialog box

However, when you delete something in Windows 10/8, you won’t be prompted with a Delete Confirmation dialog anymore; that’s because Windows 10/8 disable it by default.

Most of the time, you are recommended to enable the Delete Confirmation dialog just in case of deleting some important files by mistake. In this post I’m going to show three ways to enable Delete Confirmation dialog box in Windows 10.

  1. Way 1: from Recycle Bin
  2. Way 2: by Group Policy Editor
  3. Way 3: by Registry Editor

 

Way 1: Enable Delete Confirmation dialog box from Recycle Bin

Step 1: Right click on the Recycle Bin icon on Windows 10 desktop and then select Properties.

Select Properties

Step 2: After the Recycle Bin Properties dialog opens, check the box next to Display delete confirmation dialog. Then click Apply and OK.

display delete confirmation dialog

Way 2: Enable Delete Confirmation dialog box by Group Policy Editor

Step 1: Type gpedit.msc in Windows 10 Start menu. Then click on gpedit.msc in the program list.

open gpedit

Step 2: After Local Group Policy Editor opens, navigate to “User Configuration\Administrative Templates\Windows Components\File Explorer”. Then in the right-side pane, double click on the Display confirmation dialog when deleting files.

display delete confirmation whiling deleting files

Step 3: Check Enabled. Then click Apply and OK.

enabled

Way 3: Enable Delete Confirmation dialog box in Windows 10 by Registry Editor

Step 1: Press Win + R to open Run dialog. Type regedit and click OK. Confirm the User Account Control dialog if prompted.

Type regedit and click OK

Step 2: After Registry Editor opens, navigate to “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer”. In the right-side pane, right click on the blank area and select New -> DWORD (32-bit) Value to create a new DWORD.

New DWORD

Step 3: Rename the new DWORD ConfirmFileDelete and then double click on it. Set its value to 1 so that the Delete Confirmation dialog box in Windows 10 can be enabled. To disable it, set the value to 0.

set value