Change location of off-line files and problem with redirected folders

已答覆 Change location of off-line files and problem with redirected folders

  • Monday, January 21, 2013 11:53 AM
     
     

    Hi

    We're about to change to a new fileserver. Figured out how to change location of offline files for our W7 Sp1 laptop users. We use CSCRenameEx.vbs and it works. But only for the location of the mapped drive to the homefolder.

    The library Documents keeps pointing to the old location, if we shut down the share there, documents library turns blank and errors appear in eventvwr stating redirection of my documents folder (to the old location) could not be performed because the location could not be found.

    So...

    We have a GPO for redirecting the my documents folder to: %HOMESHARE%%HOMEPATH%. pictures etc follow this
    users do not have roaming profiles.
    We would think since %HOMESHARE% is just the path stated in AD in the users properties and therefor changes along nicely when we change the path in AD to the new server. But somehow in the local profile of the user this is translated to a proper unc path and does not change with AD or the script. If we delete the profile on the laptop everything turns out nicely.
    And f we do get this right: what would happen to the files that were created or changed by the user during their off-line period?

    Can anyone give me a proper procedure to handle this?
    Thanks in advance.

    Paul

All Replies

  • Tuesday, January 22, 2013 6:32 AM
    Moderator
     
     

    Hi,

    Have you read the following article about the script?

    Updating your Offline Files cache in Windows Vista to point to a new server

    http://blogs.technet.com/b/filecab/archive/2007/03/29/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server.aspx

    If you have any feedback on our support, please click here


    Alex Zhao
    TechNet Community Support

  • Tuesday, January 22, 2013 10:26 AM
     
     Answered

    Thanks Alex, no i have not read that particular article but someone showed me something similar which brought me to CSCRename.vbs and CSCRenameEx.vbs

    http://support.microsoft.com/kb/977229?wa=wsignin1.0

    That works very well. The problem is the documents link in the libraries. After running the script this remains empty. Normally this would simply show the users homefolder since we redirect My Documents there. Profiles are stored localy only and if we delete this local profile the library turns out OK again but that is not an option. We want to distribute the script that runs CSCrenameEx (and reboots afterwards) with SCCM set a date on which it will run, change the homefolderpaths in AD at that same moment. If we just run cscrenameex, the library "documents" will still be pointed at the old location

    We found a registry key through this article: http://kevinjmorse.ca/articles/configuring-windows-7-libraries-using-group-policy-preferences that solves this but its not easy.

    I'm wondering if there is an easier ay to do this, poining the libraies to the proper location i mean..

  • Wednesday, January 23, 2013 3:37 AM
    Moderator
     
     Answered

    Hi,

    Some similar thread could be your reference:

    Folder redirection synchronizing to old location

    http://social.technet.microsoft.com/Forums/en/winserverDS/thread/6418c36b-ec21-4c42-945e-b8d6fbf45cf6

    if this cannot help, you may try the solution you searched for a test.

    If you have any feedback on our support, please click here


    Alex Zhao
    TechNet Community Support

  • Tuesday, January 29, 2013 8:31 AM
    Moderator
     
     

    Hi,

    I am just writing to check the status of this thread. Was the information provided in previous reply helpful to you? Do you have any further questions or concerns? Please feel free to let us know.

    If you have any feedback on our support, please click here


    Alex Zhao
    TechNet Community Support

  • Thursday, February 07, 2013 9:39 AM
     
     

    Hi Alex,

    the link you mentioned points to the same registry location i found through the link i posted.

    We are setting up a login script that will only run on laptops. So as long as they stay out of the office nothing happens. The minute they connect to the LAN we run the cscrename vbs and change the registry values to match the my docs and stuff to the new location

    So... end of story, everybody lives happily ever after :)

    (fingers crossed)