New
#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.