ITunes reset when moved location

I've been reading other postings and can't find the answer I need. Running out of HD space, I bought an ExHD and copied all my disorganized music folders (My Music and iTunes Music) into one iTunes/iTunes Music folder on the ExHD. Then I deleted the now duplicate folders on my computer HD to free up the space. Before I closed iTunes, I reset the location path in Prefs/Advanced to the new ExHD location. However, when I relaunched iTunes, it came up empty, as if it had just been installed. I have made copies of everything on the new ExHD (so I'm not freaking out yet), I just don't know which file will restore the Library (and all my Playlists, Purchased Music etc.) or how to do it. I could resynch my iPod, but I'm nervous about how the changes I've made might affect it. Does anybody know which files I need, and where to place them so I can restore it as it was before?

iTunes operates as a database of information for your music files. The actual music files are stored on your PC, not within iTunes. iTunes keeps absolute references of the music file location and other information in its database file. This allows iTunes to use music files from any location on the PC: different directories/folders on the main HD, another internal drive, an external drive, or a network drive (or any combination of the above).
Each song reference has a specific and hardcoded location (both drive letter & path) so iTunes can find and play (or sync) it. Move the file, change the path, re-map the drive it is on, shut down or remove the Drive, and iTunes will lose the file (giving you the '!' of a ‘Broken Link’). Lose, move or corrupt the ‘iTunes Music.itl’ file and your complete Library will ‘vanish’.
If you delete, corrupt, or otherwise lose your ‘iTunes Library.itl’ file, you will end up with a ‘blank’ Library within iTunes. Nine times out of ten, your underlying music files are still on the PC. They can be ‘re-Added’ via the File==>Add Folder/File menu command, but you will lose some of the music meta-data. Recovering your Library via backup copies of the iTunes database file, or from importing the XML file is always preferable.
Rebuild your Library by 'Adding' the songs back into iTunes, then Import your Library XML file to recreate your Playlists. Here's how:
‘Refresh/Rebuild’ Your iTunes Library
If you changed your music locations by hand (not allowing iTunes to manage the move), want to remove duplicate song references, or just have confused iTunes too much, these steps will re-initialize your Library for you. Read it completely through and do the small trial run prior to implementing the whole thing. You will lose your Playlists, as well as reset your Ratings, Play Counts and Last Played attributes. If these are important, post back and instructions on saving these (as best as your Library has) can be provided::
First, make sure that iTunes is correctly looking in the right Folder for your song files.
--- Make sure you know the current location of your music files (best to confirm this)
--- In iTunes choose: Edit==>Preferences==>’Advanced/General’ tab
--- Select 'Change' and browse to the music folder in your PC drive (if it isn’t already)
--- Click OK to save that setting
-- In iTunes: Edit==>Preferences==>’Advanced/General’ tab.
---- Make sure that the 'Keep iTunes Music folder organized’ box is checked (if you want iTunes to organize your folder structure)
---- Also, that the ‘Copy files to iTunes Music folder when adding to library’ box is unchecked
-- Click ’OK’ to accept and close the Preferences dialogue box.
-- Single click on the "Library" in the Source Pane
-- Single click first track in the Library
-- Select all songs (any one of several ways)
-- Delete – or select ‘Clear’ (yes, delete them all)
There will be 2 dialog boxes that pop up (one at a time). The first one asks ‘Are you sure you want to remove the selected items from the list?’ The second asks if you want the files moved to Recycle Bin or to keep them in the iTunes folder. You DO NOT want to send the files to the Recycle Bin, so select ‘Keep Files’. This will only delete the song reference links (both valid and broken). It will not delete the actual music files on your hard drive.
IMPORTANT:
Perform a small test of this prior to doing it en mass. If you do not receive both dialogue boxes, then stop and see this link prior to continuing. You will need to reset your iTunes preferences and also retrieve the ‘deletion test’ song files from the Recycle Bin. Scott P.: My Source List is missing (or, resetting the prefs)
Also note: 'Deleting and Restoring' the song references will reset the Play Count, Ratings, Date Added, Last Played, Ratings, and EQ attributes (there may be a few others). It will remove all song references from any Static Playlists you have. Also, any Smart Playlists that depend on any of the aforementioned attributes will be impacted. This may be a small price to pay to recover your Library -- or not.... You can ‘Export’ your Playlists to an XML file for ‘Importing’ after the refresh. This can restore your static playlists. The export only saves the song info, not the underlying music files. Of course, exporting your playlists is to be done before you delete any song references within iTunes.
Once your song references are removed from iTunes, this is how to get them back:
1 - In iTunes: File==>Add Folder to Library
2 - Browse to your main iTunes folder and select it
3 - For multiple music file locations, repeat 1 & 2
Depending on how small/large your music library is, the speed of your computer and your amount of RAM, this could take a few minutes to a few hours.
Your library should now be back to normal.
To rebuild your Playlists, search for the original version of the 'iTunes Music Library.xml' file on your PC (not the most recent, current and blank one). If you deleted it, then you are out of luck.
Within iTunes:
- File=>Import
- Browse to the location of the XML file and select it
- Let iTunes do its thing
You should have recreated your Playlists if you picked the right file.

Similar Messages

  • Print problems when moving locations

    I bought 2 envy 114d printers. One is in NJ and the other in Fla.... when I try to print, they don't work unless I re-install the set-up CD Why are they not compatible

    Hi,
    i don´t think that thie Version is so full with bugs, i use it since 11 month, that way...
    Some tricky Things there, thats right,
    but what heres explained as Problems, i think that might not be patched away :-)
    Lone

  • What is it that resets the Music Location when iTunes starts?

    So whenever you have your Music Location set to a mount on a remote device. Such as a share on a Time Capsule for instance if the mount isn't present when iTunes starts iTunes will always reset the Music Location back to it's default.
    Is there a way to stop this from happening?
    Can I make it so that mount is always available before iTunes or iTunes Helper starts?
    Both I and my wife on her Air want to share the same remote device for our music library but we don't want iTunes to keep reseting the Music Location.

    Option selects the iTunes library file, which is most likely in the /Music/iTunes folder on the Mac HD.
    The iTunes music folder is on the Time Capsule which needs to be mounted.
    As Robert noted, add the Time Capsule to your Login items.

  • Issues with iTunes Media Folder resetting to default location

    This is my 1st post to the Apple Support Community (the problem I have is with iTunes, but I believe it also has to do with the way OS X Lion is setup and the way Networked Drives are mounted in it) ...so I hope I've posted this to the correct place. Thank you in advance for any help I'm going to get here. I have no expirience with Mac OS X's (coming from a Windows background) so please bear with me, but I am a S/W Tester by trade so I'd like to think I'm resonably IT literate.
    ISSUE:
    I have a problem with iTunes and my Media Folder resetting constantly - my Setup is a MacBook Air, with an Apple Time Capsule 2TB which is providing my Wifi Network.
    I want to setup iTunes so that it will permenatly point to my Data Folder on the Apple Time Capsule, so that when I download purchases, synch iPhones, or rip Music it will end up on the Apple Time Capsule and not on the MacBook Air's SDD Drive
    I though I had managed to do this, but after I shut down the MacBook Air, and then logged back in to rip some music, iTunes had repointed to the MacBook Air's SDD, and all the CD's i ripped were saved there instead of the Apple Time Capsule. So far I have done the following;
    STEPS CARRIED OUT SO FAR:
    1) Connected the MacBook Air to the Wifi Network provided by the Apple Time Capsule - I can see the Time Capsule in the Finder app.
    2) Gone to GO MENU > LOCATE SERVERS and selected the top level DATA FOLDER on the Apple Time Capsule....I believe that I've managed to create an ALIAS (Shortcut?) that points to this, and it's on my Desktop.
    3) Next I went to SETTINGS > USERS > and made sure that ALIAS (Shorcut?) to the DATA FOLDER on the Apple Time Capsule is always loaded up on startup for my UserID
    4) Next, I found my iTunes folder, and MOVED it from the MacBook Air SDD to the Apple Time Capsule's HDD over the Wifi Network.
    5) I then went to ITUNES PREFERENCES and changed the MEDIA FOLDER it pointed to, from the MacBook Air's SDD to the one on the Apple Time Capsule.
    6) Then I logged out and shut down the MacBook Air.
    7) I powered on the Macbook Air, and logged in, then ripped some music - I then found that iTunes had created a new iTunes Folder for my User on the MacBooks SDD and all the CD's I ripped had been saved there. Also under the ITUNES PREFERENCES menu, it looks like iTunes had reset the location of the MEDIA FOLDER...
    I don't know if this is an issue with iTunes or not - I'm assuming it's a setup issue on my part, and that maybe I haven't created a permenant link to the Apple Time Capsule as I thought I had. If it helps I was attempting to do something similar to whats described in this YouTube video; http://www.youtube.com/watch?v=mA399lEXRTE
    Thanks again for any help
    Regards
    Codename21

    Codename21 wrote:
    4) Next, I found my iTunes folder, and MOVED it from the MacBook Air SDD to the Apple Time Capsule's HDD over the Wifi Network.
    if you really moved your entire iTunes folder, the next step needs to be launching iTunes while holding the option (⌥) key, clicking on choose library at the prompt, and selecting the iTunes folder you moved to the TC.
    as for auto-mounting the TC's disk on startup, you might find this discussion interesting.

  • ITunes resetting library location

    I have yet to figure this one out, but I'm dealing with an extremely large iTunes library (+120GB), which is stored on a NAS drive, which is making this problem an absolute nightmare,
    I have manually set the iTunes library location in preferences to be to a location on my NAS drive. I keep my library consolidated in that location. All good so far -- the problem is that iTunes randomly resets my library location to the default -- not the one I had set in preferences. My suspicion is that this happens if iTunes is forced to quit, but I'm not sure. I have discovered this because on a couple of occasions when syncing my iPod, iTunes has told me that it cannot find music files to sync to the ipod, but I can play them just fine (that is a whole other apparent iTunes bug -- it seems that iPod syncing is looking for songs in the iTunes library location, while actual song playing looks for the songs where the song config in the library file is set, which in this case, is different).
    So I checked the library location in preferences, and reset it to where it is supposed to be. Now iTunes updates the entire library for every song, which takes a little while, with 7500+ songs. But here's the nightmare: it now consolidates the library to "keep songs organized", and despite the fact that all my songs are already sitting in the exact location they are supposed to, iTunes tries the copy anyway, duplicating every song file in their respective directories, adding a " 1" to the file name. So my library size is doubled, I have 7500 extra songs in my library, and a big mess that is prohibitive to even attempt to clean up manually.
    I have had this happen three times now, and with the data sizes in play, it takes an entire day runtime to fix this.
    Any answers to this, why it happens or how to prevent it?
    Brad

    HangTime,
    HangTime wrote:
    perhaps i'm overlooking a fine point that is important to you, but when i've accidentally added music to my local drive I just moved the files to my external, and then dropped them into iTunes.
    does this cause a problem for you of which i'm unaware, perhaps, in my usage?
    Thanks for the reply. You are overlooking a few things. First, now I've confirmed, that when this happens, the library location has been automatically changed by iTunes from the external drive location to the default local location. Second, when these files are "accidentally added", they are presently in the library.
    So in your scenario that you mention, you have two things you have to be concerned with. The first is to go into preferences and reset your library location to the external drive from the default location iTunes has changed it to. If you do this, and your preferences are set to keep your library organized and copy files imported into your library, once the library location has been changed, it will update your entire library with the new location, after which you will receive a dialog to copy the files into the new library location. If you select OK, then the entire library is going to get copied into the exact same location where it already resides, duplicating every file except for those copied local, which of course have only a single copy in that library location.
    The second thing you have to be concerned with is that you cannot just move the files from where they are at -- your current iTunes library is currently pointing at those, and so you have to remove them from your iTunes library first, or else the links will be broken.
    Does that help to clarify?
    Btw, I'll add that it has all happened yet again since this thread started, because my network connection between by NAS drive and my Mac was interrupted, once again setting my iTunes location back to the default -- this is a major pain, and more so, really renders my iTunes library unusable because of its size. It appears that every time communication is interrupted between my external drive and my Mac, either because the external drive isn't mounted/ready or because of network communication, it resets my iTunes library location, causing the problem all over again.
    There has got to be a solution to this.
    Brad

  • My phone keeps resetting and then shows the icon to plug into itunes but when i do itunes tells me that it can't connect to my phone because it has a passcode and wants me to unlock it to connect. My phone only gives me the option to make emergency calls.

    My phone started resetting today over and over and then shows the icon to plug into itunes. When I tried plugging in, a message pops up saying that itunes can't connect because my phone has a passcode and i need to unlock it to connect. my phone won't let me do anything more than make an emergency call. it wont give me the option to enter my passcode to unlock the phone. What can I do?

    After a visit to the apple store, they were able to get through my pass code but unfortunately I found out that is was a problem with the logic board. Since Apple only wants to sell and not fix, I was able to locate an iphone repair near me that deals with logic boards and they are currently working on it right now. i should be getting it back soon. Im not sure if the problem you are experiencing is the same as i went through but it does sound like it may be also a hardware issue and would suggest searching online for an iphone repair place that can diagnose what exactly is wrong. Hope this helps.

  • I have a MacBook Air, which I just upgraded to OSX Lion. I also have the latest version of iTunes. When I try to stream to the AirPort, the Airport resets, and the wireless connection on the macbook locks up. Any suggestions where to start?

    I have a MacBook Air, which I just upgraded to OSX Lion. I also have the latest version of iTunes. When I try to stream to the AirPort, the Airport resets, and the wireless connection on the macbook locks up. Any suggestions where to start?

    To free up hard drive space the best bet is to move data files that you don't need access to all the time. Likely candidates are music, video, and photos. Things like word processing and spreadsheet files can also be moved but they tend not to be very large and so don't free up much space. The problem with moving the above mentioned files is that iTunes and iPhoto need to know where the files are stored.
    Here's an article explaining how to move the iTunes folder. You can move the iPhoto library using the Finder but there is a slight complication. Start iPhoto, open the Preferences and click on the Advanced tab. The first option is "Copy items to the iPhoto Library". If this option is checked, copy the iPhoto library to your external folder (drag it from the Pictures folder to your external drive) and then delete it from your Picture folder. If this option is not checked, it is a bit more complicated and we'll need to talk a bit.

  • There is an exclamation pt. next to several songs in itunes. When I click on that song, it can't locate it. When I click on locate, it pops up a menu with numerous files. I'm afraid to click on the files. What's going on?

    There is an exclamation pt. next to several songs in itunes. When I click on that song, it can't locate it. When I click on locate, it pops up a menu with numerous files. I'm afraid to click on the files. What's going on?

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • Why do some of my songs have an exclamation point in Itunes? When I try to play it gives an error message that it can be located?

    Why do some of my songs have an exclamation point in Itunes? When I try to play it gives an error message that it can be located?

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • Keep iTunes info when identifying a new location for the media folder

    I keep my iTunes media folder on an external hard drive which failed. I was able to transfer my media folder to another external drive. How to I let iTunes know where it is and keep my playlists and albums and other info intact in iTunes.

    A "library" is everything in the iTunes folder.  However, in some cases, such as yours, you have moved your media folder out of the iTunes folder which iTunes does not really like but can live with as long as nothing happens such as a drive failing.  The whole organization is stored in a file called iTunes Library.itl.  Right now your .itl tells iTunes that when you click on track xyz it needs to play the file xyz.mp3 in a certain folder on a drive named___
    The two ways to get iTunes to work are, as I said, either fool it into thinking the drive is the same one, or to get it to try to fix all the broken links.
    Now, I use an older (and IMHO a much better) OSX version.  I don;'t know about your version (I guess they have not changed in this regard) I know I can simply click on an external drive and rename it just as I would a any other file or folder.  Of course if you changed the folder organization too that will confuse iTunes, but I don't know exactly what you have done until you tell me.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    iTunes 9 [and later]: Understanding iTunes Media Organization - http://support.apple.com/kb/ht3847 - plus supplemental information about organizing to new structure https://discussions.apple.com/message/26404702#26404702
    Image of folder structure and explanation of different iTunes versions (turingtest2 post) - https://discussions.apple.com/docs/DOC-7392 and making an iTunes library portable.

  • Flex app doesn't work when moved from original location

    I'm trying to make an image gallery in flex. It works when I run it in Flex Builder perfectly fine. The html and swf files from the bin-debug folder work perfectly fine when opened in any browser also, but ONLY when those files and all related files are opened from the default location that the application was built in. When I export a build to a different folder, the swf loads but none of the information from the xml file displays. I tried setting all of the paths of the reference files (namely the xml) in the flex app to the exact absolute location on the server, and it still didn't work when I uploaded it to the server.
    I've tried several approaches starting from scratch and they have all come up with the same issue. I'm working with an educational license for Flex Builder, I'm not sure if they jip you on those and ruin the compiled swf.
    Please help! I'm losing my mind over this.I think it has to do with something else besides the code since it works fine when I hit "Run", but if anyone thinks it will help to post the code let me know.

    when you build an application using one of the wizards (like coldfusion flex application wizard) it hard codes
    paths to cold fusion CFC's, and sometimes gets it wrong.
    If your application references cfc's (or other remote objects) then it may be necessary to adjust the flex code
    when moving the code into a different base folder.
    For example in my own application, the url is http://localhost/crm_dev_flex and the built application gets put into
    c:\inetpub\wwwroot\crm_dev_flex\bin-debug
    References in the code to components found in c:\inetpub\wwwroot\crm_dev_flex\bin-debug\components\cfgenerated
    (in the flex code these looks like crm_dev_flex.bin-debug.components.cfgenerated.<mycomponent> )
    These need to change when you move the code to somewhere else.
    Also, if you are using wizard generated cfc's then these also contain similar references that need to be changed.
    IHTH.
    Cheers

  • I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder.

    I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder."
    I have tried a few things but iTunes closes right after i click okay. Anyone know anything?

    Look in your Home > Music folder.  There should be an iTunes folder there and it should have a number of files and folders including one called library.itl  You want to guide iTunes to that file.  If you don't see that file or folder then in your next post you will have to be very specific as to what you do see or how you have your iTunes set up because that's where it should be according to default settings.

  • My iPhone 4 won't factory reset it doesn't give me option on iTunes n when I go to settings the loading circle is there for hours it's 5.0.1/04.11.08 someone please help

    I have an ihpOne 4 I wanna give to my brother as a present it's on iOS 5.0.1 and firmware 04.11.08 but it won't factory reset I tried on iTunes but it won't give me the restore option even after I updated to the latest version of iTunes and when I try goin into settin to reset the loading circle takes hours...can somebody please help me my brothers bday is 10th may

    Anthonyduke00 wrote:
    I can't get my phone to show caller id and when I go on setting is doesnt give me an option to show caller I'd or not
    To take advantage of all the features of your iDevice... see here...
    iPhone User Guide (For iOS 6 Software)

  • HT201274 A update came on my phone 4s general and I hit it . It uploaded and shut down . When I tried to turn it back on it told me to hook up to iTunes and when I did it tells me to reset but if I do this I will lose all my contact and photo info. What c

    My iPhone 4S had an update for general and I hit it and the screen had a line that filled up and then the phone shut off , apron restarting it shows you to connect to iTunes and when I did it told me to reset my phone which will erase all my photos and contact data . Is there any thing I can do at this point to back out of the upload or finish it without losing info?Keep in mind that at this point my phone will not turn on it only comes on and shows and tells me to plug into iTunes . Please help

    There are many ways to back up photos and contacts on an iPhone:
    Photos - copy them to your computer with a USB cable; the phone will appear in Windows or Mac as a digital camera.
    Photos - Enable Photo Stream, which saves them to iCloud and syncs to your computers(s)
    Contacts - set to sync to any contact app on your computer (e.g., Outlook, Address Book)
    Contacts - Enable sync to iCloud. This is real time and will always be up to date
    Everything on the phone (including contacts and photos) - Back up to iTunes on your computer
    Everything on the phone - Back up to iCloud
    All of these are described in the manual.
    If you did not do ANY of these then the contents are already lost.

  • I have an ipod touch that is disabled and I get the message to connect to itunes yet when I connect to itunes it says device protected by password and I can't access it under devices to reset it. What can I do?

    I have an ipod touch that is disabled and I get message to connect to itunes. When I connect to itunes, the response is unable to connect due to device password protected. It does not appear under devices so I can't get in to reset it. What can I do?

    polaricee1319 wrote:
         I have an IPod Touch that is disabled. ...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    Once you have it resolved... have a look at this link...
    http://support.apple.com/kb/ht1766

Maybe you are looking for