Offline file sync entries need removal through GPO

Posted on 2007-10-18
Last Modified: 2012-05-05
We are having an issue with offline file syncronization.  There are two entries that have appeared in nearly all of our computers in the domain.  I have turned off all offline files in the GPO, but they are still there.  Is there a way to remove all entries from offline files through GPO or a login script?
Question by:kgbsd
    LVL 8

    Expert Comment

    If you have removed it from gpo then it sounds like gpo hasn't replcated to those machines. On those machines do a gpupdate /force and reboot the computer from the command line
    LVL 66

    Expert Comment

    Cant do it from GPO.....

    Add these to your login script....

    reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\shares" /f
    reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares" /ve
    reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\AssignedOfflineFolders" /f
    reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\AssignedOfflineFolders" /ve

    And if you dont need the local copies of the files cached....

    reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\netcache" /v FormatDatabase /t reg_dword /d 00000001
    LVL 66

    Accepted Solution

    Let me quantify that.....

    It can be done, but the share locations are cached at the local machine, in the Shares subkey above. Disabling at GPO doesnt remove those...
    LVL 66

    Expert Comment

    Any update?

    Author Comment

    Still waiting to find a machine with the issue to try the registry hack.
    LVL 1

    Expert Comment

    Force accepted.
    EE Moderator

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    This video discusses moving either the default database or any database to a new volume.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now