locked
Synchronizace Offline files - zmena vychoziho adresare RRS feed

  • Dotaz

  • Dobry den,

    pri nastaveni sync offline files W7 se tyto soubory ukladaji na C:\.... , v nastaveni sync je mozne nastavovat velikost pouzitelneho mista, ovsem ne umisteni.

    Jak a kde  je mozne tuto defaultni cestu zmenit??? Napr. aby se data sync offline files ukladala na D:\Sync ???

    Dekuji za rady.

    D.T.

    středa 19. října 2011 8:35

Odpovědi

  • Ahoj,

    přímo v rozhraní to zvolit nejde, musíš na to oklikou..

    http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/17783c3f-bce9-4fda-9544-818786884a91/

    _______________________________________________

    Hi everyone,

    I have found a way to move the offline cache in W7, but it means you have to reset your existing offline files, give the new location, and resync the folders in the new location.

    Here is what to do (if you haven't synchronised any offline files yet, for exemple after a clean install, you can start directly in step 3):

    0) Make sure your existing offline files are synchronised with the server, as you are going to lose ALL the offline copies and you don't want to lose any new/modified files. Make a backup if you're not sure and if the files are important.
    1) reset the content of the old cache by adding the following command in a batch file and running it (of course you can add the parameter in the registry manually, but it's quite handy to have the batch ready whenever you need to reset the cache): 
    REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f
    2) Reboot, the added key will be detected, all the content of the cache will be deleted, as well as the key itself (it only resets once)
    3) Add the following registry key in the same HKLM\System\CurrentControlSet\Services\CSC\Parameters section of the registry:
    Type: REG SZ (string)
    Name: CacheLocation
    Value: the new location in NT format, ie \??\d:\csc if you want to create the new cache in d:\csc
    4) Create the folder in the new location
    5) Reboot (not sure if it's necessary, but better safe than sorry)
    6) Reselect the files/folders you want to sync offline, and they should sync in the new location.
    7) If you want to, you can delete the old cache location in c:\windows\csc by following the end of the vista procedure linked in the first post (using takeown etc)

    It worked for me (Win7 RTM x86), let us know if it works for you...

    Obviously it won't help if you don't want to / can't resynchronise, but if you're starting from scratch or don't mind resyncing from scratch, it's a good workaround.

    EDIT: if you sync a lot of files and get a lot of errors, try to reset your offline files again following the above procedure (steps 1-2), disable offline files, reboot, enable offline files, reboot, and resync your files. Again, it worked for me...

    středa 19. října 2011 9:09

Všechny reakce

  • DD,

    ted jsem nasel tento odkaz http://support.microsoft.com/kb/937475/en-us . Odzkousim a dam vedet jestli je to ono.

    Dik

    T.D.

    středa 19. října 2011 8:58
  • Ahoj,

    přímo v rozhraní to zvolit nejde, musíš na to oklikou..

    http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/17783c3f-bce9-4fda-9544-818786884a91/

    _______________________________________________

    Hi everyone,

    I have found a way to move the offline cache in W7, but it means you have to reset your existing offline files, give the new location, and resync the folders in the new location.

    Here is what to do (if you haven't synchronised any offline files yet, for exemple after a clean install, you can start directly in step 3):

    0) Make sure your existing offline files are synchronised with the server, as you are going to lose ALL the offline copies and you don't want to lose any new/modified files. Make a backup if you're not sure and if the files are important.
    1) reset the content of the old cache by adding the following command in a batch file and running it (of course you can add the parameter in the registry manually, but it's quite handy to have the batch ready whenever you need to reset the cache): 
    REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f
    2) Reboot, the added key will be detected, all the content of the cache will be deleted, as well as the key itself (it only resets once)
    3) Add the following registry key in the same HKLM\System\CurrentControlSet\Services\CSC\Parameters section of the registry:
    Type: REG SZ (string)
    Name: CacheLocation
    Value: the new location in NT format, ie \??\d:\csc if you want to create the new cache in d:\csc
    4) Create the folder in the new location
    5) Reboot (not sure if it's necessary, but better safe than sorry)
    6) Reselect the files/folders you want to sync offline, and they should sync in the new location.
    7) If you want to, you can delete the old cache location in c:\windows\csc by following the end of the vista procedure linked in the first post (using takeown etc)

    It worked for me (Win7 RTM x86), let us know if it works for you...

    Obviously it won't help if you don't want to / can't resynchronise, but if you're starting from scratch or don't mind resyncing from scratch, it's a good workaround.

    EDIT: if you sync a lot of files and get a lot of errors, try to reset your offline files again following the above procedure (steps 1-2), disable offline files, reboot, enable offline files, reboot, and resync your files. Again, it worked for me...

    středa 19. října 2011 9:09
  • Pripadne muzes pousit hardlink

    MP

    středa 19. října 2011 9:09
  • Ahoj,

    to co je fungovalo ve Windows Vista už ve Windows 7 nefunguje.

    středa 19. října 2011 9:12
  • DD,

    postup dle pana Janaty je funkcni.

    Dik

    pondělí 24. října 2011 9:20