Jailbreak your iPhone

How to Fix a Locked iTunes Library File


After a hard day at work, just about to listen to your music iTunes surprises you with an error “The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file”. What are you going to do in this case? With four simple steps, you can get back to your music.

Step 1:

Open up “Finder” and browse to /Music/iTunes

Step 2:

Find the “iTunes Library” File and move it to your desktop.

Step 3:

Launch iTunes, Your library should be empty. Then Exit iTunes (Command+q). A new “iTunes Library” file should now be created in the iTunes folder in Music/iTunes/.

Step 4:

Restore the “iTunes Library” file from your desktop by dragging it back to the iTunes folder in Music/iTunes/ and Press Replace on the notification window.

You have now completed all the steps. You may launch iTunes, hopefully getting rid of the “Locked iTunes Library File” error.


Comments ( 7 )

Have Something To Say ?

  1. cantinflasa March 20, 2011 Reply

    thank you man!.. it was very helpful!…

  2. James January 23, 2011 Reply

    It worked for me. The only difference was I let it search my computer for music and it put back all my songs.

  3. lynn January 22, 2011 Reply

    totally worked for me, thank you so much. until this afternoon i did not know that you could get the blue screen of death on a mac.

  4. Chris January 19, 2011 Reply

    Doesn’t work for me either. I have found lots of old posts with old itunes versions that this works – But I am assuming with newer versions of itunes there is going to be more finesse needed.

  5. Frank November 6, 2010 Reply

    hey I tried this but when I try to start up my Itunes it doesn’t respond

  6. [TD] June 7, 2010 Reply

    Didn’t work for me either…

  7. Douglas April 26, 2010 Reply

    This method did not work for me.

Leave your comment here