<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://maytide.net/read.php/28.htm</link>
<title><![CDATA[HOWTO：通过 GPO 重定向 Favorites]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Windows Client]]></category>
<pubDate>Tue, 22 Jan 2008 03:53:03 +0000</pubDate> 
<guid>https://maytide.net/read.php/28.htm</guid> 
<description>
<![CDATA[ 
	<p>      GPO是管理员批量管理客户机的一种便利工具，通过 GPO 我们可以方便的讲用户数据重定向到文件服务器上，如：“我的文档”、“桌面”，这样得好处显而易见当客户机遭遇到系统崩溃或系统重置后关键的文档数据仍旧能被保存下来，此外一些企业也要求用户关键数据必须要保存在服务器上。</p><p>      现在有一个问题就是用户的收藏夹该如何同步呢？GPO 中默认并未提供收藏夹得重定向设置，在微软员工的 Blog 上发现了能够配置收藏夹重定向的 GPO 模板，代码如下：</p><p><div class="code">CLASS USER <br />CATEGORY !!WindowsComponents<br />  CATEGORY !!InternetExplorer<br />    CATEGORY !!IE_Favorites<br />       KEYNAME &quot;Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders&quot;</p><p>    POLICY !!IE_Favorites  <br />  #if version &gt;= 4<br />   SUPPORTED !!SUPPORTED_IE5<br />  #endif<br />  <br />  EXPLAIN !!IE_Favorites_Location_Explain <br />        <br />  PART !!IE_Favorites_Location_Tip1       TEXT <br />  END PART </p><p>  PART !!IE_Favorites_Location   EDITTEXT EXPANDABLETEXT <br />  VALUENAME Favorites<br />  DEFAULT &quot;%USERPROFILE%\Favorites&quot;<br />  REQUIRED<br />      END PART <br />    END POLICY </p><p>     END CATEGORY ;; IE_Favorites<br />  END CATEGORY ;; Internet Explorer<br />END CATEGORY ;; WindowsComponents</p><p> <br />[strings]</p><p>WindowsComponents=&quot;Windows Components&quot;<br />IE_Favorites=&quot;Favorites&quot;<br />IE_Favorites_Location=&quot;The path to the favorites folder&quot;<br />IE_Favorites_Location_Explain=&quot;Specify the path to the location of favorites. You can use variables like %USERPROFILE%, %USERNAME%, etc... Both local and UNC paths are valid.&quot;<br />IE_Favorites_Location_Tip1=&quot;Specify the UNC path to the favorites location&quot;<br />InternetExplorer=&quot;Internet Explorer&quot;<br />SUPPORTED_IE5=&quot;at least Internet Explorer v5.01&quot;</div></p><p>      将以上代码使用扩展名为“adm”进行保存，之后导入到GPO中即可。</p><p>      具体的操作步骤如下：</p><p>      首先，进入GPO编辑，切换到用户配置下的管理模板，右键点击添加删除模板。</p><p><img src="http://goxia.maytide.net/up/1200974741.jpg" /></p><p>      添加事先准备好的 GPO 模板。</p><p><img src="http://goxia.maytide.net/up/1200974759.jpg" /></p><p>      添加后我们即可在途中所示位置看到 Favorites 这个设置，但是在右边视图中却未看到具体的设置项，别急继续下一步。</p><p><img src="http://goxia.maytide.net/up/1200974787.jpg" /></p><p>      在视图区域右键单击，点击筛选。</p><p><img src="http://goxia.maytide.net/up/1200974804.jpg" /></p><p>      去掉“只显示能完全管理的策略设置”，之后我们即可看到具体的设置。</p><p><img src="http://goxia.maytide.net/up/1200974820.jpg" /></p><p>      双击 Favorites，填写重定向路径，根据我的实际情况我将 Favorites 重定向到与“我的文档”同样的用户目录位置中，即：“\\dc\userfiles\%USERNAME%\Faorites”</p><p><img src="http://goxia.maytide.net/up/1200974835.jpg" /></p><p><img src="http://goxia.maytide.net/up/1200974849.jpg" /></p>
]]>
</description>
</item>
</channel>
</rss>