Warn before deleting option is not working

simply right click on your recycle bin and select properties. You will now notice a checkbox at the bottom titled: Display delete confirmation dialog. Place a checkmark by clicking inside the checkbox to restore the confirmation dialog. Click OK when done.