This section identifies known issues surfaced by Windows upgrades.
Upgrading a Hosted Cache server from Windows 7 Beta to a later Windows 7 version
A cache constructed on a Hosted Cache server running the Windows 7 Beta build will be lost in an upgrade to a later version of the operating system. This is the result of a change to the cache file format.
Hosted Cache migration
The data cache accumulated by a Hosted Cache server can be backed up, restored, and migrated. The Hosted Cache data files can be found under the subheading Local Cache Location in the output of the netsh branchcache show status ALL command.
If the cache location is changed prior to an operating system upgrade, the cache data is preserved. This technique can be used instead of duplicating the cache files. Change the cache location by using the netsh branchcache set localcache directory=<directory> command. Choose a directory that will not be affected by the upgrade.
BranchCache uses the file modification time to ensure the correctness of the cache data files. The file modification time of all BranchCache cache data files must not be changed during Hosted Cache data file backup, restore, or migration. If the file modification time is changed during one of these activities, the Hosted Cache data file will become invalid.
BranchCache and System Restore
BranchCache settings are saved by System Restore, but the BranchCache data cache is not. After using System Restore, the BranchCache settings take the values from the last restore point, but the contents of the cache will not change.
If you change the location of the cache file on a BranchCache client or on a Hosted Cache server after setting a System Restore point, you must manually move the BranchCache cache file to the location set by System Restore.
If you change the cache location after restoring the system, the cache file may be overwritten.