How to Sync Your iPhone With Multiple Computers

Posted October 27, 2008 at 8:48pm by iClarified | Please help us and submit a translation by clicking here | 400778 views
Spanish  Portuguese (Brazil)  

These are instructions on how to sync your iPhone with two or more computers at the same time.

To clarify this process a bit the tutorial is divided into two parts. The first part will instruct you on how to obtain the iTunes Library ID from your main computer. The second part will then modify your secondary computer to use the same iTunes Library ID, thus allowing for sync on both.

For your convenience instructions for Part One and Part Two are provided for both Windows and Mac.

PART ONE (MAC):
If your main computer is a Mac start here...

Step One
Open a new Finder window by clicking the Finder icon in the dock.


Step Two
Select Go to Folder... from the Go menu.


Step Three
Input ~/Music/iTunes into the textfield then click the Go button.


Step Four
Double click the file named iTunes Music Library.xml to open it in TextEdit.


Step Five
Write down the value of the Library Persistent ID key. Take care not to modify the file before closing. It should look something like D501EB4887717F8F.



PART ONE (WINDOWS):
If your main computer is a Windows PC start here...

Step One
Press the Windows (Start) button at the bottom left of the screen and select Music from the menu.


Step Two
Double click the iTunes folder.


Step Three
Double click the file named iTunes Music Library.xml to open it in Notepad


Step Four
Write down the value of the Library Persistent ID key. Take care not to modify the file before closing. It should look something like 20F830293962CBA4



--------------------------------

PART TWO (MAC):
If your secondary computer is a Mac continue here....

Step One
Open a new Finder window by clicking the Finder icon in the dock.


Step Two
Select Go to Folder... from the Go menu.


Step Three
Input ~/Music/iTunes into the textfield then click the Go button.


Step Four
First we will create a backup of iTunes Music Library.xml and iTunes Library. Select both files and press Command+c then Command+v on your keyboard. This will make a backup copy of the files.




Step Five
Double click to open iTunes Music Library.xml.


Step Six
Make note of the current Library Persistent ID then change the Library Persistent ID key to the one we wrote down from Part One and save the file.




Step Seven
Now we will need to open iTunes Library using a HexEditor. You can download HexEdit from here

Step Eight
Once you have opened iTunes Library use HexEdit to search for the old Library Persistent ID we replaced in Step Five. Do this by clicking Find from the Menubar. Make sure to select Hex as your search type.


Step Eight
Once found replace the old Library Persistent ID with the one from Part One and save the file.




Step Nine
You can now launch iTunes and connect your iPhone to the new computer for syncing. Select your iPhone from the list of devices on the left. Notice if now select Manually manage music and videos from the Summary Tab you will no longer be prompted to erase your data, nor will the files on your iPhone be grayed out.





PART TWO (WINDOWS):
If your secondary computer is a Windows PC continue here....

Step One
Press the Windows (Start) button at the bottom left of the screen and select Music from the menu.


Step Two
Double click the iTunes folder.


Step Three
First we will create a backup of iTunes Music Library.xml and iTunes Library.itl. Select both files and press Control+c then Control+v on your keyboard. This will make a backup copy of the files.




Step Four
Double click to open iTunes Music Library.xml.

Step Five
Make note of the current Library Persistent ID then change the Library Persistent ID key to the one we wrote down from Part One and save the file.




Step Six
Now we will need to open iTunes Library.itl using a HexEditor. You can download HexEdit from here


Step Seven
Once you have opened iTunes Library.itl use HexEdit to search for the old Library Persistent ID we replaced in Step Five. Do this by clicking Find from the Menubar. Make sure to select Hex as your search type.


Step Eight
Once found replace the old Library Persistent ID with the one from Part One and save the file.




Step Nine
You can now launch iTunes and connect your iPhone to the new computer for syncing. Select your iPhone from the list of devices on the left. Notice if now select Manually manage music and videos from the Summary Tab you will no longer be prompted to erase your data, nor will the files on your iPhone be grayed out.





THANKS***: This tutorial is based on the discovery by Andrew Grant. He deserves credit for his work. You can check out his blog posting on the subject here

Share
Add Comment
Chris - April 21, 2013 at 2:59pm
What a &*%^&*%^&*(^ concept. 1) Make a backup copy of the two files. 2) I ensured all processes were closed and phone disconnected. 3) Simply copy and paste the two files from computer that is sync'd to the pc desired to sync. 4) Plug in phone and start ituned. It worked. What a concept. http://appducate.com/2013/01/sync-an-ios-device-to-multiple-itunes-without-erasing/
lucky005 - May 17, 2013 at 2:18am
this option is not working for me it resets to the original value what should be done please tell
Chris - April 21, 2013 at 2:42pm
I have tried this several times, but the ID keeps getting reset within the "iTunes Library.itl" file which then updates the .xml file. I have even tried setting the .itl file to read only but then Itunes won't open complaining that the file is locked. Wow. I never had an issue copying music from anywhere with my droid.
yo - April 20, 2013 at 11:07pm
easy uh?
Sam - January 29, 2013 at 11:35am
I'm pretty sure this no longer works on iTunes 11
Syltrem - January 9, 2013 at 11:43pm
My iTunes Library.itl file contains all NULLs (00 00 00...) Is this normal ? Possibly because I don't sync music automatically, but manually ?
Sam - January 29, 2013 at 11:43am
That's probably because your iTunes is open, but (refer to what I said above, I think they patched it in iTunes 11.) Everything seems to revert to the old Persistent ID. I also noticed that there is a file named "Sentinel" (If you show hidden folders.) Using HexEdit, you'll see that it also has the ID in it. I changed all 3 ID's (iTunes library.itl, iTunes Music Library.xml and the Sentinel's file ID) with iTunes 11 reverting it straight back to the original IDs.. Pretty sure I've done everything correctly, iTunes was also closed for the duration.
Syltrem - January 29, 2013 at 12:53pm
I couldn't get it to work with iTunes 11 so I decided to use gSyncit and open a Google mail account for contacts/calendars. I was already syncing Tasks/Notes with Toodledo using gSyncit so that wasn't a big deal at this point. I just find Apple is not making my life any easier despite what they say. The Palm TX was so much simpler - all apps were syncing automagically to Palm Desktop on multiple computers. Each 3rd party app was installing a conduit where needed (time sheet, encrypted notes...), and you only had 1 button to press to sync everything. And your data was local on your own machines. With Apple you have to install other pieces of software on top of iTunes/Outlook, open up accounts on different Web services, and your data is dispersed overs a few Internet servers (cloud) over which you have absolutely no control. There are advantages to that too, mind you, but only if I happen to have my iPhone stolen while away at the end of the world (not often...) Bad Apple, instead of improving they make things ever so complicated.
87 More Comments
Follow iClarified
Yahoo Board Approves $1.1 Billion Deal to Acquire Tumblr [WSJ]
Yahoo's board has reportedly approved a $1.1 ...
Teen Run Over and Killed as Thieves Steal His iPad
Marcos Vincente Arenas, a 15 year old teen, w...
The New Yorker Magazine App Gets Partial iPhone 5 Support
The New Yorker Magazine app has been updated ...
Apple Has the Most Loyal and Devoted Users [Chart]
Apple users represent 58% of the world's loya...
AnyList App Now Supports the iPad
AnyList, an app for creating and sharing groc...