Windows 7 and Offline Files - Sync at logoff

All,
I have set up folder redirection in my organisation (testing purposes) The problem I am facing is Windows 7 will not automatically sync offline files back to the share.
There is a gpo for Windows XP to do this when a user is either is logging off on on. I am trying to accomplish the same when a user logs off and a script can be run to initiate a sync.
Please help.
This is the VBS script I am using, but does nothing when I run it. IS there something missing? A better solution?
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
' ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
' THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
' PARTICULAR PURPOSE.
' Copyright (c) Microsoft Corporation. All rights reserved.
' Usage: CscSyncAll.vbs [/Direction:in|out|inout] [/PinNewFiles:1:0] [/Conflicts:local|remote|latest] [/Machine:value] [/User:value] [/Password:value]
' Demonstrates how to sync the entire Offline Files cache.
const cComputerName = "LocalHost"
const cWMINamespace = "root\cimv2"
' Process commandline arguments
strComputerName = WScript.Arguments.Named("Machine")
If Len(strComputerName) = 0 Then strComputerName = cComputerName
strUserID = WScript.Arguments.Named("User")
If Len(strUserID) = 0 Then strUserID = ""
strPassword = WScript.Arguments.Named("Password")
If Len(strPassword) = 0 Then strPassword = ""
' Sync control flags from Win32_OfflineFilesCache.Synchronize
const fFillSparse = &H00000001
const fSyncIn = &H00000002
const fSyncOut = &H00000004
const fPinNewFiles = &H00000008
const fPinLinkTargets = &H00000010
const fPinForUser = &H00000020
const fPinForUser_Policy = &H00000040
const fPinForAll = &H00000080
const fLowPriority = &H00000200
const fAsyncProgress = &H00000400
const fInteractive = &H00000800
const fConsole = &H00001000
const fSkipSuspendedDirs = &H00002000
const fBackground = &H00010000
const fCrKeepLocal = &H10000000
const fCrKeepRemote = &H20000000
const fCrKeepLatest = &H30000000
const wbemFlagSendStatus = &H00000080
SyncControlFlags = fSyncIn + _
fSyncOut + _
fPinNewFiles + _
fPinForUser + _
fConsole + _
fInteractive
strDirection = WScript.Arguments.Named("Direction")
If Len(strDirection) <> 0 Then
if LCase(strDirection) = "in" Then
SyncControlFlags = SyncControlFlags - fSyncOut
Elseif LCase(strDirection) = "out" Then
SyncControlFlags = SyncControlFlags - fSyncIn
Elseif LCase(strDirection) = "inout" Then
' Do nothing. Flags already indicate in/out
Else
Wscript.Echo "Invalid direction value [" & strDirection & "]"
Err.Raise 507 ' "an exception occured" error
End if
End if
strPinNewFiles = WScript.Arguments.Named("PinNewFiles")
If Len(strPinNewFiles) <> 0 And strPinNewFiles = "0" Then
SyncControlFlags = SyncControlFlags - fPinNewFiles
End if
strConflicts = WScript.Arguments.Named("Conflicts")
If Len(strConflicts) <> 0 Then
If LCase(strConflicts) = "local" Then
SyncControlflags = SyncControlFlags + fCrKeepLocal
Elseif LCase(strConflicts) = "remote" Then
SyncControlFlags = SyncControlFlags + fCrKeepRemote
Elseif LCase(strConflicts) = "latest" Then
SyncControlFlags = SyncControlFlags + fCrKeepLatest
End if
End if
Set objWMILocator = WScript.CreateObject("WbemScripting.SWbemLocator")
Set objWMIServices = objWMILocator.ConnectServer(strComputerName, _
cWMINameSpace, _
strUserID, _
strPassword)
Set objCache = objWMIServices.Get("Win32_OfflineFilesCache=@")
Set objParams = objCache.Methods_("Synchronize").InParameters.SpawnInstance_
Set objSink = WScript.CreateObject("WbemScripting.SWbemSink", "SINK_")
Set objItemInstances = objWMIServices.InstancesOf("Win32_OfflineFilesItem")
' Set up the API arguments
Dim ItemPaths(0)
objParams.Paths = ItemPaths
objParams.Flags = SyncControlFlags
' Constants for cache item types
const cFile = 0
const cDirectory = 1
const cShare = 2
const cServer = 3
' Execute the sync action on each share in the Offline Files cache.
For Each objItem in objItemInstances
If cShare = objItem.ItemType Then
ItemPaths(0) = objItem.ItemPath
objParams.Paths = ItemPaths
objWMIServices.ExecMethodAsync objSink, "Win32_OfflineFilesCache", "Synchronize", objParams, wbemFlagSendStatus
End If
Next
' Loop until we receive an OnCompleted event
bDone = False
While Not bDone
wscript.sleep 1000
Wend
Sub SINK_OnProgress(UpperBound, Current, Message, objContext)
DIM PART_REASON, PART_RESULT, PART_RESULTMSG, PART_PATH
DIM REASON_BEGIN, REASON_END, REASON_ITEMBEGIN, REASON_ITEMRESULT
DIM Reasons(3)
' The message is composed as follows:
' <reason>:<result>:<result msg>:<path>
' <reason>
' Integer indicates reason for progress callback.
' Values are:
' 0 - "Begin" overall operation
' 1 - "End" overall operation
' 2 - "Begin Item" operation
' 3 - "Item result"
' <result>
' Integer result code; HRESULT.
' <result msg>
' Text describing the result. In most cases this is translated using
' the Win32 function FormatMessage. In some cases a more descriptive
' message is provided that is better aligned with Offline Files.
' <path>
' UNC path string associated with the progress notifcation. This is
' empty for the "Begin" and "End" notifications.
' Define indexes of the various parts in the message.
PART_REASON = 0
PART_RESULT = 1
PART_RESULTMSG = 2
PART_PATH = 3
' The reason codes present in the <reason> part.
REASON_BEGIN = 0
REASON_END = 1
REASON_ITEMBEGIN = 2
REASON_ITEMRESULT = 3
' split the message into the 4 parts and extract those parts.
Parts = Split(Message, ":", -1, 1)
Reason = CInt(Parts(PART_REASON))
Path = Parts(PART_PATH)
Result = CLng(Parts(PART_RESULT))
ResultMsg = Parts(PART_RESULTMSG)
Select Case Reason
Case REASON_ITEMRESULT
WScript.Echo Path
if 0 <> Result then
Wscript.Echo " Error: " & Hex(Result) & " " & ResultMsg
end if
Case REASON_END
if 0 <> Result then
Wscript.Echo "Error: " & Hex(Result) & " " & ResultMsg
end if
End Select
End Sub
' Called when the operation is complete.
Sub SINK_OnCompleted(HResult, objLastError, objContext)
bDone = True
End Sub
*This code was pulled from: http://blogs.technet.com/b/filecab/archive/2007/04/26/cscsyncall-vbs-sync-the-entire-offline-files-cache.aspx

Hi,
Please know that Offline Files in Windows 7 uses Bitmap Differential Transfer. Bitmap Differential Transfer tracks which blocks of a file in the local cache are modified while you are working offline and then sends only those blocks to the server. In Windows
XP, Offline Files copies the entire file from the local cache to the server, even if only a small part of the file was modified while offline.
How the synchronization in Windows 7 Offline Files works
http://blogs.technet.com/b/netro/archive/2010/04/09/how-the-synchronization-in-windows-7-offline-files-works.aspx
That should be the cause of the issue that your script didn't work.
Considering that the issue should be related to the script, I suggest to post the question on Script Center forum for further help.
Script Center forum:
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. 
Thanks for understanding.
Kate Li
TechNet Community Support

Similar Messages

  • 2008 R2/ Win7 Offline Files Sync causing High Load on server

    Hi Everyone,
    I have recently been investigating extremely high CPU Usage from the System Process on my company's main File Cluster.
    We managed to track SRV2.sys Threads causing high CPU load within the system process, but was having issues identifying why this was the case.
    As per Microsoft's direction via support call, we have installed the latest SRV2.sys Hotfixes, but this does not appear to have allivated the issue we are experiencing. We have also added more CPU and Memory into both nodes, which has not helped either.
    We have since managed to create a system dump and is being sent to MS Support for analysis.
    I have noticed the following that appears to happen on our cluster:
    Whenever our CAD/Design department run certain functions within their apps running on a windows 7 client (apps include MicroStation, Revit, AutoCAD etc) we see a massive spike and flatline of the system process.
    We found several users with Windows 7 clients that have Configured Offline File to sync an entire Network Volume (some volumes are 2TB Plus, so would never fit on a users computer anyway, i was quite shocked when I found this). How we spotted this was through
    Resource Monitor, the System Process was trolling through all the folders and files in a given volume (it was "reading every single folder). Now, while this was the system process, we could identify the user by using the Open Files view in Server Manager's
    Share and Storage Management tool.
    I have done a fair bit of research and found that a lot of CAD/Drawing applications in the market have issues with using SMB2 (srv2.sys). When reviewing the products that we use, I noticed that a lot of these products actually recommended disabling SMB2
    and reverting to SMB1 on File Server and/or the clients.
    I have gone down the path of disabling SMB2 on all Windows 7 clients that have these CAD Applications installed to assist with lowering the load (our other options are to potentially shift the CAD Volumes off our main file cluster to further isolation these
    performance issues we have been experiencing.) We will be testing this again tomorrow to confirm that the issue is resolved when mass amounts of CAD users access data on these volumes via their CAD Application.
    We only noticed the issue with Offline Files today with trying to sync an ENTIRE Volume. My questions are:
    Should Offline File sync's really cause this much load on a File Server?
    Would the the size of the volume the sync is trying to complete create this additional load within the system process?
    What is the industry considered "Best Practice" regarding Offline Files setup for Volumes which could have up to 1000+ users attached? (My personal opinion is that Offline Files should only be sync of user "Personal/Home" Folders
    as they users themselves have a 1 to 1 relationship with this data.)
    Is there an easier way to identify what users have Offline Files enabled and "actually being used" (from my understanding, Sync Center and Offline Files are enabled by default, but you obviously have to add the folders/drives you wish to sync)?
    If I disable the ability for Offline Files on the volumes, what will the user experience be when/if they try to sync their offline files config after this has been disabled on the volume?
    Hoping for some guidance regarding this setup with Offline Files.
    Thanks in Advance!
    Simon

    Hi Everyone,
    Just thought I would give an update on this.
    While we're still deploying http://support.microsoft.com/kb/2733363/en-us to
    the remainder of our Windows 7 SP1 fleet, according to some Network Traces and XPerf that were sent to MS Support, it looks as though the issu with the Offline Files is now resolved.
    However, we are still having some issues with High CPU with the System Process in particular. Upon review of the traces, they have found a lot of ABE related traffic, leading them to believe that the issue may also be caused by ABE Access on our File Cluster.
    We already have the required hotfix for ABE on 2008 R2 installed (please see
    http://support.microsoft.com/kb/2732618/en-us), although we have it set to a certain value that MS believe may be too high. Our current value is set to "5", as that is the lowest level of any type of permission is set (i.e. where the lowest level of inheritance
    is broken).
    I think I will mark this as resolved regarding the Offline Files issue (as it did resolve the problem with the Offline Files)...
    Fingers crossed we can identify the rest of the high load within the System Process!!!

  • Windows 7 Offline Files Enhancements - SMB2 Required?

    I have used Windows 2000/XP Offline Files functionanlity before, and it was pretty much useless. Too many issues to make it a reliable solution.
    Moving foward to Windows 7 now, and I've been reading on the many enhancements that Offline Files has now, and in my initial testing it seems 1000X better than previous versions.
    My problem is... We have a NetApp device in place that currently has SMB2 disabled on all shares. We needed to do this some time ago for some reason, but now that we have 7500 users accessing the shares, we need to test thoroughly in order to re-enable SMB2.
    Basically, my question is: Do we need to enable SMB2 to take advantage of the Bitmap Differential Transfer feature of Windows 7 Offline Files? I can't seem to find any solid information, and don't know how to test it on my Windows 7 test machines.

    Hi,
    Sorry for my dilatory reply.  In my opinion, I would like to suggest you enable SMB2 to use Windows 7 feature-Offline Files.
    Here contents is a explain come from Technet Blog.
    SMB (Server Message Block) is a remote file protocol commonly used by Microsoft Windows clients and servers that dates back to 1980’s. Back when it was first used, LANs speeds were typically
    10Mbps or less, WAN use was very limited and there were no Wireless LANs. Network security concerns like preventing man-in-the-middle attacks were non-existent at that time. Obviously, things have changed a lot since then. SMB did evolve over time, but it
    did so incrementally and with great care for keeping backward compatibility. It was only with SMB2 in 2007 that we had the first major redesign.
    SMB2 has a numeber of performance improvements over the former SMB1 implementation.
    You can access to the link to check more description:
    http://blogs.technet.com/b/josebda/archive/2008/12/05/smb2-a-complete-redesign-of-the-main-remote-file-protocol-for-windows.aspx
    Roger Lu
    TechNet Community Support

  • Offline File Sync - Temp File Issues

    I just set up Offline File Sync and I've noticed that temp files (created when saving a file) are in still showing in my local folder. When I try to open one of these files, it says that it doesn't exist on the network location.
    It looks like the file is being created and then removed on the network but the local cache doesn't remove the copy properly. I've tried deleting the files as well as deleting temporary files via the Sync Center but neither work.
    I'd like to solve this so that the file list doesn't become crazy full with many saves from Excel files.
    Can someone please help?

    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as ‘Answered’ as the previous
    steps should be helpful for many similar scenarios.  <o:p></o:p>
    If the issue still persists and you want to return to this question, please reply this post directly so we will be notified to follow it up. You
    can also choose to unmark the answer as you wish.  <o:p></o:p>
    In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar
    problems.  <o:p></o:p>
    Thanks!<o:p></o:p>
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • I have windows and I have synced my ipad for the first time.  I am at step 6 of 6 where it downloading Safari safe browsing data.  It has been at this step for over an hour.  Is  that normal or should I stop it and start over?

    I have windows and I have synced my ipad for the first time.  I'm at step 6 of 6 Downloading Safari safe browsing data. I have been here at this step going on 2 hours.  Is this normal or is something wrong.

    Lyrics aren't supported in the Music app on iOS 5 on the iPad. These are user-to-user forums, they are not monitored by Apple (there are too many forums/threads/messages for that to happen). If you want to leave feedback for Apple then you can do so here : http://www.apple.com/feedback/ipad.html

  • Offline Files sync gives Access Denied on Windows 8.1 Enterprise

    A small number of our staff have now been issued with Windows 8.1 Enterprise hybrid tablet computers, however there is a problem with using Offline Files on them - when synchronising, it responds "Access Denied".
    The tablets have Windows 8.1 Enterprise with all the latest updates on them. Staff users have a home folder on the network under \\server\staff\homes\departmentname\username which gets mapped to U: and their My Documents is redirected there. The server is currently
    Windows Server 2003 R2 SP2.
    We have tried:
    Resetting the Offline Files cache using the FormatDatabase registry key
    Using Group Policy Objects to force Offline Files synchronisation at logon and logoff
    Clearing the local cached copy of the user's profile from the machine and getting them to log back on to recreate it
    Setting up Offline Files event logging to the event viewer - this provides no useful information as it only logs disconnect/reconnect and logoff/logon events
    Forcing Group Policy update using gpupdate /force
    Forcing synchronisation using PowerShell and https://msdn.microsoft.com/en-us/library/windows/desktop/bb309189%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    As suggested by http://support.microsoft.com/kb/275461 we gave the All Staff security group Read permissions on F:\Staff (which is the one that is shared as \\server\staff) and then blocked inheritance for folders below that
    We also checked the following:
    The CSC cache has not been relocated
    No error 7023 or event 7023 errors relating to Offline Files are present in the event logs
    The Offline Files service is running
    The OS is already Windows 8.1 Enterprise, so installing the Pro Pack is not applicable
    In HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\UserState\UserStateTechnologies\ConfigurationControls  all the values are set to 0 and not 1
    We do not use System Center Configuration Manager
    No errors were found in the Folder Redirection event logs
    None of these solved the problem, does anyone have any suggestions?
    Here is the error we are seeing:
    Thanks,
    Dan Jackson (Lead ITServices Technician)
    Long Road Sixth Form College
    Cambridge, UK

    Hi,
    Generally speaking, this problem is most probably occurs at File Server Client. 
    Firstly, please check the sharing file Sync Settings.
    Shared file properties\Sharing\Advanced Sharing\Caching 
    Also check shared file user list, make sure these problematic user account have full permission.
    On the other hand, could you able to access to the shared file directly in Windows Explorer?
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Yes, the user can access the shared folder in Windows Explorer. The user has the following permissions:
    Traverse Folder/Execute File
    List Folder/Read Data
    Read Attributes
    Read Extended Attributes
    Create Files/Write Data
    Create Folders/Append Data
    Write Attributes
    Write Extended Attributes
    Delete
    Read Permissions
    Here is a screenshot of how the Caching settings are set up on the top-level Staff share.

  • Windows Offline Files / Sync Center - 99GB?? bug?

    Currently have a laptop connected to a domain where the user's My Documents folder is set up in Sync Center... while the laptop is on the network everything is fine and dandy, however once the user disconnects a good portion of the files and folder show
    a gray X indicating that they haven't sync'd over a local copy. When going into the 'Disk usage' tab for Sync Center, everything shows as 99GB used, 99GB available and the drive size is 999GB. If I do a manual sync I see that it fails due to not enough offline
    cache space. Attempts to change it with the 'Change size' button have failed as nothing shows up when I click on that button. Free disk space shows up as roughly 24GB free and Windows Scan Disk reveals nothing wrong with the drive. Help!

    Hi,
    Did this issue occur before ? Did the machines in the domain share the same issue with you?
    1.If the issue occured occasionally, I recommend you to  manually re-initialize the offline files database/client-side cache following this link:
    How to re-initialize the offline files cache and database in Windows XP (Win7 takes with the same path)
    https://support.microsoft.com/kb/230738?wa=wsignin1.0
    2.This issue may be caused by the group policy,please check the following policies according to the path.If you have no permission to change the policies ,please contact with your administrator.
    Here is the policies path:
    Computer Configuration\Administrative Templates\Network\Offline Files
    Limit disk space used by off line files
    Default cache size
    Prohibit user configuration of Offline files
    Here is the link for reference:
    Fixing OffLine File Cache Problems Using Group Policy
    http://www.falconitservices.com/support/KB/Lists/Posts/Post.aspx?ID=158 (link from official website would be better)
    NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
    3.If the issue persists, please check the Event Viewer for related error information.
    This path may be helpful:
    Event Viewer \Applications and Services\Microsoft\Windows\Offline Files
    Best regards 

  • Windows 8 offline files and Time Capsule

    Hello,
    For a number of years I've had a Windows XP Pro laptop connecting to my Time Capsule, with the drive mapped and folders set to 'Make available offline'. Everything worked perfectly.
    Now I have a new Windows 8 Pro laptop, and am connecting to the Time Capsule in the same way, with the drive mapped.  However, now when I make a folder 'Always available offline' I get errors in the Sync Center saying 'The process cannot access the file because it is being used by another process.'
    Without going into all the details right now, I've tried a few things I found in various threads here (mostly Windows 7 related), like:
    - setting LmCompatibilityLevel,
    - setting EnableOplocks,
    - enabling 40- and 56- bit file sharing encryption,
    - disabling offline files then re-enabling it, and a variety of other things.
    I also can happily make folders available offline on other network disks, so it is just the TC which has the problem.
    Any ideas folks?
    Thanks in advance.

    Hi Roger,
    Thanks for your reply, but I'm afraid your suggestion hasn't worked.
    I added that DWord value ([HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "EnableLinkedConnections"=dword:00000001) into the registry and rebooted while connected to our network.  When
    I logged back on, I'd lost my network mapping completely.  I ran a gpupdate /force to reapply the group policy.  When I logged back on, the drive mapping was back but incorrectly - it was mapped to the root of the 'Users' directory on the file server
    instead of users\username as it should be.
    I deleted the registry key, rebooted and my drive mapping was back to users\username as expected.  However, it still loses the mapping as soon as I do an offline reboot.
    The 'Reconnect' option is not checked in our Group Policy.
    Ros

  • Windows 7 offline files do not sync real time while online?

    I have network folders setup for use offline. When im online and another user deletes files from those folders, i dont see those deletions until i reboot or force a manual sync. How do you make that to show real time. So that when another user deletes files
    in folders i have set to use offline... however im online connected/authenticated to the network, i can see those changes real time.
    thanks,

    Wow, nearly two years since this question was posted and still no worthwhile contribution from Microsoft. 
    We are also seeing behavior similar to this.  We're running Windows 7 clients on a SBS 2011 network.  We are not doing folder redirection, but rather we have users taking certain file shares offline to work from home or on the road (works much
    better/faster than the VPN).  However, when they get back to the office occasionally they find themselves editing the same file another user is, or referring another user to check out a file they created while offline which is not actually in the share.
    Turns out their PC is using the local cache and not the network cache for some file access, but it insists that the user is working online.  Typically if the user forces a manual sync and resolves any conflicts or errors that arise, they can be 99 percent
    sure they are working online for real, but without double-checking against open files on the server there's really no way to know for sure.  This has absolutely destroyed user confidence in this technology which used to work OK (where this is concerned
    anyway - it still had some flaws) in Windows XP. 
    I saw a post in the partner forum where a moderator basically said "oh yeah, I can totally reproduce that in my lab and that's a shame...try Sharepoint."  Absurd.
    Seems like Microsoft is basically taking the stance that Offline Files is only worth using for folder redirection where only one user is likely to be using the files.  If that's the case then as long as the data syncs eventually it's probably not
    a huge deal that this happens.  If, however, you're using Offline Files to sync a shared directory this can have disastrous consequences with documents being edited simultaneously for hours or even days before finally someone realizes the problem and
    then one user or the other gets to redo their changes.
    If they can't make them work right, then they could at least give us more transparencey so the user can see what's going on.  I hated the stupid "you are now working offline" popups in Windows XP as much as the next guy, but I'd kill to get them
    back now, if only to avoid this stuff.  When a user browses to their share that's been made "always available offline" and it says "Offline status: Online" then it should be using files from the LAN, not the cache.

  • Win7 Offline Files sync error after upgrade to Lion Server 10.7.2

    Symptom: client is a Win7 laptop, the server is Mac OS X 10.7.3 Lion Server with SMB and AFP shares. Win7 Offline Files stopped working after I upgraded Snow Leopard (non-server version) to Lion Server 10.7.2. After updating to 10.7.3, the problem persists. When syncing, it gives thounsands of error like this: The process cannot access the file because it is being used by another process. WinXP clients are fine with the Offline Files function though.
    I Googled and studied online for several days now and it might be related to the "Oppurtunistic Locking", or "Oplocks" for short, in the SMB protocol. Since Apple has re-written Samba, there's no "smb.conf" anymore to change the Oplocks setting. Maybe it's possible to change the setting in "com.apple.smb.server.plist"?
    From the Internet:
    1. Oplocks should be DISABLED on the server if there is any other file sharing protocol (AFP, etc.) other than SMB.
    2. Offline Files will NOT work properly if Oplocks is disabled on the server side.
    3. It was possible to config oplocks setting in smb.conf in Mac OS X versions prior to Lion but now there's no such config file.
    My Question:
    1. Does anyone else have similar problems?
    2. Is it related to the Oppurtunistic Locking thing?
    3. Is Oppurtunistic Locking enabled or disabled in Lion Server by default?
    4. If it's related to Oplocks, how can I change the setting on the server?
    5. I've noticed that the authentication from Windows PCs to the SMB share on the Lion Server is much slower then in SL. Could this somehow be related to my problem?
    Thanks for your time! :-D

    Any luck getting the info on SMBX parameters like OPLOCKS ? This is apparently causing an issue with Autodesk Revit. I am resorting to installing SMBUP.
    There is an article that describes this method for altering the Lion smbd configuration parameters for honoring ACLs:
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server AclsEnabled -bool NO
    from this article
    http://support.apple.com/kb/TS4149
    and this:
    http://www.stanford.edu/group/macosxsig/blog/2011/08/enable-logging-with-107-smb x-w.html

  • Web Premium CS4 and Offline Files Issue

    My system: Multiple notebooks, laptops running Windows 7 Ultimate, all on a Microsoft Small Business Server 2008 network.
    I have My Documents, My Pictures, and My videos folders rehomed to the server via group policy, and when I unplug from the network these folders are available to the disconnected laptop/pc via offline files (and the offline file cache).
    My issue: When I install Web Premium CS4 on any machine, if my laptop/pc is disconnected from the network, the offline folders disappear, although the offline file management snap-in tab shows the cache is stored, and when I plug back in to the network, the folders will soon appear. When the folders are visible, the offline status shows "Always available offline".
    When I uninstall CS4, the trouble does not get fixed, but a barebones install from a disk image prior to CS4 installation fixes the problem, making me think adobe somehow changes network/registry settings to accomodate their own cache, or maybe something to do with the Adobe Bridge (just guessing). This happens on both 64 bit and 32 bit versions of Win 7.
    I have duplicated this issue on 3 different laptops, all with the same result. I opened a case with Adobe, but my case was immediately closed saying it was a Microsoft/network issue. In fact, I would guess the person who worked the case dismissed this out of hand, the case got closed so quickly.
    Is there someone out there that has run into this issue?
    Thank you,
    Bob

    Was this issue ever resolved? We are in the process of deploying design premium to around 1000 faculty members, and are experiencing the same issue. I wont know till the end of the day whether i can say 100% that its a CS 4 issue but im running a test on 3 laptops with slightly different configs.
    All laptops are win7 enterprise, with folder redirection enabled, same symptoms are occuring.
    As a test, i have been testing the offline files at different stages in the laptop bundle deployment to see where it starts to fail. I sync mydocs, undock laptop and then login to check offline files. I then wipe the CSC clean and move on to next step in deployment, and repeat check.
    We are at the last step in deployment, adobe design premium CS4, and there have been no failures with offline files so far. After it finishes deploying ill report on my findings.
    We have a ticket open with microsoft and  our sysadmin has been working with them for a few days to resolve the issue, and so far they have been baffled, escalating the ticket to a debug team. We have not yet mentioned that we suspect CS4 to be the issue, as they would probabily pass the buck and blame adobe, (similar to the OP saying adobe is blaming microsoft); we want them to fully investigate first.
    Sincerely,
    A Frustrated Team

  • Offline Files Sync Schedule

    Hello Everyone,
    I cannot find any clear documentation on this. 
    We have Windows 7 Machines connecting to Windows Server 2012 R2 Shares with redirected Desktop/Documents/Pictures shares with Offline Files enabled on a LAN.
    Do we need to schedule a sync, or will Offline Files 'just work' and sort itself out?
    To note, we initially had problems with clients filling up the cache, so we increased the cache via group policy - will Offline Files then cope fine and keep syncing or do we need to poke and prod it.
    I have read a lot of stuff regarding slow link settings but that doesn't seem to be us as we are on a gigabit LAN with good ping times. 

    Hi,
    You can configure the policy to synchronize during log on or log off. But in Windows 7, synchronization can happen automatically and in the background, without requiring the user to choose between online and offline modes.
    Alex Zhao
    TechNet Community Support

  • Windows 7 Offline files behaviour - automatically making 'shortcutted' files available

    I am a sysadmin with a few Windows 7 Professional machines in our network.
    The current setup for our users is folder-redirection, with offline files enabled for users with laptops (some of which are said Win7 users).
    This works fine, just, any shortcut files that are in the users profile (that are made available offline) make the target of the shortcut available offline aswell. Though I see the benefit of this, it is not a behaviour we want.
    For example if user 'dave' has a shortcut on \\server1\users\dave\desktop, that points to \\server2\files\shortcut_target.doc (i.e. a directory we don't want to have offline file behaviour with) - it will make both files available offline.
    I'm positive it is related to shortcuts, as the files are always shortcutted somewhere in the users profile and the majority of these files come from word's recent documents folder, and other similar folders for different program.
    If theres anyway to change this behaviour please let me know, even if it is just a registry edit.
    Thanks Dan

    Hi,
    “For example if user 'dave' has a shortcut on
    \\server1\users\dave\desktop, that points to
    \\server2\files\shortcut_target.doc (i.e. a
    directory we don't want to have offline file behaviour with) - it will make both files available offline.”
    Based on my knowledge, Windows only synchronous the shortcut in this offline folder. What do you mean “it will make both files available offline.”
    For further research, I suggest you may enable sync log and try to repro this problem. Then move to Event Viewer -> Applications and Service Logs ->
    Microsoft -> Windows -> OfflineFiles, right click SyncLog and chose “Save all event as…” to export these event log.  Here is my e-mail:
    [email protected].  You could contact me, then
    I would assist you for this problem.
    Please refer following to enable SyncLog:
    How to enable the "SyncLog Channel"
    ===========================================
    Offline Files defines four event channels through the Windows Event Viewer.
    The channels are listed under the following hierarchy in the left-most pane of the viewer,
    Event Viewer -> Applications and Service Logs -> Microsoft -> Windows -> OfflineFiles
    If you see only one channel in the event viewer it will be the "Operational" channel. The remaining channels are known as Analytic or Debug
    channels. The Windows Event Viewer does not display these additional channels by default. They must first be enabled.
    To enable Analytic and Debug logs, highlight the "OfflineFiles" entry in the Event Viewer left pane. Select the "View" menu and check the
    option titled "Show Analytic and Debug Logs".
    While four channels are defined, only two are currently in use in Windows 7.
    SyncLog Channel
    ================
    This channel is of the "Analytic" type as defined by the Windows Event viewer. Because this is an "Analytic" channel, you must enable the
    channel before events are generated to the associated log. To enable this channel, right click on the "SyncLog" entry in the left pane of the Event Viewer. Select the "Enable Log"
    option.
    This may also be configured using the channel’s Properties page, also accessible through the Event Viewer. When you no longer want
    to collect SyncLog events, disable the channel using the same method ("Disable Log" option).
    The purpose of this channel is to generate events specific to synchronization activities within the Offline Files service.
    This may be helpful when questions arise about why a particular item is or is not being synchronized or questions about why a particular
    sync operation is failing.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Windows 7 Offline Files Recovery

    Thanks for all your help!
    Facts: Domain Network, Server 2012, Folder Redirection Enabled (Docs Only), Shadow Copy Enabled, Windows 7 Clients
    I have a domain user who was not syncronizing with the server through Folder Redirection. We deployed a GPO to disable Offline files and sure enough, she reported that her files went missing. We looked at the Shadow copies only to find that the folders are
    in fact empty.
    Attempts: Shadow Copy, HBCD (to access the CSC folder offline, turned up empty)
    Are there any tools or techniques that I am missing here to recover her files? Remember this is Windows 7.
    All your help is much appreciated.

    Hello all,
    Just thought I should come back and share my findings.
    FolderRedirection can be a useful tool, but can be a pain if used or removed improperly. I found that permissions can play a role in Syncing documents, if permissions are modified for whatever reason in the server, it will not always sync properly and the
    user will mostly not notice. This will cause your system to hold "temp" files on your pc.
    I had success with Recuva for file recovery but mostly the classic HBCD, this allowed me to browse the contents of CSC without hassles, and move to the local drive. The particular machine in question did not turn out successful, but these methods worked
    for the remaining.
    Thanks to all for your help.

  • Folder Redirection and Offline Files

    I have Users documents and Favorites redirected using GPO Folder redirection. So everyone has their data redirected to the server. With the feature Always available offline. Then My raid crashed and that Drive become offline. after 24 HRS everyone got
    their Local copy of their files back. 
    Now Why did it take around that much time. The server that used to host the Files was down for 2-3 hrs. Later on I had the server up without the Raid.
    Also 2 users reported that they can see their files but its greyed out with an x and can't access it. Found out they had Always available Offline unchecked . Not sure how did that happened.
    So now I am going to add a new server with the same name and will follow direction to create the Folder and share it according
    http://support.microsoft.com/kb/274443/en-us
    Q 1   What will happen when that Shared folder comes online where user used to redirected their files and now its empty. will all the local files get redirected
    Q 2   If it doesn't work how can I bring users local copy available right away with out waiting for so long. Does it have any thing to do with the server being offline or online ?
    Thanks

    Hi,
    >>
    Q 1  
    What will happen when that Shared folder comes online where user used to redirected their files and now its empty. will all the local files get redirected
    Does this mean that what will happen after we create a new share path with the same path name as the previous failed one? If it’s this case, based on my knowledge, local files
    won’t get redirected, for they are just caches and the real files are on the failed share path.
    >>If it doesn't work how can I bring users local copy available right away with out waiting for so long. Does it have any thing to do with the server being offline
    or online ?
    As far as I know, we need to access the original share path and sync our offline files with it.
    Best regards,
    Frank Shen

Maybe you are looking for

  • How do I get iTunes music to stream to stereo?

    I just bought a new MacBook Pro and a Time Capsule. The Time Capsule has been connected to a cable modem. Now my old Airport Express will not work. It's light glows amber. Is there a way to use this Airport Express only for music streaming, even thou

  • Mac book pro my speakers not working

    Why my mac bookpro 17" spakers not working? Also left side two USB ports are also not working.What can be the problem, Is there is fuses for these usb ports and for speakrts.

  • PHP/mySQL code help please

    Hi all, Thanks to David Powers fab tutorial I am now well on my way to competeing my first dynamique website using PHP/mySQL, (thanks David ), however I am stuck on one particular area....can anyone please help? I know that the mySQL database uses th

  • [Solved] Cannot run minecraft

    Since I got my new Thinkpad X220, I can't run minecraft with this new arch linux installation. I got sun's jre and jdk installed. Got the [testing] repo enabled. When I try to run it, java segfaults. # A fatal error has been detected by the Java Runt

  • How to get previous version DC

    to revort changes made by us