Getting ~/Library to sync in background when login/logout sync turned off

I have a bunch of laptop users with very slow network connections where I need to turn off login/logout sync and only sync data in the background manually. Problem is, if you turn off login/logout sync it also turns off syncing ~/Library in the background.
Now if you use the Details tab for MCX setting in WGM you can add the key "Sync Preferences in the Background" and set it to "sync" but it doesn't make any difference.
Anyone know how to work around this so I don't have to sync anything at login/logout but can still sync Preferences in background when I manually do a sync?

I don't think it's in the GUI, but you can manage this stuff pretty granularly with the following boolean flags in ~/Library/Preferences/com.apple.homeSync.plist:
<key>syncBackgroundSetAtLogin</key>
<string>dontSync</string>
<key>syncBackgroundSetAtLogout</key>
<string>dontSync</string>
<key>syncPreferencesAtLogin</key>
<string>dontSync</string>
<key>syncPreferencesAtLogout</key>
<string>sync</string>
<key>syncPreferencesAtSyncNow</key>
<string>dontSync</string>
<key>syncPreferencesInBackground</key>
<string>dontSync</string>
I think the keys you want are syncPreferencesInBackground and/or syncPreferencesAtSyncNow. However, I found that this unpredicatably didn't sync everything. PHD has a generally hard time with open files and many of these files are open. Also, note that 10.5 changed in that it considers any hidden folders loose in your home folder (e.g. .ssh/) to be included in "Preference" syncing only occurring at Logout and Login. This isn't really documented or shown anywhere. I'm pretty sure that they are ignored in the background *even with* the above flags in use. Note that I haven't played with these in a while, so your mileage might vary. Perhaps they're just not ready for prime time.
EDIT:
Actually, I just remember where and how I found these: You need to follow the directions for "Using the Preference Editor to Manage Core Services" on page 236 of the User Management manual. This gives you the location of Preference Manifest for Home Folder Syncing which has a bucketload of cool options, including automatic conflict resolution.
Message was edited by: jaydisc

Similar Messages

  • I and my brother have different apple id's but are using the single itunes library on our home PC.When i am syncing my iphone most of the times the apps that were purchased with my brothers apple id is also getting on my iphone.

    i and my brother have different apple id's but are using the single itunes library on our home PC.When i am syncing my iphone most of the times the apps that were purchased with my brothers apple id is also getting on my iphone.
    How do i differentiate the apps that were purchased with my apple id and sync accordingly.As i want only the apps that were purchased in my apple id.
    I am aware of the fact that i can click on the app and check with "getinfo" to see with whose apple id it is brought.but there are hundreds app which i cannot check one by one.
    How do i filter the apps with apple id and sync?

    Connect the device to the computer.
    Open iTunes.
    Select the content desired to sync.
    Sync.

  • Windows 8.1, iOS 8.1.3, Itunes 12.1 64 bit, constantly get 'waiting for changes to apply' when trying to sync my new ipod touch

    Windows 8.1, iOS 8.1.3, Itunes 12.1 64 bit, constantly get 'waiting for changes to apply' when trying to sync my new ipod touch. Downloaded latest version f itunes, and ipod software up to date. Really frustrated I can't sync my music! Please can someone help me

    Im having huge issues after updating to 12.1 on Win 8.1  x64. Choppy playback and so on.
    Try this since it helps in most situtation :
    Remove itunes but keep library files. Then download it again and install it.
    Also most likely you will have to restore ipod touch. I restored my iPhone 5 to remove waiting for changes to apply and Error 54.
    my iPad air still isnt restored (cant do it now) and it sometimes does same like iPhone waiting for changes to apply. And gives error 54 but sync DOES GET COMPLETED.
    Also may sound stupid but try to use USB 2.0 Ports. Not 3.0. I have troubles when using 3.0

  • Mobile Account Login/Logout Sync Not Skipping Inputted Items

    I'm running a Leopard Server 10.5.6 Advanced Config ODM.
    No matter what I put into the Login & Logout Sync tab underneath "Skip items that match any of the following" it still syncs everything.
    I enter "ends with" ".mp3", "mp3" and it still syncs the test MP3s I put onto the desktop for the user.
    I ask it to not sync ~/Documents and it still syncs the test documents I put into that folder.
    This user is set to sync at login and logout with no background sync. The client machine is using 10.5.6.
    Merge with user's settings NOT checked
    Background Sync > Never
    Option > Never
    Account Creation > Creation
    Create mobile account when user logs in to network CHECKED
    Create home:
    with default sync settings: CHECKED

    Thanks for the reply.
    Under
    GROUP->PREFERENCES->MOBILE->RULES
    Login and Lougout Sync->Always
    Sync at login and logout->Checked
    Merge with user's settings->Not Checked and never has been.
    Unfortunately, that can't be it
    Here are some screen shots of my settings. As you can see Background sync is not enabled.
    Nevermind, it won't let me attach files.
    Message was edited by: jakelh

  • Login/logout sync hangs

    I am trying to migrate my user account to a portable home directory. (OSX Server 10.4.8, OSX Client 10.4.8). I have a small network (8 users) and everyone else has been using network accounts and portable home directories for months. I had a large amount of data in my account and just didn't want to take the time until I had some serious sound problem with my laptop and had to do an erase and install to fix it. So I decided to convert to a network account but put most of my files outside my home directory. The only thing in my home directory are my apple mail files. I can't get login logout sync to complete succeessfully. It goes through "checking items" and changes the folder it displays until it gets to the last one where it hangs for hours and never actually starts synchronizing. My work around was to remove all but a couple of my mailboxes from ~/library/mail and then sync by logging out/in. I then would add a couple more mail boxes and repeat. This is a tedious process.
    I could not find any discussion about limitations on the number of files that login/logout sync can process. I suspect there is some memory limit on the total number of files in a directory or the total number of changed files and instead of complaining it just hangs. Has anyone seen this? Does anyone know of a limit on the number of files. I have about 14 GB of mail archives with 100,000s of messages.
    I suspect I will have to archive them outside of the ~/library/mail folder and maybe do a symlink.

    Not even sure you can do this but you might look for Login/Logout Hooks that can perform the action your looking to do. There would have to be a way to shell-script the Sync part of RHD which I'm not sure you can.
    On the Server Side you can control what get auto synced and what does not in WGM. Then you just set it all to auto on login/logout.

  • I can't sync my files-when I click sync and need to wait for a while but then nothing happened, not even error notification

    I can't sync my files-when I click sync and need to wait for a while but then nothing happened, not even error notification

    File Sync Links that may help
    -http://helpx.adobe.com/creative-cloud/kb/arent-my-files-syncing.html
    -http://helpx.adobe.com/creative-cloud/kb/cannot-share-certain-types-files.html
    -Size Limits https://forums.adobe.com/thread/1488242

  • Trying to download 4.1, keep getting message to turn off firefox when it is already turned off, this is preventing download, present version is 4.0, do you have any suggestions?

    Trying to download 4.1,keep getting message to turn off firefox before I can proceed, when it is already turned off, this is preventing download. do you have any suggestions?

    Firefox 3.6.16 has a newer build and release date than Firefox 4.0 does.

  • Calendar subscriptions synced via MM can no longer be turned off

    Calendar subscriptions synced via MM can no longer be turned off on the iPhone, as far as I can tell. Unless anyone can figure out a workaround. Anyone? Got any ideas?
    Otherwise...
    All those calendars of your friends, events, etc. that you subscribe to on your Mac...if you use MobileMe for syncing, they are now going to be cluttering up your iPhone calendar, and apparently there is no way to get rid of them (unless you set them all up manually via CalDAV. This is a change that apparently occurred with 3.1.
    See http://support.apple.com/kb/TS1213
    Please visit this site to protest: http://www.apple.com/feedback/mobileme.html
    Thanks.

    If you draw a picture of how calendars get from your Mac to your phone, it might be easier to sort out. MobileMe calendars sync with your iPhone over the air (either AT&T or WiFi). Calendars "From My Mac" sync with your Mac via the USB cable. Your Mac knows if it's syncing any particular calendar via both paths, but by the time they get to the iPhone, they look like two entirely different calendars, even though their names and contents might be identical. When you add an event on your iPhone, that event will show up on your Mac depending on which path it has to travel. If its calendar is "From My Mac", it will have to wait until the next time you sync with iTunes and the USB cable.
    I suggest you select either MobileMe or iTunes, but not both, for syncing if you want to avoid duplicate calendars on your phone.

  • HT201317 How do I move photos that were taken when photo stream was turned off into the photo stream on my iPad2?

    How do I move photos that were taken when photo stream was turned off into the photo stream on my iPad2?

    You will need to do that by syncing them with a computer and then syncing the computer with the iPad.

  • SCE 2010 Alerts when windows firewall is turned off

    Is it possible in SCE 2010 to have a email alert when someone manually turns off their firewall and does not turn it back on again? And if so how can that be accomplished? Originally I was going to just enforce this from Group Policy but this doesn't allow
    people to enable or disable their firewalls. It just enables the firewall and grays out all other options. 
    This is a Domain with two 2008 R2 servers. The reason people need to be able to turn off their firewalls is for testing purposes. 
    Thank you so much.
    Knowledge is Power.

    When the firewall is turned off, it will generate an event log. You could create a monitor Alert Generating NT-Event-Log-Based Rule to monitor this event log.
    http://technet.microsoft.com/en-us/library/ff730470.aspx
    Juke Chou
    TechNet Community Support

  • Mail can not quit every time when i try to turn off the computer

    It appears a week ago i guess after i upgrade the system.
    when i try to turn off the computer, it always says, Mail can not quit.
    so i have to force it exit everytime before i shut down the computer!
    and it is pretty slow for Mail to quit, i only have 3 accounts there with one i never use.
    i never met this problem before.
    looking forward to get an idea here.

    This issue seemed to resolve itself.  Case closed. 

  • I have a laptop with Windows 7, and when the machine is turned off it loses all the user names

    I have a Gateway Laptop with Windows 7, 64 bit. When the machine is turned off, and then
    back on it loses all it's user names that have been remembered.

    Do you mean names and passwords in the Password Manager or do you mean that you are no longer logged on to (remembered by) websites after closing and restarting Firefox?
    There is a difference between remembering the name and password in the Password Manager and a "remember me" check box on a web page to log you in automatically.<br />
    The latter usually involves the creation of a special "remember me" cookie that is stored on your computer and that is send to the server.<br />
    If that "remember me" cookie is removed or gets corrupted or is not send to the server then the server won't remember you anymore and you need to sign in once again.
    In case you are using "Clear history when Firefox closes":
    *do not clear the Cookies
    *do not clear the Site Preferences
    *do not clear the Saved Passwords
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception.

  • Problem: Fan at full speed all the time - even when the Mac is turned off

    Hello,
    my Mac mini suffers from a very strange problem. I've had it for half a year now and recently bought a new power adaptor since my old one got damaged. I plugged it in and everything was fine - until half an hour afterwards, when the fan suddenly made itself noticeable at full speed. But it didn't stop; it went on, curiously even when I shut the Mac mini down. That's right. even when the system's turned off. The noise is really unbearable and only stops when I plug off the power cord.
    Any ideas why this is happening?

    My Mini started doing this yesterday. I came home from work and the fan was going full blast. Even after shutting the machine down, the fan would continue to run at full speed (and it is LOUD...much louder than my full tower desktop PC with 4 80mm fans). The only way to stop the fan is to completely unplug the Mini from the power supply.
    I doubt that this is due to faulty wiring as my Mini is plugged in to a very nice UPS unit that conditions the power.
    Now, I'm willing to admit that this may be entirely my fault since I have upgraded my Mini with 1 GB of RAM, a Pioneer DVD burner, and a higher capacity hard drive. However, the Mini has been running 24-hours-a-day for 5-6 months since my final upgrade, so it would seem that my upgrades are unrelated to this issue. Also, since someone else is having the same problem, again, my upgrades seem unrelated.
    I was told on another forum to try resetting the PMU, which I will try when I get home today. If it works, I'll post. Seems unlikely though since the fan runs even when the Mini is powered down.
    If anyone has any other ideas, I'd be glad to hear them. I'm assuming that my Mini is no longer under the 1-year warranty since I have performed so many upgrades myself, so, if this problem is something that can only be fixed by Apple, then it will probably cost an arm and a leg.

  • Macbook Pro Mid 2014 Retina Flashing green light on charger when fully charged (macbook turned off or lid closed)

    Hi there,
    Just got a Macbook Pro Retina Mid 2014. I have noticed that when the Macbook is turned off or the lid is closed the green light on the charger is blinking. It seems it does this when the Macbook Pro is fully charged and I am not sure if it is a fault with the charger or if it just does this when its fully charged? When the laptop is open and plugged in it doesn't do this.

    You tried the SMC Rest right?
    Step by Step to fix your Mac
    I don't know what else to do.

  • Remove age from birthday notification: I don't know the years most of my contacts were born, so I keep getting a default year 2000 birthdate. How can I turn off the age (xxth birthday) in Birthday Calendar - it really is very annoying!

    I don't know the years most of my contacts were born, so I keep getting a default year 2000 birthdate.
    How can I turn off the age (xxth birthday) in Birthday Calendar - it really is very annoying!?
    Thanks
    Tim

    Where do you see the default birthday showing as Nov. 30? If you can explain that, I can probably modify the below script to do that clean up.
    In response to the original problem:
    I'm not sure why I missed the original reply, but here is an Applescript that will change all the years of any selected contacts to 1604 (default for no year).
    tell application "Contacts"
              set thePeople to selection
              repeat with aPerson in thePeople
                        set theDate to birth date of aPerson
                        if theDate is not missing value then
                                  set the year of theDate to 1604
                                  set birth date of aPerson to theDate
                        end if
              end repeat
    end tell
    copy and paste it into a new Applescript Editor document. Select all the contacts you want to change (in Contacts), then run this script by clicking on the green Run button in Applescript Editor.

Maybe you are looking for