7,986 views
Howto reset offline files in XP and Vista
Windows XP
Method 1
1. In Folder Options, on the Offline Files tab, press CTRL+SHIFT, and then click Delete Files.
The following message appears:
The Offline Files cache on the local computer will be re-initialized. Any changes that have not been synchronized with computers on the network will be lost. Any files or folders made available offline will no longer be available offline. A computer restart is required.
Do you wish to re-initialize the cache?
2. Click Yes two times to restart the computer.
After you have restarted the computer you’ll have a nice clean offline files database and you can start again.
Supporting KB article here : http://support.microsoft.com/kb/230738
Method 2
To clean out the database and disable offline files, create a reg file with the following contents :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache]
"FormatDatabase"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetCache]
"Enabled"=dword:00000000
and apply the reg file to the system.
After a reboot, the local offline files cache will be empty and offline files will be disabled. The FormatDatabase dword will be automatically deleted after the reboot.
To turn offline files on again, create another reg file with the following contents :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache]
"FormatDatabase"=dword:0000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetCache]
"Enabled"=dword:00000001
Reboot, and offline files will be enabled again
Windows Vista
To reinitialize the Offline Files cache, create the following DWORD registry
value with a value of 1 and restart the system.
HKLM\System\CurrentControlSet\Services\CSC\Parameters\FormatDatabase
Again, any unsynchronized changes will be lost. In addition, any files and folders pinned by means other than Folder Redirection or Group Policy will no longer be pinned on that client.
After the reboot, the FormatDatabase Dword will be gone
© 2008, Peter Van Eeckhoutte (corelanc0d3r). All rights reserved.
Similar/Related posts:
Comments are closed.
Corelan Training
Check out our schedules page here and sign up for one of our classes now!
Donate
Your donation will help funding server hosting.
Corelan Team Merchandise
Corelan on Slack
You can chat with us and our friends on our Slack workspace: