Windows XP WINDOWS Directory oversized

Posted on 2007-10-11
Medium Priority
Last Modified: 2008-01-09
On one of my XP machines, the WINDOWS directory has expanded to about 59GB on a 75GB hard drive.

When logged in as  a regular network user and adding up the sizes of all the major directories on the C:\ drive I could only account for about 16GB total. However, if I logged in as Administrator the WINDOWS directory was at 59GB alone. If I run TreeSize on the Administrator account it can only find about 16GB of data on the C:\ drive and the WINDOWS directory is much smaller than the 59GB indicated by right clicking and viewing its properties.

I have searched on here and tried the solution involving the offline file sync and that did not work. I have run chkdsk with no errors reported, however in the chkdsk log in event viewer it reports that the there is about 72GB worth of data on the drive. That lines up with what the properties of the WINDOWS directory is saying; but not with TreeSize and not with what I can account for manually.
Question by:christianbowers
  • 4
  • 3
LVL 66

Expert Comment

ID: 20058910
Check the size of the C:\Windows\CSC directory....I know you said you tried somoe Offline Files fixes, but can it account for any of this missing size?

And is Treesize not reporting actual, or is it also reported the larger amount?

Treesize will also show a 0 size value for folders it doesnt have access to....

Also, right click c:\System Volume Information, and add your userid as "Full control", and check the props on that one as well....Thats the System Restore folder...

Author Comment

ID: 20059684
Ok, the CSC directory appears to be the culprit. What can I do with that directory? In the previous solutions I have tried I manually synced offline files and then deleted them (under Tools>Folder Options>Offline Files). The offline file synchronization is not really necessary in my environment; it had always just been on.
LVL 66

Expert Comment

ID: 20059762
Are there multiple users on this machine? If so, do they all need to be here? I would remove all non primary users (esp if they are on roaming profiles), just to be safe....

Some of this might be overkill, but It removes the folder locations available offline as well....The one with teh FormatDatabase is the crucial one.


Paste the following commands....

reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\AssignedOfflineFolders" /f
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\AssignedOfflineFolders" /ve
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\netcache" /v FormatDatabase /t reg_dword /d 00000001
reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\shares" /f
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares" /ve
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 20060036
I removed all unnecessary users from the machine, there was only one, and pasted the commands. They all said that they completed successfully however the folder is still there and still massive. Can I just delete the folder? I ran the commands under the Administrator account, should they have been run under the account of the user who uses this machine?
LVL 66

Expert Comment

ID: 20060078

Needs a reboot to process the FormatDatabase command.....


Author Comment

ID: 20060333
Forgot to add that, I did reboot after running all the commands. Do you mean between the FormatDatabase command and the others?
LVL 66

Accepted Solution

johnb6767 earned 2000 total points
ID: 20060552
No.... That reinitializes the Offline Files Cache....

Try it another way....

How to re-initialize the offline files cache and database

Expert Comment

ID: 20238398
Forced accept.

EE Admin

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question