Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Where are all these folders?!!

Jun 24, 2012 2:43PM PDT

While doing a folder scan in HD Tune, at 17.9% scanned the number of folders jumps from 5,000 to 500,000.
Obviously, I didn't add all those folders.
I've deleted several temp folders and programs I'm not using in the hopes of getting rid of them.
Any clues about what may have created all those folders or how I might go about finding them so I can delete them?

Discussion is locked

- Collapse -
Answer
I've seen this before.
Jun 24, 2012 3:44PM PDT

Way back when it was a bug in some system tuneup app. Sorry but that's all I got. Any chance of you telling what's running at the time of the trouble?

- Collapse -
Answer
Re: folders
Jun 24, 2012 3:54PM PDT

Right click>Properties on all folders on the c:\drive to see what Windows reports about number of files and number of folders. Drill down if necessary.

Please tell what you find.

Kees

- Collapse -
The missing 208 GB
Jun 24, 2012 5:45PM PDT

That's just it... I can't find all these folders or about 208 GB of used space on the system.
Total space on the C: drive is 355 GB.
Here is a list of the biggest folders off the root drive and the number of folders:
Documents and settings 43.9 GB 4541 folders
Program files 10.7 GB 6069 folders
Windows 13.8 GB 5151 folders
Drivers 3.2 GB 837 folders
Pagefile and hiberfil.sys 3.1 GB each

All of the other folders off the root directory have a small number of files/folders.
So... what's taking up all the space? This must be related to this huge number of folders I can't seem to find.

One thing that's kind of odd...
when I check the properties of the Documents and settings folder, it stops with the number listed above, but keeps flickering... like it's still checking the status of the folders. I just assumed it was continuing to scan the folder because I'm constantly accessing files. But now I'm wondering...

- Collapse -
Re: folders
Jun 24, 2012 5:49PM PDT

I'd start drilling donw in the Documents and Settings folder.

Other tools that you can use:
- Treesize (free download from Jam sofware)
- Chkdsk from the command prompt
- Attrib and dir from the command prompt

So many folders and so many GB, you should be able to find those.

Kees

- Collapse -
Related Chkdsk issue
Jun 24, 2012 5:51PM PDT

When I first noticed this problem, I ran a defrag and a chkdsk. Defrag finished fine.
Chkdsk, however, got part way through and then seemed to freeze. It gave me a message that included "Make sure the allowed user address space is set to a maximum."
I have been unable to find where or how to do this. It was from researching this that I found HD Tune. HD Tune is what showed the 500,000 folders. Once it exceeds that number of folders, the scan basically stops because the system runs out of handles for the folders.

- Collapse -
Keep searching.
Jun 24, 2012 5:56PM PDT

Drilling down in Documents and Settings seems the way to go. It would be interesting to see whyat these folders are and what program made them.

You're the only one who has access to that machine. So you're the only one who can do it.

Kees

- Collapse -
I struck oil!
Jun 24, 2012 7:42PM PDT

after letting that folder blink for about 20 minutes, the folder count suddenly jumped to over 400,000.
an hour later I managed to drill down to a Sugarsync folder called tmp_cloud_area.
as of this writing, it is at 1,500,000 folders and counting. even more interesting, they are all empty so far.
I intend to contact Sugarsync tech support to find out *** is going on with their app.
I'll update you when I get a response.

- Collapse -
Good find.
Jun 24, 2012 7:48PM PDT

I'd stop that program until they solve it.

Kees

- Collapse -
12 hours later...
Jun 25, 2012 6:04AM PDT

I finally stopped Properties from looking and just started to delete the folder. At that time there were over 10,000,000 folders and 84 GB in files... and climbing!
I'm wondering if it will take as long to delete the folders as it took Properties to find them...

- Collapse -
My guess: much longer.
Jun 25, 2012 6:29AM PDT

A delete is an update to the FAT and to the directory. Counting is just taking a quick look.

Please tell the results.

Kees

- Collapse -
FAT update
Jun 26, 2012 3:31PM PDT

right.
48 hrs and counting...

- Collapse -
And what did Sugarsync say?
Jun 26, 2012 4:54PM PDT

You wrote you intended to contact them.

It's a rather spectacular failure. But it shows how sturdy the Windows file system is. I don't think Microsoft ever tested or even thought about creating a million subfolders in a folder and deleting them. You proved the first worked, and there's no outright failure yet for the second.

Kees

- Collapse -
Sugarsync support
Jun 26, 2012 9:36PM PDT

they have a way to send log and audit files. I started to do that, but after 12 hrs I stopped because it was slowing down the deletion.
i'll try it when it's done.

- Collapse -
Update
Jul 1, 2012 1:24PM PDT

After deleting for 7 days straight, it finally stopped with a File in Use error.
So now I am in the process of deleting the program. This has the effect of doing the same thing, as it must delete all the folders it created.
Started this an hour ago.
Now we get to see how many more days/weeks it will take to remove them all.

- Collapse -
Answer
If I may add something.
Jun 27, 2012 12:49AM PDT

I ran into an older issue like this where you would find 64K (64,536) files under a certain folder when there was a certain software folk used long ago.

There was nothing amiss with the other apps but it turned out to be something else entirely. I don't want to write what it was but share that it was not what folk first thought it was.

Today we find toxic combinations or conflicts when this and that is installed. It would be unfair to say that Sugarsync is the cause here as it could be some antivirus or other app and the combination is what was the issue.
Bob