SDelete v2.01 - dangerous bug


  • Hi,
    I found a dangerous bug in sdelete v2.01 (same problem with v2.0 or v1.51)

    I have a directory with 3 files:

    The command   sdelete *.xls  should wipe just testfile1.xls but surprisingly wipe all the 3 files, therefore sdelete *.xls acts as sdelete *.xls*  and this is very dangerous !!

    Thank you in advance,
    best regards

    Tuesday, February 20, 2018 4:18 AM

All replies

  • I just downloaded and attempted to use SDelete 2.01 and have found a similar issue (possibly related).
    When I try and use SDelete on a file with no extension, it returns the error "the system cannot find the file specified.".
    C:\Users\Bob\Documents>sdelete.exe foo
    SDelete v2.01 - Secure file delete
    Copyright (C) 1999-2018 Mark Russinovich
    Sysinternals -
    SDelete is set for 1 pass.
    Cleaning disk foo:
    Error opening disk foo:
    The system cannot find the file specified.

    The older version of SDelete did not have this bug.  I'll revert to that version until this can be fixed.
    Tuesday, February 27, 2018 11:57 AM
  • Just went back and tested a couple of previous versions and found that the same bug (can't delete a file without an extension) also occurred in version 2.0.  It works properly in version 1.61.
    Tuesday, February 27, 2018 12:07 PM
  • what about Version 2.02?
    Thursday, January 24, 2019 9:03 AM
  • Hi

    The change I made in 2.02 was to provide a feedback indicator when freeing MFT resident files because this can take a long time and users were mistaking this for a hang.

    I have added this as a high priority to the backlog and try to get it fixed ASAP


    MarkC (MSFT)

    • Edited by markc(msft) Monday, January 28, 2019 3:22 PM
    Monday, January 28, 2019 3:21 PM