Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Slow deletion of files

03 Aug 2013   #1
jlauret7

Windows 7 Professional
 
 
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 System SpecsSystem Spec
.
03 Aug 2013   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by jlauret7 View Post
~~~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 System SpecsSystem Spec
03 Aug 2013   #3
jlauret7

Windows 7 Professional
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
Quote   Quote: Originally Posted by jlauret7 View Post
~~~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 System SpecsSystem Spec
.

03 Aug 2013   #4
UsernameIssues

W7 Pro SP1 64bit
 
 

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

I'll see how well it works for me.
My System SpecsSystem Spec
03 Aug 2013   #5
Ztruker

Windows 10 Pro X64
 
 

A Google search for DeleteXP gets no hits.
My System SpecsSystem Spec
03 Aug 2013   #6
jlauret7

Windows 7 Professional
 
 

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().


Attached Files
File Type: zip DeleteXP.zip (27.0 KB, 4 views)
My System SpecsSystem Spec
03 Aug 2013   #7
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

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 System SpecsSystem Spec
03 Aug 2013   #8
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Could you just post the web site. I really don't care to download a mystery zip file.
My System SpecsSystem Spec
03 Aug 2013   #9
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

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 System SpecsSystem Spec
03 Aug 2013   #10
jlauret7

Windows 7 Professional
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
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 System SpecsSystem Spec
Reply

 Slow deletion of files




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Shift+Delete problems and reappearing files after deletion
Hello, I have had a good clean copy of Windows 7 installed for some time now and right from the start I noticed a problem that until recently, I managed to tolerate. Whenever I shift+delete a file that is an executable, batch file or similar, it returns temporarily then dissapears on it's own...
General Discussion
Best (free!) recovery software to use after deletion of files
Hello everyone, it's me again! I need some assistance, after a mate of my e-mailed me as has deleted some files by mistake, and was wondering how to get them back (If possible?) I do wish people would stop pestering me, due to my slightly better than average knowledge of PCs! Here's his e-mail:...
Backup and Restore
Creating a Files log deletion
I see there is no log in windows 7 about the deleted files I often use the shift + delete to delete files I do not need, unfortunately sometimes the parent folder gets deleted instead (focus on the left tree area instead of the right list area) at least, a list of the deleted files would be...
General Discussion
Restore files after accedental partiition deletion
Heres the deal: 2 drives: 1TB WD where all my files are 120 OCZ SSD were I load my O/S from I was quickly going thru the motions of installing windows and got to the part about where I wanted it. I deleted the entire partition table in both of my drives. Quickly realizing what I did, I...
Backup and Restore
How do I restore the .exe files deletion warning popup in Win7 ?
When you delete an .exe file, Win7 opens a popup warning and it's got a selection box to "don't ask again for all files of this type" (or something like that). I left unintentionaly the selection on, and as a result the popup warning is not opening, and .exe files are deleted in just one step. ...
General Discussion
Accidental deletion of sent files Outlook 07
Any chance of recovery of the sent file folder which was accidentally deleted. Outlook 2007 :( Actually just the files in the sent folder, not the folder itself.
Microsoft Office


Our Sites

Site Links

About Us

Find 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 03:16.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App