Turn On or Off Recycle Bin Delete Confirmation in Windows 10  

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 68,953
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #10

    Thank you DMD.

    The values for that will vary depending on the selected drive, and will not always be the same everyone.
      My Computers


  2. DMD
    Posts : 86
    W10 Pro 64 bit 21H1
       #11

    The key only affects the current user, but I have verified that the selection remains active even on other HDDs.
    If you want you can try to give a confirmation.

    Thank you

      My Computer


  3. Posts : 68,953
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #12

    I tested it on a few of my other systems, and the data value for "ShellState" varied on all of them. In addition, "ShellState" includes other settings than this one.

    If you have another PC to test on, you'll notice the data value will not be the same.

    This would be fine to export and import for a specific PC, but it just wouldn't be good to import on all systems.
      My Computers


  4. DMD
    Posts : 86
    W10 Pro 64 bit 21H1
       #13

    Thank you for your confirmation.
    A better solution is to act through the policy command
    Value "1" On and value "0" off

    Code:
    @echo off
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ConfirmFileDelete" /t REG_DWORD /d "1" /f
    taskkill /im explorer.exe /f & explorer.exe
    exit
      My Computer


  5. Posts : 68,953
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #14

    DMD said:
    Thank you for your confirmation.
    A better solution is to act through the policy command
    Value "1" On and value "0" off

    Code:
    @echo off
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ConfirmFileDelete" /t REG_DWORD /d "1" /f
    taskkill /im explorer.exe /f & explorer.exe
    exit

    Actually:

    Allows you to have File Explorer display a confirmation dialog whenever a file is deleted or moved to the Recycle Bin.

    If you enable ("1") this setting, a confirmation dialog is displayed when a file is deleted or moved to the Recycle Bin by the user.

    If you disable ("0") or do not configure (delete "ConfirmFileDelete") this setting, the default behavior of not displaying a confirmation dialog occurs. Basically, just whatever the user has set.

    (see option 2 and 3 below)
    Recycle Bin Delete Confirmation - Turn On or Off - Windows 7 Help Forums
      My Computers


  6. Posts : 1,961
    Windows 10 Pro x64
       #15

    A reg-file would be very welcome for emptying the recycle bin without confirmation in Win10............
      My Computer


  7. Posts : 68,953
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #16

    pietcorus2 said:
    A reg-file would be very welcome for emptying the recycle bin without confirmation in Win10............
    @pietcorus2,

    If you like, I just created a new tutorial for a "Empty Recycle Bin" context menu that has an option to empty the Recycle Bin without confirmation. :)

    Add Empty Recycle Bin to Context Menu in Windows 10 Windows 10 Customization Tutorials
      My Computers


  8. Posts : 1,961
    Windows 10 Pro x64
       #17

    We only want to empty without any asking , better no context-menu.....
      My Computer


  9. Posts : 68,953
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #18

    pietcorus2 said:
    We only want to empty without any asking , better no context-menu.....

    You can't stop the confirmation to empty the Recycle Bin.

    However, you use the .bat file below that uses the command from Option Six in the tutorial below to do so as a workaround.

    Empty Recycle Bin.bat

    PowerShell Clear-RecycleBin -force -ErrorAction:Ignore

    Empty Recycle Bin in Windows 10 Windows 10 Performance Maintenance Tutorials
      My Computers


  10. Posts : 1,961
    Windows 10 Pro x64
       #19

    Thanks Brink , its very nice if you can manage your OS the way you like it...............
      My Computer


 

Tutorial Categories

Turn On or Off Recycle Bin Delete Confirmation in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:06.
Find Us




Windows 10 Forums