Please take a moment to read http://bit.ly/demandglobalchange, to help share the message and support the initiative to tell our leaders to focus on addressing the global world problems, instead of complaining about the effects of their lack of leadership. Be a leader yourself, and share this with as many people as possible. #demandglobalchange // https://www.facebook.com/demandglobalchange



Please consider donating: https://www.corelan.be/index.php/donate/


7,569 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, Corelan Team (corelanc0d3r). All rights reserved.

Related Posts:

Comments are closed.

Corelan Live training

Since 2011, Corelan GCV has been teaching live win32 exploit dev classes at various security cons and private companies & organizations.

You can read more about the training and schedules here

Demand Global Change

The world needs your help !

Please take a few moments to read the "Demand Global Change Call For Action" document at
http://bit.ly/demandglobalchange
Read the full document at
http://bit.ly/demandglobalchange_full and share the message with as many people as possible.

Like the Facebook page, and SHARE it with everyone you know.



Donate

Want to support the Corelan Team community ? Click here to go to our donations page.

Want to donate BTC to Corelan Team?



Your donation will help funding server hosting.

Protected by Copyscape Web Plagiarism Tool

Corelan Team Merchandise

You can support Corelan Team by donating or purchasing items from the official Corelan Team merchandising store.

Corelan on IRC

You can chat with us and our friends on #corelan (freenode IRC)

Categories