Congratulations, you fixed offline files syncing at the expense of the last six months of work for a company executive. They've given you an hour to restore their files or to pack up your stuff. Your frantic internet searches give you some false hopes, but you start to realize your screwed.
Not quite yet! Highly Unsupported has one last option for you that might just save you from having to get your interview suit dry cleaned.
Windows stores offline files in the folder: C:\Windows\CSC. The folder is locked down to prevent access from any interactive user. However if your files are still in there, you can follow numerous instructions online to simply take control of this folder and browse to the files you need. Or alternatively you can use the psexec method below to hack into it without needing to forcibly take control.
But if you're gone through the trouble of formatting the offline files database, your files won't be there anyways. Your one last hope is one feature Microsoft added with Windows ME, System Restore. It's never done me any good to actually fix a broken operating system, but it can save you now.
First off, from the afflicted computer, run "vssadmin list shadows" to see if you even have any restore points.
If you have some restore points from before you blew away the offline files cache, and after they created the files, you are in business.
You'll need volrest.exe and psexec for these next steps. volrest.exe comes from the Windows Server 2003 Resource Kit Tools. Don't worry though, it'll install and work just fine on Windows 7 (just ignore the incompatibility error). You can download the Resource Kit here:
Grab psexec off http://live.sysinternals.com . If you don't know what PSEXEC is you should spend sometime to find out after you've saved your job.
The reason we need psexec is because while you could take ownership of the CSC folder which is presently in the operating system, you have no way to take control of the one inside of the restore point. Microsoft, trying to provide security through obscurity, doesn't let you restore folders you don't have access to, but as administrator that's merely a hurtle. Run this command to create a cmd window running as nt authority\system
psexec.exe -i -s -d cmd
In XP you could have used the "at" command with the /interactive flag to have accomplished this same thing, but again, Microsoft made it slightly more difficult for "security".
Now the fun part. Use volrest to restore the CSC directory. Volrest only works with UNC paths, but that's not an issue, the administrative share provides you with the unc path you need.
volrest \\localhost\c$\windows\CSC /s /e /sct /r:C:\temp\directory
This will restore a copy of every file under the path C:\Windows\CSC for every restore point which has those files in it. If you have a lot of restore points, you could end up with a lot of files. The /sct flag date stamps all the files, so you can quickly sort out which is the newest.
Now, copy the files back to the proper locations and make sure the offline files sync is working properly.
Information for this solution was collected from numerous websites to generate a complete solution. Special thanks also needs to be extended to Jim Banach whom not only created this problem in the first place, but was the primary force in discovering this solution.