Offline Files Issue

Hi all,
We seem to be having a strange issue with Offline Files and resolving conflicts. It seems that files that have had no change seem to be flagged as changed and show in the Conflicts list awaiting user input. However, when the user tries to resolve the conflict,
only the "Keep this version - Remote path" option clears the conflict! The "Keep this version - On this computer" just drops the dialog box but doesn't clear the conflict...
Note that a "real" conflict works resolves as expected (both options work)! 
Here is a screenshot of an example file - http://tinypic.com/r/20iyih2/8. As you can see nothing is different about the file.
A bit of background....
The clients are Windows 7 Ent SP1. We are running a Server 2012 File Server with a Domain Based DFS Namespace. The files that are having the issue are pointing to the shares under the DFS root. 
Has anyone come across this before, or does anyone have any ideas? 
Thanks,
Adam

Hi,
A strange issue, there're two same versions shown up in the "reolve conflicts" dialog box, which one is the real version, I mean which one is really modified? on this computer or on remote path? 
Does the "fake sync conflicts" only occurred in this particular document or occurred in all documents? Please also check if there're sync errors in the "view sync result" or in the event viewer.
Regards 
Yolanda
TechNet Community Support

Similar Messages

  • 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 file issues with windows 8.1 not responding

    Hi,
    I am trying to make a teachers home folder available offline so the teacher can access his work at home. I am using windows 8.1, and offline files is enabled. When I select the folder to make it available offline nothing happens, usually it should go through
    a process of making the folder available offline.
    Any help or advice will be helpful
    Thanks in advance

    Hi,
    Please check the offline setting in Sync Center first.
    Open Control Panel, then type offline in
    search bar and press Enter.
    Make sure Offline file is enabled.
    Also you can try to use a little txt file for test if it could be offline access.
    If problem persists, please check Event Viewer if it identify this problem.
    Roger Lu
    TechNet Community Support

  • X220 and Offline Files issue.

    My manager uses the offline files feature quite a lot and now she has moved to an X220 with Win 7 Pro 64-bit, however some days when she logs in she notices the sync icon isn't in the tray. When you go into offline files it says its enable but not active a restart will activate it. However rebooting leads to the same thing, instead I go into the services page and find that although set to auto the offline file service is not running, I click start and it kicks back into life.
    Now I have viewed the event viewer from when the computer starts and the Offline file service first starts then gchanges state to auto (delayed) then changes back to auto before finally saying that the service has stopped. All of these are info events as opposed to error or warning events. I know some services don't run even when set to auto as they are not needed however without offfline files service running no syncing is done and you also lose the "Always available offline" option when you right click a folder/file.
    If anyone has any ideas as to whyt the service is stopping that would be great.
    Mark

    It is caused by a bug in "RapidBoot" which is software that Lenovo preloads.  You can either (a) uninstall RapidBoot or (b) upgrade to the latest version which fixes this bug.  I recommend (a) - you won't miss RapidBoot by uninstalling it.  Sorry for your inconvenience.

  • 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!!!

  • Offline files - strange issue

    I just took on a short film in which an assistant editor handled the log and capture / file organization and handed off the project to me on a harddrive. The footage was captured from P2 cards, and I am not familiar with logging from P2.
    When I hooked up the HD in my own studio, a good 20 files showed up as offline. Strangely, I couldn't find any of the offline files searching throughout the project (though it is a very dense project and I could just be missing them). So, I did the obvious first thing to do and did a search within the project file for the offline clips. The search results for some reason showed clips with different names than those I was searching for, and these clips weren't even offline. I looked at all columns in the browser, and no fields listed the name I was searching for. Last, I did a spotlight search in the finder for one of the files in the offline file list and did find the file, though when I manually navigated to it in the reconnect window, it did now show up as a file with a matching name.
    What is going on? Why does the search not show the offline clips and how can I locate these offline clips?

    **** .. I hadn't heard that, and we are not able to cut in FCP 6.
    Well since I've scavenged the project for offline files and have found none, I guess I'll just attribute the issue to working with P2 in v5. Hopefully this isn't one of many issues I'll have (crosses fingers) .. thanks for the help!

  • E61 - PC Suite - Offline File - Sync issues

    Hi there,
    I wonder if anyone can help please
    I've seen another post similar to this, and I've tried the suggestions, but I still have the problems.....
    Phone: E61
    Phone Software number: (I forget, but Nokia updater said it was the latest version)
    PC Suite Version: 6.83.14.1
    OS: Win 2000
    OS Service Pack: 4
    Connection: USB
    Email Client: Outlook 2002
    Office Client: MS Office 2000
    Sync Settings: Update Both Ways
    Conflict Settings: err.... Phone wins I think
    Synced Items: Calendar, Contacts, Notes, Tasks. No email is synced.
    OK, whats happening is this...
    When my user connects his phone to the laptop, he gets 3 messages pop up, saying "Your offline folder file could not be configured. C:\Outlook\Outlook.ost"
    He clicks OK on each and they go away and all SEEMS to be OK
    Then when he looks in his contacts, he has a new seemingly blank contact.
    When you open that contact, all the personal details are blank, but in the notes box at the bottom of the General tab, it has a load of info about using Contacts. Not sure if this is from the E61 or from Outlook
    Also, my user may edit or delete an appointment or contact from the phone, and when he gets back to the laptop and syncs, the edited/deleted item will reappear as normal on the phone.
    Similarly his PA may edit or delete something from his account (PA has delegate access to Outlook) and when the user syncs, the edited/deleted item in Outlook is restored.
    He has had issues in the past with the phone, in that for no reason it stopped syncing.
    An update to the latest version of PC Suite always sorts that.
    Also he has recently had his phone replaced as his originally wouldnt power off properly.
    It has had isses before and after the phone was changed.
    What I've Tried
    Uninstalled and reinstalled PC Suite, the latest version (6.83.14.1) was already on it, but I downloaded a fresh version anyway and reinstalled - No Good
    Downloaded and installed Nokia Updater. Checked the software on the phone, and that was the latest version too.
    I guess I could set the CONFLICT settings to Always Ask if there are confllicts, but my user assures me that he rarely (if ever) on his phone edits the same item as his PA does on the laptop (well not actually ON my users laptop, but via his Delegate Access)
    Do you think this may be because my user has given delegate access to someone else?
    We have about 5 of these devices in the company, and this is the ONLY one to have any problems.
    As far as I'm aware, none of the other users have given PA's Delegate Access
    Not really sure what else to try
    Any help and suggestions will be very gratefully received
    Many thanks
    Steve

    Hi Miksu,
    I tried the following....
    a new contacts folder, no good
    a new calendar, no good
    a new outlook profile, no good
    wiped all the phone info (contacts etc) and resynced afresh from laptop, no good
    I'm still getting the same issues...
    1. Random appointments that have been edited, moved, deleted, reappear in their original form
    2. "Offline folder file could not be configured" even though when I recreated users profile I created a new file, and also my user is a local admin.
    Each time the phone tries to sync this message pops up 3 times, you click OK each time and then it continues
    I've also ensured that everyone has full control to the folder containing the offline file, and also shared it out, just incase PC Suite is having trouble with permissions.
    One thing I did notice is, that any appt created on the phone is defaulted to a Private Sync, whereas all created on the users laptop and his PA's PC are Public Sync
    Havent yet managed to make a connection between Private and Public synced items but maybe this is my problem
    I've also set the phone to sync every 15 minutes whilst connected, as thought maybe the info is old by the time the user disconnects and goes offline.
    Also, PC Suite is set to Sync in Both Directions. THis is needed as my User does add stuff that he needs syncing to his Outlook profile.
    Does anyone think that having a user creating/editing etc on the phone, and also on his laptop, and also a PA editing as a delegate via the PA's own PC is freaking out the phone/PC Suite... too many cooks and all that?
    Cheers
    SteveMessage Edited by stevepud on 31-May-200710:26 AM

  • 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.

  • Reconnecting offline media issues after moving files

    Hi I am having a bit of a headache with offline media files in final cut. Our data requirements have recently outgrown the internal drives on our mac pro so we have switched to keeping all of our footage/projects etc on an external network raid (freenas). After moving all the footage over to the new drive final cut understandably asks to reconnect media so I point it in the direction of the new location and click search.... It searches through but finds nothing so I hit locate and manually point it to one of the offline files. It finds maybe 2or3 (out of over 2500) of the files then asks to locate more and so on. I spent an afternoon reconnecting all the offline media and all was fine until today when half the files showed as offline as final cut decided to start looking for them in their old location and not the new location I specified previously so I had to spend hours reconnecting them manually a few at a time again.
    I'm worried that I would needto make a quick change to the edit and when I open a project final cut has a tantrum and says stuff is offline then won't let me quickly reconnect everything at once, instead making me do it one or two clips at a time
    Does anyone know why it's doing this and what I need to do to make it stop???
    Many thanks in advance!

    I hate to say 'you built this house' but you might have.  Although FCP's media manager has been crap since it came into being in v2... it still is the best way to move media around.  BUT - THAT said, if you at least kept the CAPTURE SCRATCH folders intact it shouldn't have been that much of a problem to get stuff loaded back in.
    I'd say... keep plugging away, bit by bit.
    Good luck,
    CaptM

  • Excel 2010 changes relative link paths to absolute in files synced with Offline Files in Windows 7

    Hello! I'm wondering if anyone else has seen this problem: I have a large number of Excel 2010 and 2003 files in a folder on my file server. This whole folder is also synced to my computer using Offline Files in Windows 7. I have a lot of references between
    cells in different Excel files, and all referenced workbooks are physically in the same folder. This all works nicely when I create these files at work - all file paths referenced in the cells are created as relative paths and the documents open correctly.
    This is, I understand, the expected and default behavior when Excel creates links. When I edit these files at home, nothing seems odd until I get back to work and sync these files back to the file server. At this point, I discovered that Excel 2010 has, when
    I saved the files while away from the corporate network, changed /all/ the cell references in any offline-edited Excel files to point at absolute paths, and that these absolute paths point to somewhere in my %APPDATA% structure. So whenever I come to work
    and I try to open an Excel file that I have recently worked with offline, I get a bunch of error messages about referenced files that are missing, although clearly they exist in the same folder as the file I've opened, and I must edit all the file references
    again, whereupon they are again created correctly as relative paths (since all files exist in the same folder), which are promptly mangled into absolute C:\....\Offline Files\.....\..... paths whenever I save them at home (and since that works too, I don't
    notice it again until I come back to work and the offline files are synced back to the real network location). This seems to be a case of Windows 7's Offline Files not being able to fool Excel 2010 into believing it is working on a file server - apparently
    Excel 2010 can see through the fakery and decides on it's own to "fix" the problem (which obviously isn't a problem since the paths are relative to begin with) by saving the paths as absolute paths instead. Yes, really clever, Excel. The exepected behavior
    according to MSKB is that links are created as relative paths, so why does it change to absolute whenever Offline Files are involved? I know Offline Files only syncs, it doesn't actually change the files, so I can conclude that Excel is the program at fault
    here. Is there a fix for this, or a known workaround? Because frankly, this bug makes it impossible for me to work in any advanced manner with linked Excel files. The sad thing is that this worked perfectly fine with Office 2003 and Windows XP. Is there a
    patch for this problem that I might have missed (I am running the latest Service Pack and I get Office updates from Microsoft Update). If not, is there a workaround I can use to prevent Excel from corrupting my links when I edit the files offline?

    Hello danceswithwindows,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    Sincerely
    Rex Zhang
    Rex Zhang
    TechNet Community Support

  • How do I prevent offline files from syncing accross WAN

    I have multiple sites connected via smaller WAN links (1.5 meg).  I am trying to prevent any Offline Folder Syncing across the WAN. 
    When users travel to other sites there is an issue where their laptop wants to sync their MyDocs folder across the WAN.  Since the user has several Gig of Data at the remote site this could take all day and can consumes all of our bandwidth between
    the sites.  This doesn't happen unless the users have their MyDocs folder set to 'make available for Offline Use'. 
    The users MyDocs folder is automatically redirected to a network file server at the users main location.
    I have tried setting the Network Transparency to 64 ms (64) but that doesn't seem to help.  Normal latency between sites (based off of a ping) is 75-100 ms (unless under heavy load).
    Do you have any suggestions or recommendations?  I tried looking at the below technote but I couldn't seem to get a setting that made this issue go away.
    https://technet.microsoft.com/en-us/library/ff633429(v=ws.10).aspx#BKMK_EnablingTransparentCaching
    Any help you can offer will greatly be appreciated.
    Thank you

    Hi,
    The article you looking at is not for preventing the offline file sync. So what's your requirement? If you don't want the offline file sync, just disable the it in the sync center:
    1. Open the Control Panel, click on the Sync Center icon.
    2. In the left pane, click on the Manage offline files link.
    3. Click on the Disable offline files button.
    4. Click on OK and restart the computer(see screenshot below).
    If you want to sync the offline file, the guide you refer is the optimal solution for you. Since your file is too big. However, I suggest you sync it completely if you really need it when slow network or disconnection from the Server. It won't copy
    the whole file every time. It just sync the new version of the file when it checked the file has be changed.
    Karen Hu
    TechNet Community Support

  • 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 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

  • Win 7 Offline Files and Captivate

    We save files to "My Documents" so that we can use Windows Sync to enable offline files (portability and server backup). Adobe products don't like pointing to network locations for output (published files and such). If I publish to a sync'd folder, it looks like a network file and Adobe products seem to hesitate or complain about this. I can point published files to the hard drive (C: for instance) but I lose the functionality of offline files (sync, backup). I have "aliased" a drive (for instance the L: drive) which Captivate thinks is a local drive (and not a network drive) and that works pretty well. The "aliased" drive points to the sync'd drive (read: networked drive).
    Any suggestions for more suitable implementations are greatly appreciated. Thank you.
    Michael

    Hi,
    Do you configure “Always available offline” on the clients? If so, disable it to check if the issue still exists. The Offline Files feature must be enabled on the client computer for files and programs to be automatically cached. Additionally, the
    Optimized for performance option does not have any effect on client computers using Windows Vista or newer.
    For more detailed information, please refer to the articles below:
    Working with network files when you are offline
    http://windows.microsoft.com/en-us/windows/working-with-network-files-offline#1TC=windows-7
    Configure Offline Availability for a Shared Folder
    http://technet.microsoft.com/en-us/library/cc755136.aspx
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Drive with Offline Files folder not available for 2 minutes after being connected to the network.

    Hi
    We use Windows SP1 with one folder from the User HomeDirectory set to be available offline.
    The problem we encounter is that when going from Offline to Online via VPN, there is a 2 minutes delay for the drive where the offline folder is located to be available again. Other drives mapped at VPN connection time are available immediately
    after we applied KB2705233. Only the drive that contains the folder that we make available offline has this delay issue.
    I found out KB2663418 but it does not apply as we have Windows 7 SP1. However the symptoms are the same:
    < This issue occurs because the client-side caching (CSC) interface tries to reconnect to the source before the network is actually available. This behavior causes the SMB cache to enter a negative state. In this situation, the CSC interface tries to
    reconnect to the source on the next 2-minute retry interval.>
    Does one know how to force a check of the connectivity or if there is another fix available ?
    thanks in advance
    bruno

    Hi,
    Why KB2663418 didn't applied to your computer? It applied to
    Windows 7 Service Pack 1, when used with:
    Windows 7 Enterprise
    Windows 7 Professional
    Windows 7 Ultimate
    Did you use Windows 7 Home Basic or Home Premium?  However, Windows 7 Home Basic and Premium does not support Offline Files.
    Thus please try that hotfix.
    Karen Hu
    TechNet Community Support

Maybe you are looking for

  • How can I add "arrow pointers" and text to photos on my mac?

    I take pics for safety inspections and I can edit them in paint on my PC but I need a referral to a good app to do the same for my mac. The arrows I point to the safety issues and usually add a caption so when I take it back to the directors I can sh

  • Why do I get an error "50" when trying to download a purchase and what can be done about it?

    I've been trying (over a number of evenings, days) during the last 8 weeks to download my purchase of The Amazing Spiderman movie itunes extras.  It gets so far and re-starts from where it last started and if I stop it and start it I get an error "50

  • Navigate in Forms 6i

    Hello, Can someone tell me whether it exists built-in function I can use to control if users have navigate from one block to another? More concrete, when users navigate to a text item in a block, I like to check if they come/navigate from a specific

  • How can I organize audiobooks

    I have added some audiobooks.And they have appeared as music in itunes so I have changed them to audiobooks in Options tab. But they are now all mixed up.How can I organize them in specific files.I cant see them in itunes anymore because they have di

  • Using NetBeans Matisse to build a form with an array of JButtons

    With Matisse I can build a form with a lot of buttons on it, but i want to use a 2-dim array of JButtons so that I can easily access the buttons. How should I do this?