![]() Specifically, Everyone, Local System and Creator Owner need not be granted permissions, neither on the share nor in the file system. The permissions listed in MS KB2512089 are, at best, misleading. Offline Files do not require any special permissions on the file server. No synchronization occurs by default, but background synchronization can be enabled through the Group Policy setting Configure Background Sync. In manual offline mode, all reads and writes go to the local cache. In auto offline mode, all reads and writes go to the local cache. This can be changed through the Group Policy setting Configure Background Sync. The local cache is background-synchronized with the file server every 6 hours (Windows 7) or 2 hours (Windows 8), by default. In slow link mode, changes to files are made in the local cache. Reads are satisfied from the local cache (if in sync). In online mode, changes to files are made on the file server as well as in the local cache (this induces a performance hit – see this article for details). Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCacheĪllowed value data: 1-1440 Reads, Writes and Synchronization The default delay of 5 minutes can be changed by setting the following registry value: Once initial synchronization has completed, logon synchronization is attempted 5 minutes after every logon. Once the initial synchronization has completed, the offline files icon in the notification area of the system tray is displayed: When a user first logs on to a computer, initial synchronization occurs in the background. The latency value of 35/80 ms is configurable through the Group Policy setting Configure slow-link mode. If the average round-trip time is below 80 ms (Windows 7) or 35 ms (Windows 8), the connection is put into online mode, otherwise into slow link mode. To determine the connection speed two pings with default packet size are sent to the file server. The user can always override the automatic mode selection by manually switching to manual offline mode. Offline Files transition between the three modes online, slow link and auto offline depending on connection speed. Offline Files have four modes of operation: Architecture Modes: Online, Slow Link and Offline Many messages are cryptic and difficult to interpret. Readability of the logs generated by Offline Files is generally bad. Analytic and Debug have always been empty during my tests. In it you can find one entry per synchronized file. Out of these logs, SyncLog is the most interesting. Each of those can be (and has to be) enabled separately. By default, only an Operational log is there, but if you enable Show Analytic and Debug Logs in View menu, you also get logs called Analytic, Debug and SyncLog. Offline Files messages are logged to a well-hidden part of the event log only: Application and Services Logs -> Microsoft -> Windows -> OfflineFiles. Tip: Set a filter in Group Policy Management Console that only includes settings for Windows 7. In the computer part, only 10 out of the 28 settings are relevant to Windows 7. In enterprise environments, Offline Files are configured via Group Policy, the relevant node is Administrative Templates -> Network -> Offline Files.Ĭaution: Most settings do not apply to Windows 7, but to older operating systems. Nor does it help much if things do not work the way you think they should be working. The documentation Microsoft provides is not detailed enough to implement Offline Files in larger production environments. If you want to know what is really going on under the hood, you are mostly on your own. Please note: Although this article originally targeted Windows 7, most if not all of its content applies to Windows 8, too. This article lists the gotchas I am aware of. Today – in Windows 7 SP1 with all post-SP1 fixes – Offline Files is a technology that still has its problems, but can be used in production – if you are adventurous. But Microsoft has gradually improved the functionality and ironed out many of the bugs. Many an administrator can tell a story where Offline Files caused issues that sometimes even required a reinstallation of the affected PC. Set objFolder = objFSO.Windows Offline Files have a bad reputation. If objFolderSecuritySettings.GetSecurityDescriptor(objSD) = 0 Then ObjWMIService.Get("Win32_LogicalFileSecuritySetting='"
0 Comments
Leave a Reply. |