How to clean up old offline files from previous domain

I need to clean up some old offline files for a user. They are taking up 250GB of space.

The catch is that they are from a previous domain so cannot simply turn off offline files to flush them.

CSC folders seems locked down, nervous about taking ownership of it without some advice first

Any suggestions?
LVL 2
MJCSAsked:
Who is Participating?
 
jcimarronConnect With a Mentor Commented:
MJCS ----
Yes, I meant to post this reference
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters /v FormatDatabase /t REG_DWORD /d 1 /f

http://www.technlg.net/2010/09/delete-offline-files-cache-windows-7.html

You have to reboot after doing this.
0
 
Dirk MareSystems Engineer (Acting IT Manager)Commented:
Download and run the following Microsoft Fix on the clients..
http://support.microsoft.com/kb/230738

The fix does work for windows 7/8

DirkMare
0
 
MJCSAuthor Commented:
I don't want to re-initialize it, I want to flush it. It is for an old share that is no longer in use.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
jcimarronCommented:
MJCS --
You need to create a Registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache /v
 FormatDatabase /t REG_DWORD /d "1"

http://www.ms-mvps.com/Windows/offline1.htm
0
 
Dirk MareConnect With a Mentor Systems Engineer (Acting IT Manager)Commented:
Its the same thing it won't re-initialize because the old GPO no longer exist to re-create it.

Notes
Make sure the files are synchronized before you run the automatic fix. Otherwise, unsynchronized changes will be lost.
The sync relationship for redirected folders will be re-created the next time group policy applies. Alternatively run gpupdate /force.

DirkMare
0
 
DonConnect With a Mentor Network AdministratorCommented:
Actually you would from a elevated cmd prompt enter

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters /v FormatDatabase /t REG_DWORD /d 1 /f

The key mentioned earlier is for XP, this one is for Windows 7
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.