How to securely delete selected files in the Recycle.bin ...

Page 4 of 4 FirstFirst ... 234

  1. Posts : 68,957
    64-bit Windows 11 Pro for Workstations
       #31

    tfwul said:
    Thanks a lot Brink! Super.
    A note though, with me, nothing seems to be deleted.

    Attachment 219092

    A lot of things seem to happen.
    Sdelete is called on (I had to agree to the terms), taskbar is refreshing, etc.
    However, the files are still there.

    Assume they ought to be removed from the Recyle.bin?

    thanks.

    Were any of the files in the Recycle Bin deleted from any other drive letter than "C"?

    If so, I will need to create a custom .reg for you to include those drive letters.
      My Computers


  2. Posts : 17,838
    Windows 10
       #32

    tfwul said:
    ......A note though, with me, nothing seems to be deleted....
    Did the sdelete.exe remain in System32?
      My Computer


  3. Posts : 868
    Windows 10 x64
    Thread Starter
       #33

    Brink said:
    Were any of the files in the Recycle Bin deleted from any other drive letter than "C"?

    If so, I will need to create a custom .reg for you to include those drive letters.
    Thanks Brink,

    Ai...!
    I overlooked that (adding recycle.bin per drive letter)

    Ahum ...
    tsk tsk tsk...


    ..
    btw cud you guide me how the cmd should read in case of D: and E:
    I tried:
    a. "C:\\$Recycle.Bin\\*" "D:\\$Recycle.Bin\\*" "E:\\$Recycle.Bin\\*"
    b. 3 lines below each other,
    "C:\\$Recycle.Bin\\*"
    "D:\\$Recycle.Bin\\*"
    "E:\\$Recycle.Bin\\*"

    (of course including the full cmd line, I simply copied the existing one and changed the drive letter)

    a. could not find path
    b. does not clear the recycle.bin (deleted files were ex drive D:)

    thanks.
    Last edited by tfwul; 31 Dec 2018 at 02:54.
      My Computer


  4. Posts : 68,957
    64-bit Windows 11 Pro for Workstations
       #34

    @tfwul,

    Here's a .reg file that includes C, D, and E drives.

    Add_Secure_Delete_to_Recycle_Bin_context_menu.reg

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\SecureDelete]
    @="Secure Delete"
    "NoWorkingDirectory"=""
    "Position"="top"
    "Icon"="imageres.dll,-5305"
    
    [HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\SecureDelete\command]
    @="cmd /c \"sdelete -p 3 -s \"C:\\$Recycle.Bin\\*\" & sdelete -p 3 -s \"D:\\$Recycle.Bin\\*\" & sdelete -p 3 -s \"E:\\$Recycle.Bin\\*\" && taskkill /f /im explorer.exe & start explorer.exe\""
      My Computers


 

  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 07:57.
Find Us




Windows 10 Forums