Solved

How to clean up old offline files from previous domain

Posted on 2015-01-30
6
188 Views
Last Modified: 2015-01-30
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?
0
Comment
Question by:MJCS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 40580605
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
 
LVL 2

Author Comment

by:MJCS
ID: 40580623
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
 
LVL 50

Expert Comment

by:jcimarron
ID: 40580667
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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 16

Assisted Solution

by:Dirk Mare
Dirk Mare earned 167 total points
ID: 40580673
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
 
LVL 47

Assisted Solution

by:Donald Stewart
Donald Stewart earned 166 total points
ID: 40580703
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
 
LVL 50

Accepted Solution

by:
jcimarron earned 167 total points
ID: 40580863
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

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

756 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