我在 Windows 7 客户端 + Windows 2008 Server R2 上遇到了文件夹重定向问题。问题是在重定向文件夹(例如“我的文档”)中创建的文件永远不会同步回服务器。事实证明,出于某种原因,这些文件夹始终处于脱机模式,即使在注销或重新启动后也是如此。
客户端是全新安装的,我们没有设置任何与脱机文件相关的内容。我想知道是否有任何组策略设置可以让重定向文件夹与服务器正确同步,而无需在客户端计算机上强制执行?
答案1
您可以通过运行以下命令查看有效的组策略设置:gpresult /z > gp.txt
适用的设置和范围(机器或用户)如下。您可能想要测试“注销前同步所有脱机文件”。启用此设置将强制“完全同步”,并且“完全同步也会自动同步缓存文件”。这可能会在注销过程中造成明显的延迟。
http://technet.microsoft.com/en-us/library/cc961553.aspx
Policy Setting Name Scope
Action on server disconnect Machine
Administratively assigned offline files Machine
Allow or Disallow use of the Offline Files feature Machine
At logoff, delete local copy of user's offline files Machine
Configure Background Sync Machine
Configure Slow link speed Machine
Configure slow-link mode Machine
Default cache size Machine
Enable Transparent Caching Machine
Encrypt the Offline Files cache Machine
Event logging level Machine
Exclude files from being cached Machine
Files not cached Machine
Initial reminder balloon lifetime Machine
Limit disk space used by offline files Machine
Non-default server disconnect actions Machine
Prevent use of Offline Files folder Machine
Prohibit 'Make Available Offline' for these file and folders Machine
Prohibit user configuration of Offline Files Machine
Reminder balloon frequency Machine
Reminder balloon lifetime Machine
Remove 'Make Available Offline' Machine
Subfolders always available offline Machine
Synchronize all offline files before logging off Machine
Synchronize all offline files when logging on Machine
Synchronize offline files before suspend Machine
Turn off reminder balloons Machine
Turn on economical application of administratively assigned Offline Files Machine
Action on server disconnect User
Administratively assigned offline files User
Event logging level User
Initial reminder balloon lifetime User
Non-default server disconnect actions User
Prevent use of Offline Files folder User
Prohibit 'Make Available Offline' for these file and folders User
Prohibit user configuration of Offline Files User
Reminder balloon frequency User
Reminder balloon lifetime User
Remove 'Make Available Offline' User
Synchronize all offline files before logging off User
Synchronize all offline files when logging on User
Synchronize offline files before suspend User
Turn off reminder balloons User