Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address

The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Running itunes on two pc's with external hard drive library

Hi All;

I am working with two laptop pc's, a large external hard drive and my iphone. I am in the process of putting my cd library onto an external hard drive and I plan on plugging the drive into either laptop to play my music library wirelessly using apple airplay. Both laptops are running windows 7 and I use the latest version of iTunes.


Initially, I transferred my music off my laptop onto the external drive (following the 'consolidate library' process provided in one of the help menus) and then successfully told iTunes where to find the library on my external hard drive (E:/itunes Music). I then did this with the 2nd laptop. Then I resumed downloading music from cd's.


All of my music is successfully saving to my external hard drive (E:). However, when I download on one laptop and then go to the other, I can't always see all of the albums. I got frustrated, started checking and unchecking things, now I'm sort of lost. iTunes has never been my favorite program.:/


My questions are below:

1. Can I use two laptops and my external hard drive interchangeably?

2. Right now, I get the message 'please choose an iTunes library' but when I direct it to the E: drive and click 'open' it keeps opening into my music files and doesn't open the program. If I try 'create library' I see this: User uploaded file


3. Now that there is a new library, I see this:

User uploaded file

but previously I had it set to look like this:

User uploaded file


My question is- should I have both boxes checked? Only the top one? What do they mean, anyway?


Ideas, suggestions and links welcome. 🙂


Thank you!

iPhone 6, Windows 7

Posted on Jan 3, 2015 1:57 PM

Reply
Question marked as Best reply

Posted on Jan 3, 2015 2:37 PM

You need to have the iTunes database (iTunes Library.itl) on the external drive (see turingtest2's tutorial on Make a split library portable for details of what the resulting file/folder structure should look like). Then, hold down SHIFT while you start iTunes and select the iTunes Library.itl file on the external drive. This will give you equivalent access to your library and all media on either laptop. You only need to do this once on each machine - iTunes will look for the library in the same location when started up again. The only exception to this is if you happen to start iTunes without the external drive attached.


To keep everything consistent, you should have the "Keep iTunes Media folder organized" and "Copy files to iTunes Media folder ..." selected in both cases.


Once everything is working I strongly suggest you acquire a second external drive and use this to keep a backup of your main library - especially important in this case as external drives are more prone to errors/failure than internal ones.

17 replies
Question marked as Best reply

Jan 3, 2015 2:37 PM in response to freewheelin'

You need to have the iTunes database (iTunes Library.itl) on the external drive (see turingtest2's tutorial on Make a split library portable for details of what the resulting file/folder structure should look like). Then, hold down SHIFT while you start iTunes and select the iTunes Library.itl file on the external drive. This will give you equivalent access to your library and all media on either laptop. You only need to do this once on each machine - iTunes will look for the library in the same location when started up again. The only exception to this is if you happen to start iTunes without the external drive attached.


To keep everything consistent, you should have the "Keep iTunes Media folder organized" and "Copy files to iTunes Media folder ..." selected in both cases.


Once everything is working I strongly suggest you acquire a second external drive and use this to keep a backup of your main library - especially important in this case as external drives are more prone to errors/failure than internal ones.

Jan 5, 2015 6:52 AM in response to hhgttg27

Thanks so much for your reply. I'll follow the instructions. Also thank you for clarifying that both boxes should be checked. That confused me. I've read the 'what they are' help menus but still didn't really get it. I like my iphone, but other than that I'm a pc user, so mac world is always a little different to dive into.


I also appreciate the comments on backing up the external drive. I suppose I've put off moving my music for a long time because I have so much of it and I would hate to lose it. I was thinking of backing up to the cloud, we use dropbox at work (I work with a small business) and we have lots of storage room, but perhaps I should just do a second external hard drive.

Jan 21, 2015 8:53 PM in response to hhgttg27

When I hold down 'shift' and open iTunes and select the iTunes music file that has all my music on my external hard drive, the files keep opening and opening.... it won't let me make a selection. Why?!


I have my preferences in advanced set to E:/iTunes Music which is my external hard drive location, and both boxes checked.


iTunes doesn't see my external hard drive music and using the shift key isn't letting me access the file either.


What am I missing?


Help please!

Jan 21, 2015 9:07 PM in response to freewheelin'

What's the structure of your E:\iTunes Music folder? It's probably better to just name it "iTunes" so that it parallels the standard iTunes layout, with contents as illustrated below:

User uploaded file

I'm not sure what you mean by "the files keep opening and opening". When you Shift-start iTunes you get this prompt:

User uploaded file

Click on Choose Library..., you'll get a dialog in which you can select your E: drive, then the iTunes folder (or iTunes Music as you've named it), in which you'll see the iTunes Library.itl file. Like this (where the drive selected in your case will be E:, not K:) -

User uploaded file

Select the iTunes Library.itl file and click Open. Is this not what you're seeing?

Jan 26, 2015 10:14 AM in response to hhgttg27

Yes!! The little special iTunes file is EXACTLY what I don't see.


I think the best way out of my muddle is

1. realize that I should download and work from ONE computer for iTunes. I don't think it's bad to store the files on an external drive (do you?) versus my pc drive, but I'll back them up somewhere too. OR do most people keep their music files on a laptop?!

2. I must have messed up a file somewhere. can I drag and drop my music files onto my pc and then..... ??


All my music files are on the external hard drive and playable by iTunes, if I go into each file and click on the song.


This is what I see when I click on the 'music' folder on my computer:

User uploaded file


That's because I have both boxes checked on my preferences, correct? When I download a CD, it downloads to my external HD.


Lol, so how do I re-round up my .ixl file that seems to be missing?


Probably not by uninstalling iTunes and removing the music file on my pc, in an attempt to just start over. 😕


Hmmm. I don't know how to fix this! Sorry for the trouble. I'd go to a genius bar if I could, but they just aren't making 'em in my neck of the woods. 😉

Jan 26, 2015 10:37 AM in response to freewheelin'

"Yes!! The little special iTunes file is EXACTLY what I don't see."


Since you are able to run iTunes the database clearly exists - based on your description it is not in the same location as your media, so will probably be in the default location (C:\Users\username\Music\iTunes).


"realize that I should download and work from ONE computer for iTunes. I don't think it's bad to store the files on an external drive (do you?) versus my pc drive, but I'll back them up somewhere too. OR do most people keep their music files on a laptop?!"


You can, with care, run iTunes across multiple machines. Storing media (or, if you follow the method described in turingtest2's notes on Make a split library portable, the complete library) on an external drive is common, especially for those with large libraries. Internal laptop drives tend to be relatively small, and once Windows and applications are installed the space available for media storage may be limited. I use a 1TB 3.0 external drive for my library; this is backed up several times a week to a second external drive and periodically replicated to two other systems (I have one in my office and one secondary system at home). Whatever location you choose creating and maintaining a backup is essential. Having your library in the "portable" format described in the notes referenced above makes this a lot easier - see Backup your iTunes for Windows library with SyncToy (another of turingtest2's excellent tips) for a method that many find reliable.


"That's because I have both boxes checked on my preferences, correct? When I download a CD, it downloads to my external HD."


Correct - with those preferences checked, all new media will be placed in the location specified on the same screen, using the folder layout and naming conventions illustrated in my original response.


"Lol, so how do I re-round up my .ixl file that seems to be missing?"


See above - the database file isn't missing, just in a different location from the one you're looking at.


"Probably not by uninstalling iTunes and removing the music file on my pc, in an attempt to just start over"


I would suggest following the procedures in Make a split library portable so that:


  • you have a folder called iTunes in the root of your E: drive
  • this folder contains your database file (iTunes Library.itl)
  • this folder also contains your iTunes Media folder (so the location specified in Edit > Preferences > Advanced would be E:\iTunes\iTunes Media)


Note that you should follow the steps needed to allow iTunes to reorganize files and folders itself; do not try to move media around yourself using Windows Explorer - doing so is a surefire way to end up with broken links / unplayable songs / duplicates.


This is exactly how I have iTunes set up (other than my external drive being K:). Preferences are set as follows:

User uploaded file

and the K:\iTunes folder (external drive) looks like this:

User uploaded file

and the iTunes Media subfolder like this:

User uploaded file

Jan 26, 2015 10:55 AM in response to freewheelin'

"I guess to get my other music into the database, I have to drag and drop them into the iTunes program. when I'm done, I can get rid of the other files."


I would take a step back and make sure that you have iTunes configured to use the layout that you want to use (and I strongly suggest that should be with everything under E:\iTunes, as in my previous response). Run some tests to make sure that its working for you and then re-import the bulk of your music. It would probably be worth while getting another external drive, start from scratch to set this up as your primary library location for iTunes, and then import music from your existing drive. Once that's all working, you can then use the original external drive for backups.

Jan 26, 2015 9:00 PM in response to hhgttg27

Yes the file is where you said it would be. But, I also have the same thing in my external hard drive, just to make life interesting. Looks like the database on my external drive is the active one.

User uploaded file


User uploaded file


  • you have a folder called iTunes in the root of your E: drive
  • this folder contains your database file (iTunes Library.itl)
  • this folder also contains your iTunes Media folder (so the location specified in Edit > Preferences > Advanced would be E:\iTunes\iTunes Media)


As shown above?!


Note that you should follow the steps needed to allow iTunes to reorganize files and folders itself; do not try to move media around yourself using Windows Explorer - doing so is a surefire way to end up with broken links / unplayable songs / duplicates.


I hope I'm not making you completely crazy... but that process would be?



Right now, my edit>preferences>advanced says E:\itunes Music. Does that need to change? After I downloaded 'Lucinda Williams' the music file showed up in my external hard drive under the file path E:>itunes music>music>Lucinda Williams, with all my other albums. The difference is, Lucinda Williams shows when I run iTunes and the rest of my music does not. If I drag and drop albums from my external hard drive to iTunes (while it's running) the album then works. I don't have to remove anything, just essentially re-show it to iTunes. I suppose because it needs to be recorded in the database file. Who knew?!


So, I've got my library to work and thanks to your snips showing me exactly how your files look, I understand how mine should look.


The take home message (if I'm getting this right) is that there should be E:itunes Media and then E:itunes- the folder and the sub folder. I have mine set up as E:itunes Music and then within that, E:itunes Music>music>iTunes1 and then that is where the database files are. It works, so I could leave it. I just have this itunes1 folder in the middle of my music files that is the database. Ack! I just need someone to show me this, it would take two minutes, I'm sure.


Thanks so much for your patience. I want it to work, and understand why and how. 🙂 I wish there were someone in real life to help me, or if you lived nearby I could do the Midwestern thing and bake you hotdish as a thank you! I really appreciate your time and patience.

Jan 27, 2015 7:35 AM in response to freewheelin'

I'm not in front of the right computer to put together a full response ... bear with me, I'll post some recommendations here later. From a quick look at your screenshots you have all the right pieces but not necessarily within an optimal layout. In particular, having the iTunes database (iTunes Library.itl) inside a folder that contains media - E:\iTunes Music\Music\iTunes 1 - is non-ideal.


One question, though: with the folder structures you've shown in your screenshots, can iTunes find and play your media, or are you finding broken links ... "!" next to song names, error messages like this?

User uploaded file

Jan 27, 2015 3:11 PM in response to freewheelin'

Making some assumptions:


  • The iTunes Library.itl file located at E:\iTunes Music\Music\iTunes 1 is your current/active database
  • When you run iTunes all your media files can be located and will play
  • You have free space on your external hard drive - at least as much as currently used for your E:\iTunes Music folder


If one or more of these are not valid, STOP HERE and report back - some parts of the procedure below would be different.


Before starting I would strongly suggest taking a backup of your E: drive as insurance against anything not working as it is supposed to.


  1. Exit iTunes
  2. Open Windows Explorer and navigate to drive E:
  3. Select Organize > Folder and Search Options, then the View tab - make sure that the Show hidden files, folders and drives option is selected
  4. Create a new folder E:\iTunes - this will be the new starting point for your iTunes library
  5. Navigate to the folder where your library files are currently stored (E:\iTunes Music\Music\iTunes 1) - you've already provided a screenshot of this, but with the Show hidden files, folders and drives option selected you should see one more file:
    User uploaded file
    (sentinel is a hidden file that iTunes uses while running).
  6. Select all five files in this folder:
    User uploaded file
    then right-click > Copy or press Ctrl-C.
  7. Still in Windows Explorer, navigate to the E:\iTunes folder you created in step 4, then right-click > Paste or press Ctrl-V. At this point the E:\iTunes folder should look like this:
    User uploaded file
  8. Now hold down the Shift key and start iTunes. You'll get this prompt:
    User uploaded file
    Click on Choose Library..., navigate to E:\iTunes and select the iTunes Library.itl file (that you just copied into this folder). Click Open. iTunes will start and show your library with the same content as before.
  9. Select Edit > Preferences > Advanced. Click the Reset button, which will change your iTunes Media folder location to E:\iTunes\iTunes Media, which is what you should want it to be (ignore the I: drive shown here, yours should be E:)
    User uploaded file
  10. Click OK - you should get this prompt:
    User uploaded file
    Click Yes. This doesn't actually move your files, there's one more step. Still in iTunes, select File > Library > Organize Library... When you see this prompt:
    User uploaded file
    check the Consolidate Files box and - if not greyed out - the Reorganize files ... box. The click OK. iTunes will now start copying your media files to the new, preferred location and layout. The time taken to complete this process depends on the size of your library - for a small one it'll be a few minutes; for a large library considerably more. Allow the process to finish.
  11. Once complete, your library in iTunes should look exactly as it was before - you should be able to select and play any of your songs/albums. However, if you right-click > Get Info on any song and select the File tab, you should see that the file location has been updated:
    User uploaded file
    and if you go to Windows Explorer and navigate to E:\iTunes\iTunes Media you'll see a Music subfolder which in turn contains one folder for each artist:
    User uploaded file
    In your case the drive reference at the top will be "My Passport (E:)" and the folders listed will be those for your library.


Successful completion of all these steps should now have brought your library into the "portable" or "well-formed" layout. Just to make sure everything's working:


  • Exit iTunes
  • In Windows Explorer, rename your E:\iTunes Music folder to something like "Old iTunes"
  • Restart iTunes, without holding down shift. Your library should be available to you as in step 11 above - however, its worth testing a significant sample of your music just to make sure that everything is in the right place and plays correctly.


One point I didn't cover is the case where the other (older) iTunes library you have - the one where the iTunes Library.itl file is on the C: drive - may be referencing albums/songs that were not in the library that was on the E: drive and that the procedure described above will bring into a more standard format. If this is the case then there are a couple of approaches that you can use to merge the two libraries - report back if this is the case.


If this last point doesn't apply, you can now go ahead and delete the renamed E:\iTunes Music folder - otherwise there will be a few more steps to go through before you can finally get rid of this.


Finally, once you've completed everything successfully, work out how you're going to create and maintain a backup of your library. With the approach described above all of iTunes' data is in one place - E:\iTunes. I would suggest using the method described in turingtest2's notes on Backup your iTunes for Windows library with SyncToy ... remembering that "Hard drives fail. Always. You just don't know when its going to happen."


Apologies for the length of these notes - however, based on your description of your current setup I thought it worth going through all the steps to bring it into a more conventional layout.

Jan 29, 2015 3:53 PM in response to freewheelin'

Good 🙂.


However, going back to your original question, if you restructure your library as I described, you can then plug your hard drive into any PC that has iTunes installed on it, shift-start it, and select the library file on your external drive ... your complete library is then available to you. You may get the same result with a different layout, but the well-formed/portable one makes this more likely to succeed.

Jan 29, 2015 4:04 PM in response to hhgttg27

Yep, this makes perfect sense and I can do it. Thanks for including backup suggestions, I recognize the need for a good backup and backup method!!! 🙂


I'll backup to my other external hard drive. Is there a better way to do this than my ole favorite 'select all,' 'copy,' 'paste,' method?


Making some assumptions:


  • The iTunes Library.itl file located at E:\iTunes Music\Music\iTunes 1 is your current/active database
  • When you run iTunes all your media files can be located and will play
  • You have free space on your external hard drive - at least as much as currently used for your E:\iTunes Music folder

YES to all of these.


I do not think any music is linked to the C: folder.... but how would I know?!! that's the tricky part to me with the way iTunes does this.


I thank you so much for the specific directions; I am the kind of person who likes to know WHY things work the way they do.

Running itunes on two pc's with external hard drive library

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.