apple logo silver blueWish you could free your iTunes Library from your computer and take it with you in your pocket? GetUSB.info put together an excellent tutorial on how to run a mobile iTunes Library from a USB stick or hard drive. This method will run the entire iTunes application from the storage device, making it easy to manage iTunes libraries from a single location. I believe this is how iTunes should have be developed. Having a library specific for each computer is a frustrating way to enjoy your music if you use multiple computers everyday (ie. work, home, laptop, etc.).

What pushed Greg from GetUSB.info over the edge, was his wife wanting to purchase music from iTunes at work and then sync up iTunes with her computer at home. Typically this is done by purchasing the music and downloading directly to the iPod. But his wife is a CPA and travels from location to location for audits and doesn't even use the same computer all the time. The solution was to run iTunes from a USB flash drive so she could just manage a single Library.


It's worth mentioning this does not get around the five license authorization for running iTunes purchased music, rather this is a method to manage your iTunes library from a single location for multiple computers.



Here is a quick summary so you know what you are getting into:



  • Create an autorun file for the USB drive

  • Create a batch file to auto-launch iTunes from any computer

  • Install iTunes on the USB stick

  • Install iTunes on any computer to run from the USB drive



Of course this method also works for larger storage hard drives - basically anything that appears as a Mass Storage Device on your PC system. If you are looking for a long term strategy for managing your iTunes music, I strongly recommend doing this process to an external hard drive that is, at least, 120GBs.



Requirements:





    • Any iPod

    • PC with iTunes

    • An iTunes Library that you want to move onto a USB stick or hard drive






Step 1: Creating the Autorun file


The autorun file tells the host computer what you want to do when the USB device is plugged into the computer. This step creates a single click auto-launch for iTunes.



  1. Open Notepad and type the following:

    [autorun]
    icon=\iTunes.ico
    open=iTunes_mobile.bat
    action=Mobile iTunes
    label=Mobile iTunes
    shell\open\command=iTunes_mobile.bat
    shell\open=Mobile iTunes




  2. Save the Notepad document as 'Autorun.inf'


    itunes mobile autorun file




  3. If you want a cool looking icon than pay attention to the first line 'icon=\iTunes.ico' and place your ico file in the root of the USB drive (get one here). If you don't care, delete the line.





Step 2: Creating the Batch file


Next create the batch file needed to automatically run iTunes upon connection of the USB drive. Please note you need XP Service Pack 2 or Vista for the autorun feature to work..




  1. Open Notepad and type the following:



    set APPDATA=%~dp0Application Data
    if not exist "%~dp0Application Data" mkdir "%~dp0Application Dataset HOMEPATH=%~dp0Documents and Settings
    if not exist "%~dp0Documents and Settings" mkdir "%~dp0Documents and Settingsset USERPROFILE=%~dp0
    set ALLUSERSPROFILE=%~dp0
    echo starting iTunes
    start \iTunes_programs\iTunes.exe




  2. Save the file as 'iTunes_mobile.bat'




  3. With these two files, the autorun file and the iTunes_mobile.bat file we are ready to move along to installation.






NERD
NOTE:
iTunes is available as a free download for Mac OS X, Windows Vista, Windows XP and Windows 2000 from Apple's website. It is also bundled with all Macintosh computers, and some HP and Dell computers.




Step 3: Installing iTunes




  1. Install iTunes to your PC as normal - not the USB drive!




  2. While iTunes is installing on your PC go over to the USB drive and create a folder named 'iTunes_Programs'




    mobile itunes




  3. When the iTunes installation is complete on the PC copy EVERYTHING from 'c:/Program files/iTunes' into the new folder of the USB drive 'iTunes_Programs'




  4. Once this is complete create another folder on the USB drive 'iTunes_Installer' Drag the iTunesSetup file into this folder. We use this when installing iTunes on future computers.



    mobile itunes




  5. Now that we have iTunes on the PC and we have everything on the USB drive, run the iTunes_mobile.bat file. Here a screen will flash then disappear and iTunes will open with a blank library.




  6. During this process you will see some additional files and folders created on the USB drive. This is good - everything worked as planned. Now, everything should look like this after adding the autorun file, bat file and ico icon file along with running the iTunes_mobile.bat file:



    mobile itunes





Step 4: Loading your USB drive


Next create the batch file needed to automatically run iTunes upon connection of the USB drive. Please note you need XP Service Pack 2 or Vista for the autorun feature to work..




  1. Your USB drive is now ready to accept content. Drag-n-drop everything from the host computer under /My Documents/My Music/iTunes Music/ to the USB drive under /My Documents/My Music/iTunes/iTunes/iTunes Music/



    Your file path might be slightly different if you customized iTunes from a previous installation. This process might take some time depending on the size of your library.



  2. Once the copy process is complete run the iTunes_mobile.bat file again and everything will appear in it's place. Simply double click the 'iTunes_mobile.bat' file. If you are missing the song ratings on the USB drive, go back into the PC iTunes and run an 'Export Library' which creates an xml file. In the USB drive iTunes run the 'Import Library' feature to read in the xml file - your ratings should be restored.





Step 5: Checking the Autolaunch



  1. At this point you probably haven't disconnected the USB drive. Do that now.




  2. Reconnect the drive and the following window should appear.



    mobile itunes



  3. When you double click on the Mobile_iTunes icon listed first, iTunes will launch and use the library from your USB flash drive! Nice.




  4. Congratulations you are running iTunes from your USB drive.





Step 6: Installing iTunes on a different computer


So you are at work and ready to run your iTunes from a USB drive. This is what you do.




  1. Plug in the USB drive, but DON'T click the Autorun icon which pops up (and we created). Rather, close the pop-up window and navigate to the USB drive from My Computer.




  2. Right click on the USB drive/stick and click "Explore"




  3. Open the 'iTunes_Installer' folder on the USB drive and double click the iTunesSetup.exe file. Run the installation.



  4. Once the iTunes installation is complete you'll have a blank iTunes library on the new PC. That's OK, close iTunes.




  5. Now click your iTunes_mobile.bat file. This will open iTunes with your Library from the USB drive. Done! Congratulations you are running iTunes library from your USB drive on ANOTHER computer.





Step 7: Bonus


So here is the bonus. If you perform this USB tutorial on a large USB hard drive, chances are that external enclosure has additional USB ports. Now connect and sync your iPod to the USB drive, forget connecting the iPod to your PC. You can sync, grab podcasts, whatever, without connecting the iPod directly to your computer.

1 comments

  1. Ryan Braughler  

    12:19 PM

    You could also download Floola, the free alternative to iTunes. It can be run on any PC, Mac, Linux, or even straight from your iPod! You don't even have to install it, just download it! Try it today!

Recent Entries

Recent Comments

Recommended Money Makers