Slow deletion of files

Page 1 of 5 123 ... LastLast

  1. Posts : 21
    Windows 7 Professional
       #1

    Slow deletion of files


    Greetings.
    I have been facing an issue with my system whereas "some" file deletion are very slow. Two cases are dramatic examples:
    - use from a command line of DeleteXP.exe
    - trying to remove a book from Calibre GUI

    A few things before people jump to the usual suggestions. I tried all of the below without better results
    - recreate the Recycle Bin (mutiple recipe including safe boot, delete, reboot)
    - defrag and analyze drive for errors (none found)
    - scan for virus, trojan, etc ... none found (three utilities used from MS, MalwareBytes and Outpost)
    - create a new account and try file deletion under this new account (same condition)
    - disable anti-virus and try again
    - boot in safe mode and try again
    - ...

    Nothing helped. A note as well this does not happen systematically (if I delete from Windows Explorer,
    things work fine and many tools/GUI I have delete the file alright). I tried to speculate with the author
    of Calibre that perhaps the use of SHFileOperation() could be the cause but was somewhat left with
    a "not a problem with our tool, works elsewhere, figure out what slows down your computer".

    I focused on DeleteXP and traced it using "Process Monitor" and see the hang as below:

    08:26:52.2325829 DeleteXP.exe 7196 CloseFile C:\Windows\SysWOW64\RpcRtRemote.dll SUCCESS
    08:26:52.2327881 DeleteXP.exe 7196 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    08:26:52.2328258 DeleteXP.exe 7196 RegOpenKey HKLM\SYSTEM\CurrentControlSet\Services\BFE REPARSE Desired Access: Read
    08:26:52.2328593 DeleteXP.exe 7196 RegOpenKey HKLM\System\CurrentControlSet\Services\BFE SUCCESS Desired Access: Read
    08:26:52.2328863 DeleteXP.exe 7196 RegSetInfoKey HKLM\System\CurrentControlSet\services\BFE SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    08:26:52.2329040 DeleteXP.exe 7196 RegCloseKey HKLM\System\CurrentControlSet\services\BFE SUCCESS
    08:26:52.2346652 DeleteXP.exe 7196 Thread Create SUCCESS Thread ID: 7592
    08:26:52.2354947 DeleteXP.exe 7196 Thread Create SUCCESS Thread ID: 7664
    08:27:22.2135266 DeleteXP.exe 7196 Thread Create SUCCESS Thread ID: 6152
    08:27:22.3203836 DeleteXP.exe 7196 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    08:27:22.3204533 DeleteXP.exe 7196 RegOpenKey HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\Explorer REPARSE Desired Access: Query Value
    08:27:22.3205091 DeleteXP.exe 7196 RegOpenKey HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer SUCCESS Desired Access: Query Value
    08:27:22.3205534 DeleteXP.exe 7196 RegSetInfoKey HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    08:27:22.3205980 DeleteXP.exe 7196 RegQueryValue HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoPropertiesMyComputer NAME NOT FOUND Length: 144
    08:27:22.3206369 DeleteXP.exe 7196 RegCloseKey HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer SUCCESS

    there is a 30 seconds delay between two "Thread Create"

    08:26:52.2354947 DeleteXP.exe 7196 Thread Create SUCCESS Thread ID: 7664
    08:27:22.2135266 DeleteXP.exe 7196 Thread Create SUCCESS Thread ID: 6152

    Any idea of what may cause this?

    BTW:
    Computer Type ACPI x64-based PC (Mobile)
    Operating System Microsoft Windows 7 Professional
    OS Service Pack Service Pack 1
    CPU Type Mobile DualCore Intel Core i5-480M, 2933 MHz (22 x 133)

    And I tried to see if an Intel driver updated existed but none were found (it is always possible that
    a past driver update may have caused this though / if someone thinks it is worth back-stepping,
    will do).

    Hope this report is complete and someone could help me / hint something I have not tried yet.
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    jlauret7 said:
    ~~~Any idea of what may cause this?~~~
    Disabling your antivirus (AV) app might not remove the file filter drivers. The AV app might still be inspecting things, just not acting on what it sees. You might want to uninstall the AV app as a test.

    You might also want to keep a Virtual Machine around for such testing. One with no 3rd party software installed. One that is frozen so that it is almost always the same (updated only with patches - then that version is frozen).
      My Computer


  3. Posts : 21
    Windows 7 Professional
    Thread Starter
       #3

    UsernameIssues said:
    jlauret7 said:
    ~~~Any idea of what may cause this?~~~
    Disabling your antivirus (AV) app might not remove the file filter drivers. The AV app might still be inspecting things, just not acting on what it sees. You might want to uninstall the AV app as a test.

    You might also want to keep a Virtual Machine around for such testing. One with no 3rd party software installed. One that is frozen so that it is almost always the same (updated only with patches - then that version is frozen).
    I wish this was the reason. More tries:
    - removed anti-virus entirely (Outpost Security Suite) and rebooted + booted in safe mode (so rebooted twice in other words) - no change, still slow deletion (tested both DeleteXP and Calibre)
    - attempted to restore Intel® Chipset Driver + Intel® 5 Series 4/6 Port SATA AHCI Controller Driver
    to the latest version approved by the vendor (Sony laptop / Sony support provides the packages and I installed those as I may have updated it with a Driver update software) - no change
    - forgot to add one detail on first post: I also made sure to go to http://www.intel.com/p/en_US/support/detect and check - actually, all relevant CPU drivers are up to date

    Is it possible that a Windows update caused this? Let's say, a past 4 months update or so ...
    I am at a loss as per what to check or try next ...
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    I'm not familiar with DeleteXP. Got a link to it?

    I'll see how well it works for me.
      My Computer


  5. Posts : 6,285
    Windows 10 Pro X64
       #5

    A Google search for DeleteXP gets no hits.
      My Computer


  6. Posts : 21
    Windows 7 Professional
    Thread Starter
       #6

    See attached as a .ZIP
    But at the end, the same thing happens with Calibre. I suspect the common denominator being the old(er)
    API call to SHFileOperation().
    Slow deletion of files Attached Files
      My Computer


  7. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #7

    I'm not understanding jlauret7.
    Are you dual booting with XP (operating system) or is DeleteXP a program? I can't find a program with that name.
      My Computer


  8. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #8

    Could you just post the web site. I really don't care to download a mystery zip file.
      My Computer


  9. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #9

    When I do Google DeleteXP.exe 7196 from your post #1 I don't get much but I do get this.

    In response to a complaint we received under the US Digital Millennium Copyright Act, we have removed 1 result(s) from this page. If you wish, you may read the DMCA complaint that caused the removal(s) at ChillingEffects.org
      My Computer


  10. Posts : 21
    Windows 7 Professional
    Thread Starter
       #10

    Layback Bear said:
    Could you just post the web site. I really don't care to download a mystery zip file.
    I uploaded the program in a .ZIP - sorry for confusing you, I thought that a standalone simple program
    having the SAME effect (impossibly long file deletion) than other more complex program (like Calibre, calibre - E-book management) would be easier to debug. DeleteXP is a rather ancient program allowing deleting
    files from a CMD prompt (moving it to the Recycler Bin) ... just like the call in Calibre seem to be doing.
      My Computer


 
Page 1 of 5 123 ... LastLast

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

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