Windows 10 Delete File Confirmation
Turn Off Delete Confirmation Message
Jul 24, 2012 - One of the first things that I do after I log in to a Windows account for the first time is to change the way files are deleted in the operating system. Windows 8 users may have noticed that when you delete a file to the Recycle Bin, unlike in Windows 7 and earlier versions, the new operating system will no longer show you the Delete Confirmation Box. The system will just delete the file and move it to Recycle Bin. We want the system to ask us if we are sure that we want to remove the file.
NoteThe above command does not work in all versions of Windows and MS-DOS.If this command does not work, we would recommend that you create a with the following command in the batch file. Echo y del%1.Once created, you can type the name of the batch file then the name of the directory that you want to delete.
Rd and rmdir commandUsers who want to delete a directory containing files in a Windows command line version 2000 or later can also use the rmdir or rd command with the /S option.Erase commandIf you're running a later version of Microsoft Windows and using the Windows command line, you can also use the erase command to delete files without a prompt.
In Windows 7 and the earlier versions of Windows, each time when you delete a file, you are prompted with a delete confirmation dialog box asking if you are sure to move this file to the Recycle Bin. However, when you delete a file in Windows 10/8, you won’t be prompted with a delete confirmation dialog box 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.Way 1: Enable Delete Confirmation dialog box via Recycle Bin PropertiesStep 1: Right-click on the Recycle Bin icon on Windows 10 desktop and then 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.Way 2: Enable Delete Confirmation dialog box by Group Policy EditorStep 1: Type gpedit.msc in the Windows 10 Start menu. Then click on gpedit.msc in the program list.Step 2: After Local Group Policy Editor opens, navigate to “User ConfigurationAdministrative TemplatesWindows ComponentsFile Explorer”.
Then in the right-side pane, double-click on the Display confirmation dialog when deleting files.Step 3: Check Enabled. Then click Apply and OK.Way 3: Enable Delete Confirmation dialog box in Windows 10 by Registry EditorStep 1: Press Win + R to. Type regedit and click OK. Confirm the User Account Control dialog if prompted.Step 2: After Registry Editor opens, navigate to “HKEYCURRENTUSERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer”. In the right-side pane, right click on the blank area and select New - DWORD (32-bit) Value to create a 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.