14 Replies Latest reply: Oct 26, 2013 4:20 PM by turingtest2
ozbuddy Level 1 (0 points)

I followed the instructions for moving my music (https://discussions.apple.com/message/9118646?messageID=9118646#9118646) as my C Drive was to capacity and my music files were doing it.  However, after completing and reopening ITunes I have several issues:

1) Lost all my playlists

2) Some of my music files are missing but when I go the new location on my D Drive (all are in the same music folder) and double click....by track, I might add, they return to ITunes.

3) When I connected my iPhone 4 to add some music files, all the settings under music are "gone" and it's as if I was doing this for the first time.  I'm asked if I want to delete all the music, etc. files on my phone and re-sync.


Hoping someone might be able to shed some light on this as I foresee a lot of time to be invested to get back to where I was before moving the files.  BTW, all the library files were moved, too, AND everything moved is still in my Recycle folder so not deleted as I want to make sure everything is right before I do the delete thing.  Besides.....I'm backing all the music onto a portable hard drive for safe keeping.




Azus N61J, Windows 7
  • pedro d Community Specialists

    Hello there, OzBuddy.

    You have a variety of questions that the following Knowledge Base article should help you find answers to:


    iTunes: How to re-create your iTunes library and playlists



    One section I'd recommend:

    You're missing music or other media in iTunes

    The other would be:


    Re-creating the iTunes Library file

    Note: After re-creating your library, any devices that you sync with iTunes (Apple TV, iPod, iPhone, iPad) will see your iTunes library as a new library and will completely resync. The next sync with such a device will take longer and may reset some options since your rebuilt library isn't familiar to the device.

    1. Quit iTunes.

    2. Locate your iTunes folder (this is the folder that contains the iTunes Library and iTunes Library.xml files).

    Operating SystemDefault location of iTunes Folder
    Mac OS X/Users/[your username]/Music
    Microsoft Windows XP\Documents and Settings\[your username]\My Documents\My Music\
    Microsoft Windows Vista\Users\[your username]\Music\
    Microsoft Windows 7\Users\[your username]\My Music\


    3. Open your iTunes folder.

    4. Drag the "iTunes Library.xml" or "iTunes Music Library.xml" file to the Desktop. If neither is available, learn how to add files back to the Library (because the XML file is not available, playlists and other information will not be available).

    5. Drag the following file from your iTunes folder to the Trash:

    Mac OS X"iTunes Library" or "iTunes Library.itl"
    Microsoft Windows"iTunes Library.itl"


    6. Open iTunes.

    Important: Do not add any content into iTunes at this point (such as by purchasing something from the iTunes Store).

    7. Choose File > Library > Import Playlist.

    8. Navigate to the "iTunes Library.xml" file on the Desktop.

    • Mac users: Click Choose.
    • Windows users: Click Open.

    If your Podcasts list in iTunes is empty after following these steps, learn how to add them back into iTunes.

    Thanks for reaching out to Apple Support Communities.



    Pedro D.

  • turingtest2 Level 9 (68,844 points)

    Ideally you would have moved the entire iTunes folder as a unit, then held down shift as you launched iTunes, holding until prompted to choose or create a library, used the choose option and opened the library in the new location.


    Perhaps this method is still available to you. If not see Recover your iTunes library from your iPod or iOS device.



  • ozbuddy Level 1 (0 points)

    Ok....that's restored my playlist but:


    1) None of the artwork for the albums, apps, everything is appearing

    2) I'm being ask to find where the music actually is now.....



  • turingtest2 Level 9 (68,844 points)

    My script FindTracks might be able to help out.



  • christie ann Level 1 (0 points)

    I tried this method but it did not work! please help... I have only 500 of 2500 songs left on the ipad, and only my recent purchases in itunes library. I tried consolidating and downloaded new version of itunes, one or the other caused the wipe. I'm desperate

  • turingtest2 Level 9 (68,844 points)
  • christie ann Level 1 (0 points)

    yes, I saw that (thanks for answering). By the way, I have a macbook air not windows I tried following those instructions but at this point I've made a real mess of things. It's a tragedy.

  • christie ann Level 1 (0 points)

    I also tried renaming the itl folder to corrupt and renaming the most recent library file to itl. nothing works!

  • turingtest2 Level 9 (68,844 points)

    The principles are much the same on a Mac, though if the library was original created on a much older version of iTunes iTunes might be looking for a file called iTunes Library without the .itl extension, and there are different tools for making the library match up with the media folder. If you've let Time Machine do its thing then it might have a backup of the library file.



  • christie ann Level 1 (0 points)

    yes, it was an older version for sure. the two files in question have been fiddled with back and forth to no avail and I am not even sure what is what anymore as now there are even less appearing in itunes. All I did was try to recover purchased music from my stolen iphone, which I eventually found and dowloaded to icloud. When I tried to copy to ipod, it wouldn't sync. I consolidated the library and upgraded then all was wiped. Time Machine?

  • christie ann Level 1 (0 points)

    cosolidating supposedly saved everything to the media file but even there only a portion is showing. the xml file seems the same. I would have much prefered to lose the current purchases and keep the 1000s of others! What a horrible day... thanks for trying

  • turingtest2 Level 9 (68,844 points)

    Consolidating copies files stored outside of the media into it. It won't fix any problems with the librayr.


    Time Machine is Mac's built-in backup tool. If you'd set it up you'd probably know.



  • christie ann Level 1 (0 points)

    grrrrr! it seems to happen after that, or the upgrade. sadly, my music is gone forever. And I am pretty furious with Apple. I cannot believe this happened, there is no reason it should have! If I bring the computer to an apple tech do you think he/she could find wiped library? What is the other method if older version was used? thanks again

  • turingtest2 Level 9 (68,844 points)

    The default name for a new iTunes database file is iTunes Library.itl - back in the day, on a Mac only, it was iTunes Library. If you're playing copy and rename you need to match with the file iTune is looking for otherwise it will create a new empty library for you, however an "empty" library can still show all your purchases with downloadable links to the cloud so it may not be so obvious that it is empty.


    Doug's scripts MusicFolder Files Not Added and Super Remove Dead Tracks can do the same task as iTunes Folder Watch that I recommend in the earlier linked post, provided the files really are in the media folder. If they've been deleted from both your library and your device the last restort is some kind of deleted file recovery tool. Not a topic I've explored on a Mac.