How to Disable the Empty Recycle Bin Confirmation Box in Windows 7

Earlier we saw how to disable the confirmation window when emptying the Recycle Bin in Windows XP and Windows Vista. Here is a Registry hack to accomplish the same in Windows 7, using the excellent NirCmd tool. This registry hack replaces the Empty Recycle Bin command with NirCmd command-line so that the Recycle Bin can be emptied silently without any prompts. This also works from the Recycle Bin Tasks pane.

Using NirCmd to Silently Empty the Recycle Bin

1. Download NirCmd from Nir Sofer’s site.

2. Unzip and move NirCmd.exe to the C:\Windows\System32 folder.

3. Download and save to Desktop.

4. Extract the files to a folder, and run the file w7-empty-bin-silent.reg.

This replaces the Empty Recycle Bin command with "NirCmd.exe emptybin" command-line. Now, emptying the Recycle Bin either from the right-click menu or from the Tasks pane in the Recycle Bin, should not produce any prompts. There is also an undo REG file available inside the above zip archive.

4 thoughts on “How to Disable the Empty Recycle Bin Confirmation Box in Windows 7

  1. Well Matt it has been over a year now and you still have not seem to remember that which you could not think of off the top of your head. This little hack seems like a more worth while attempt than waiting for the top of your head to figure it all out lol.

  2. Ran this on my x64 Windows 7 machine, and it works like a charm! Thank you.

    @ Matt: turning off the confirmation dialog when emptying the recycle bin REQUIRES “messing with the registry.” There is no other way to do this. You’re probably thinking of how the user can turn off the “delete confirmation dialog” within the Properties menu of the Recycle Bin.

    By the way, being able to “mess with the registry” is actually one of the main BENEFITS of using Windows compared to the Mac OS.

  3. There is an easier way to achieve this without messing with the registry (messing with the registry is potentially dangerous), I cant think of how to do it off the top of my head.

Leave a Comment