Offline files home directory change.

Posted on 2007-10-15
Last Modified: 2012-06-22

Im looking to migrate shares that currently reside on a server to a filer. This is all in place with no issues. The issue i have is changing users laptop offline file location. this can be done through cscmd? If i disable caching on the share do i have to remove the local cache on the laptop? Can i find out how you change someones offline details without having to visit each indiviual.
Question by:MattNicholas
    LVL 48

    Accepted Solution

    offline files can be touchy....especially with change, i usually remove the whole cache and rebuild if i change locations

    Author Comment

    Thanks Jay. Is there any real way of autmating this at all? or is this the best policy to adhere to?

    Uncheck all locations in the Synch Manager, then click the Setup Tab
    and uncheck all locations under the Logon/Logoff page....


    reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\netcache" /v FormatDatabase /t reg_dword /d 00000001
    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

    Then log back in, and the Adminstratively Assigned offline files key will rebuild. Restart once more, and you should see the redirected folders rebuilding....

    LVL 48

    Expert Comment

    thats about the best way, which really is annoying if you have a lot of users, im not a huge fan of offline files myself :) but i do know sometimes they are neccesary

    Author Comment

    Thanks for all your Help Jay
    LVL 48

    Expert Comment

    Pleasure mate, sorry i couldnt give you a happier answer
    LVL 66

    Expert Comment

    You could target them all via PSExec.....Or include it in a login script...Least you wont need to visit each PC...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Suggested Solutions

    Installing a printer using group policy preferences is not that hard let’s take a look at it. First lets open up your group policy console and edit the policy you want to add it to. I recommend creating a new policy for each printer makes it a l…
    Know what services you can and cannot, should and should not combine on your server.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    758 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

    11 Experts available now in Live!

    Get 1:1 Help Now