So I've searched and found this issue cropping up on 10.7 and 10.8 systems, but there seems to be no solution as of yet (surprisingly). My issue is that recently, and frankly out of the blue, my loginwindow.plist in my user library folder keeps getting reset after a few restarts or after starting up into bootcamp. So what's happening is that inconsistently, if I run bootcamp and then reboot back into osx, my login items no longer start on login and my loginwindow.plist (which stores these login items) is recreated and is completely empty. So I have to revert to a time machine backup of loginwindow.plist. Then I log out and back in, and my login items load correctly and the loginwindow.plist remains. So the "forgetting" of my login items doesn't happen if I log out and back in a few times with the backup loginwindow.plist, but after restarting into bootcamp or a few full restarts, my loginwindow.plist is cleared and my mac starts up with only the login items set in the main system library folder. I've also noticed that when this issue occurs my finder preference for showing the "library" user folder are also set back to the defaults (hidden).
So the issue is that my library visibility settings and user login items are being reset (erased) every time (more or less) I restart or run bootcamp. Logging in and out without restarting doesn't seem to cause this issue. I have been unable to prevent this from happening, and searching around seems to indicate this is an elusive Lion/ML bug that can only be remedied by locking the loginwindow.plist file to prevent trashing by the system. Anyone have any idea how to resolve this? Does the fact that the user library folder visibility setting gets reset to defaults give any further clues?
So the issue is that my library visibility settings and user login items are being reset (erased) every time (more or less) I restart or run bootcamp. Logging in and out without restarting doesn't seem to cause this issue. I have been unable to prevent this from happening, and searching around seems to indicate this is an elusive Lion/ML bug that can only be remedied by locking the loginwindow.plist file to prevent trashing by the system. Anyone have any idea how to resolve this? Does the fact that the user library folder visibility setting gets reset to defaults give any further clues?