<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rickey Whitworth&#039;s Blog &#187; Offline Files</title>
	<atom:link href="http://www.whitworth.org/tag/offline-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whitworth.org</link>
	<description>insights from managing a microsoft enterprise infrastructure</description>
	<lastBuildDate>Tue, 22 Jun 2010 17:12:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Make your job more difficult by using My Documents Redirection and Offline Caching &#8211; Part 1</title>
		<link>http://www.whitworth.org/2008/01/28/make-your-job-more-difficult-by-using-my-documents-redirection-and-offline-caching-part-1/</link>
		<comments>http://www.whitworth.org/2008/01/28/make-your-job-more-difficult-by-using-my-documents-redirection-and-offline-caching-part-1/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 16:33:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[Offline Files]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,7b1b332a-9d93-472f-80f6-c49434744394.aspx</guid>
		<description><![CDATA[Â 
Maybe later I will write an introduction to that title, but for now, just know that
I am in charge of a corporate network that has been using My Documents redirection
in combination with Offline Caching for many, many years. I am convinced the cost
overhead involved with this technology far outweighs and productivity gains that we
get. Don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Â </p>
<blockquote><p>Maybe later I will write an introduction to that title, but for now, just know that<br />
I am in charge of a corporate network that has been using My Documents redirection<br />
in combination with Offline Caching for many, many years. I am convinced the cost<br />
overhead involved with this technology far outweighs and productivity gains that we<br />
get. Don&#8217;t get me wrong, I believe offline caching has its place, just not as an all<br />
encompassing corporate policy. Also, this is not meant to bash Microsoft. I just want<br />
them to realize the real world frustrations that come from using a technology they<br />
promote so heavily.</p>
<p><strong>Reason Number 1</strong></p>
<p><strong>File caching is done on a per-system basis, so files cached by users other<br />
than the primary user who log onto the computer will have their files permanently<br />
added to the offline cache, even if they never plan to login to the system again.<br />
The only way to override this is to manually enter the primary user name in a registry<br />
key, and remember to change it whenever the primary user of the computer changes.</strong></p>
<p>One thing many people don&#8217;t realize is that offline file caching is not per-user,<br />
but per system. Take this scenario:</p>
<p><em>You are redirecting documents administratively by using My Documents redirection<br />
in group policy and choosing to make the files available offline. The primary user<br />
of the computer logs in and logs off, synchronizing his My Documents folder. Now a<br />
local cached copy exists for all of the files in his My Documents folder.</em></p>
<p><em>Now an administrator comes along, and he logs into the computer. Because he has<br />
the same group policy, his My Documents folder is redirected and made available offline.<br />
Now the offline file has files that appear like this:</em></p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="200" valign="top"><em>File Name</em></td>
<td width="200" valign="top"><em>File Path</em></td>
</tr>
<tr>
<td width="200" valign="top"><em>text1.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\user1"><em>\\server\share\home\user1</em></a></td>
</tr>
<tr>
<td width="200" valign="top"><em>text2.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\user1"><em>\\server\share\home\user1</em></a></td>
</tr>
<tr>
<td width="200" valign="top"><em>text1.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\admin"><em></em></a><a href="file://\\server\share\home\admin1">\\server\share\home\admin<br />
</a>1&gt;</td>
</tr>
<tr>
<td width="200" valign="top"><em>text2.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\admin"><em></em></a><a href="file://\\server\share\home\admin1">\\server\share\home\admin<br />
</a>1&gt;</td>
</tr>
</tbody>
</table>
<p><em></em>Â </p>
<p><em>User 1 now logs back into the computer, and when he goes to log off, his files<br />
and the administrators files are synchronized. Supposedly, offline caching tries to<br />
deal with this by looking at network security and making sure user1 only tries to<br />
synchronize files he has permissions to. But the admin files are still there.</em></p>
<p><em>On top of that, lets say you decide <a href="file://\\server\share">\\server\share</a> is<br />
a bad design for home shares because it is tied to a server. So you decide to change<br />
the path for all home shares to <a href="file://\\domain\dfs\home">\\domain\dfs\home</a>.<br />
Even if you get this working correctly for user1, you may still have problems because<br />
admin1 is still pointing to the old removed share in the cache. This means you need<br />
to run csccmd and move shares so that all the shares are moved.</em></p>
<p>Anyway, one way to deal with all of this was added in a hotfix that was included in<br />
Windows XP SP2. As the article explains, you are given the option to set registry<br />
keys and designate the primary user of the computer. In the future, all other user<br />
files cached are discarded at logoff.</p>
<p>Below is the KB Article (KB 811660) that references the registry changes that need<br />
to be made.</p></blockquote>
<p><a href="http://support.microsoft.com/kb/811660">Files that you add to the Offline<br />
Files folder on a Windows XP-based computer are synchronized when another person uses<br />
the computer</a></p>
<p><img src="http://www.whitworth.org/Blog/aggbug.ashx?id=7b1b332a-9d93-472f-80f6-c49434744394" alt="" width="0" height="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2008/01/28/make-your-job-more-difficult-by-using-my-documents-redirection-and-offline-caching-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating your Offline Files cache in Windows Vista to point to a new server</title>
		<link>http://www.whitworth.org/2007/09/25/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server/</link>
		<comments>http://www.whitworth.org/2007/09/25/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 13:47:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[Offline Files]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,9dfb4dfc-1cdc-46be-8261-416bb28bf21f.aspx</guid>
		<description><![CDATA[
&#160;



A newsgroup customer recently asked us how to synchronize his Offline Files with a
server after the server had been renamed. Offline Files in Windows Vista provides
scripting support to enable users to write custom scripts to perform such tasks. To
illustrate this, one of our Offline Files developers created a script that uses the
&#8220;rename&#8221; functionality offered by [...]]]></description>
			<content:encoded><![CDATA[<p>
&nbsp;
</p>
<blockquote>
<p>
A newsgroup customer recently asked us how to synchronize his Offline Files with a<br />
server after the server had been renamed. Offline Files in Windows Vista provides<br />
scripting support to enable users to write custom scripts to perform such tasks. To<br />
illustrate this, one of our Offline Files developers created a script that uses the<br />
&#8220;rename&#8221; functionality offered by the scripting model to rename the path in the local<br />
cache from the old server to the new server.&nbsp; </p>
<p>
Iâ€™ve added the script as a <a href="http://blogs.technet.com/filecab/pages/cscrenameitem-vbs.aspx">blog<br />
article</a>.&nbsp;Use the following syntax to run the script on each affected client. </p>
<p>
cscript CscRenameItem.vbs /OldItemPath:\oldserver /NewItemPath:\newserver </p>
<p>
Some notes on this operation: </p>
<ul>
<li>
The script must be run on every client with data cached from the original server.&nbsp;&nbsp; </p>
<li>
The script doesnâ€™t rename the item at the time it is run.&nbsp; It merely records<br />
the â€œoldâ€ and â€œnewâ€ names.&nbsp; A system restart is required to apply the change.&nbsp;<br />
When the system is restarted, Offline Files renames the server entry in the local<br />
cache according to the parameters provided to the script.&nbsp; Once the restart is<br />
complete, Offline Files will automatically synchronize the contents of the cache with<br />
the server of the new name. </p>
<li>
This processing does not validate the existence of the â€œnewâ€ name provided.&nbsp;<br />
If you provide the name of a server that does not exist, the affected files will remain<br />
in the Offline Files cache, unsynchronized with any server.&nbsp;&nbsp; </p>
<li>
Our example shows a rename for a server.&nbsp; The UNC paths provided can also reference<br />
a shared folder.</li>
</ul>
<p>
Youâ€™ll need to restart Windows Vista after successfully running this script.&nbsp;After<br />
the restart, the files cached for <a href="file://oldserver/">\oldserver</a> will<br />
now be cached for <a href="file://newserver/">\newserver</a>.&nbsp; </p>
<p>
&#8211;Jill
</p>
</blockquote>
<p>
<a href="https://blogs.technet.com/filecab/archive/2007/03/29/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server.aspx">The<br />
Filing Cabinet : Updating your Offline Files cache in Windows Vista to point to a<br />
new server</a>
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=9dfb4dfc-1cdc-46be-8261-416bb28bf21f" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2007/09/25/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronizing Offline Files from the command line in Vista</title>
		<link>http://www.whitworth.org/2007/09/25/synchronizing-offline-files-from-the-command-line-in-vista/</link>
		<comments>http://www.whitworth.org/2007/09/25/synchronizing-offline-files-from-the-command-line-in-vista/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 13:46:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[Offline Files]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,8bb10239-3e12-40dc-a935-72157a3f4fa7.aspx</guid>
		<description><![CDATA[
&#160;



A blog reader recently asked us how to synchronize Offline Files from the command
prompt instead of from the Sync Center as described in a previous
blog post. Good question! Synchronizing Offline Files from the command line is
performed using a WMI script.&#160;We have published two example scripts that illustrate
how to do this. 

The scripts are: 

CscSyncAll.vbs â€“
Sync [...]]]></description>
			<content:encoded><![CDATA[<p>
&nbsp;
</p>
<blockquote>
<p>
A blog reader recently asked us how to synchronize Offline Files from the command<br />
prompt instead of from the Sync Center as described in a <a href="http://blogs.technet.com/filecab/archive/2007/03/21/how-to-synchronize-offline-files-when-you-log-off-of-windows-vista.aspx">previous<br />
blog post</a>. Good question! Synchronizing Offline Files from the command line is<br />
performed using a WMI script.&nbsp;We have published two example scripts that illustrate<br />
how to do this. </p>
<p>
The scripts are: </p>
<p>
<a href="http://blogs.technet.com/filecab/pages/cscsyncall-vbs-sync-the-entire-offline-files-cache.aspx">CscSyncAll.vbs</a> â€“<br />
Sync the entire cache<br />
<a href="http://blogs.technet.com/filecab/pages/cscsync-vbs-sync-a-particular-unc-path.aspx">CscSync.vbs</a> â€“<br />
Sync a particular UNC path </p>
<p>
Note that most of the text in these scripts is for handling script switches and formatting/reporting<br />
progress. The code to actually perform the sync is relatively little. </p>
<p>
&#8211;Jill
</p>
</blockquote>
<p>
<a href="https://blogs.technet.com/filecab/archive/2007/05/01/synchronizing-offline-files-from-the-command-line.aspx">The<br />
Filing Cabinet : Synchronizing Offline Files from the command line</a>
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=8bb10239-3e12-40dc-a935-72157a3f4fa7" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2007/09/25/synchronizing-offline-files-from-the-command-line-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.597 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-29 07:43:29 -->
