Bypass File Deletion Prompts In Windows
When you try to delete a file or folder in Windows Explorer, a confirmation prompt is displayed first that is basically asking you if you want to proceed with the deletion of the file. If you are making use of the Recycle Bin on the operating system, you get a are you sure you want to move this file to the Recycle Bin prompt. If you have opted-out of using the Recycle Bin, you will see the are you sure you want to permanently delete this file prompt instead.
Here are screenshots of the two prompts you may see.
Are you sure you want to move this file to the Recycle Bin?
Are you sure you want to permanently delete this file?
Fixing the issue
The issue that you may have with this is that it can be quite interrupting when you have to confirm the deletion of files every time you delete some on the operating system.Â First thing that you might try to bypass the prompt is to disable moving deleted files to the Recycle Bin. But that turns out to not be enough to fix it, as deletions will then trigger the second prompt instead.
You may look into the folder options of Windows Explorer, only to find out that there is no option to bypass deletion confirmations in there. Microsoft, for whatever reason, has added the setting to the Recycle Bin properties. While that makes sense for the first prompt asking you if you want to move the file to the Recycle Bin, it does not really make that much sense for the second prompt as the Recycle Bin is not involved here at all (at least not in the foreground).
Right-click on your Recycle Bin and select the properties link in the context menu. Notice the display delete confirmation dialog check box at the bottom? This triggers the confirmation prompts that you see when you delete files in Windows. Uncheck the box, and both prompts are bypassed automatically.
You can also configure Windows to bypass the Recycle Bin for deletions in the same menu, by switching from custom size for select hard drives to don't move files to the Recycle Bin. remove files immediately when deleted instead.Advertisement