14

I have a rather annoying issue with my Windows 7 computer whereby it seems to take ages to delete, move or copy folders, even when they are empty. The problem is intermittent, to make matters worse. It just says "Discovering items..." for anything up to a couple of minutes before eventually doing what its told.

Any suggestions on where to look to stop this happening?

I have tried disabling antivirus realtime scanning to rule that out as the root cause.

7 Answers 7

7

I found a huge post with LOT'S of suggestions. It could be related to many things...

First step would be to boot into Safe mode and see if the behavior is still happening. If it isn't you know it isn't Windows related but some kind of system driver (e.g. your antivirus even though you have it disabled).
Other suggestions include thumbnails, file permissions, too many files in a folder, etc... just read through the thread and try some things:

Extremely slow file copying / moving / deleting

2
  • I agree, hence I gave the first step of booting into safe mode. For such a general question it sometimes isn't possible to give the perfect solution in a one-off answer hence the forum post may help further (than just trying it once in safe mode). Look at the other answers here: Totally unrelated to one another, but safe mode would give you a good indicator whether something is wrong with your system.
    – Dennis G
    Jul 15, 2016 at 18:58
  • Somewhat related - To anyone else using an older version of TortoiseGit, once I ended the process "TGitCache" it released the handle that was preventing the Delete process from progressing. Seems like it retains handles on quite a few folders across the file-system, time to update it! Feb 21, 2017 at 19:40
7

I've worked around this by moving large folders from the command-line (cmd.exe) instead:

c:\> move c:\stuff\big-folder c:\other-stuff\some-other-folder

This works very quickly for me for dirs under the same drive letter. Also, any explorer window displaying the source or destination dirs updates within a second after the command-line prompt returns.

When selecting and moving multiple items, I use dired-mode (under emacs) which works with similar speed when moving files/dirs within the same drive letter.

1
  • This works great, not only with directories under the same drive letter. I had this issue of Win7 insisting on "discovering" items on my USB drive, then coming up with a completely fabricated progress bar despite no progress being made, before it finally decided that it couldn't find any files on my USB drive. The next time you plug it in, it claims there are errors on it and wants to scan the drive (even though my Linux machine and others can access everything just fine). So I now have a "transfer" folder and a little batch file to copy that folder's contents to my USB. Works like a charm. Apr 18, 2015 at 1:54
7

I had that same extremely annoying problem, where deleting empty folder would block while "discovering items".

The moment when I killed TSVNCache.exe and/or TGitCache.exe discovering was done and I didn't have that problem anymore. So, not only all that Tortoise stuff asks you to reboot your PC with every update, it also screws explorer badly.

4

In windows explorer go to Tools

Folder Options View Tab and check mark the first option "Always show icons, never thumbnails.

Will solve the problem. If you want to see thumbnails in the folders again, remove the check mark.

0
2

I had a similar problem in Windows XP, mostly due to messing up Registry settings. It was so bad that I couldn't access any partition other than C:/ and without going to My Computer.

How I messed up the Registry:

  • Gave full control permissions to SYSTEM for HKCR (HKEY_CURRENT_ROOT)

How I "restored" the Registry:

  • Gave full control permissions to the "Local User" for HKCR.

... but I doubt you, as a regular user, would have messed up the Registry so bad for this to happen. However, it might be a possible cause.

2

The problem with Windows GUI is that it tries to calculate the total volume of bytes to be copied before starting the work. While it may not be a problem while copying files within the same hard drive, it can be a major time consumer while copying files across different drives and between computers.

If you are sure that the target drive has sufficient space or don't mind if the copying gets terminated intermittently due to insufficient space, you may use following from the command prompt (cmd):

XCOPY /S /E

The above copies all files, all subdirectories, including the empty ones. It starts copying immediately without trying to discover.

Use "XCOPY /?" to see all options.

1

I can not help you with the movement and copying. But I got around the deleting issues with the command prompt using:

del *complete folder path*

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .