iTunes lost my music library

August 1st, 2008

Hoping that this will help someone who experiences this in the future, I thought I’d briefly write up what happened when I switched my Windows machine from one domain to another, and my iTunes library disappeared.

What happened:  My machine had been a member of domain A, and I had redirected “My Documents” and all of its subfolders (noteably “My Music”) to D:\MyDocuments.  My iTunes music was in d:\MyDocuments\My Music\iTunes\iTunes Music and the corresponding .itl and .xml files were right above that in d:\MyDocuments\My Music\iTunes.

I moved my computer to domain B, knowing that I would get a new profile and a lot of cleanup work.  I should have remapped My Documents right away, but I didn’t.  I ran iTunes, and it had to do some reinstallation under the new user profile.  It finally opened, showing an empty music library.

After reading some articles online, I thought I could go into Preferences, Advanced tab, and just point iTunes to d:\MyDocuments\My Music\iTunes\iTunes Music.  All of the documentation seems to indicate this, but it doesn’t work.  It turns out that the pointer in the Advanced tab probably only tells iTunes to look there for the music, but not for the .itl and .xml files that describe the library.  iTunes was still looking in my new profile path at a blank set of those file.  Of course, it took me hours to figure that out.

There are probably two solutions:  move the correct .itl and .xml files to the new profile path, or repoint My Documents again so that iTunes finds the existing files in d:\MyDocuments\My Music\iTunes.  I chose the second, and it worked well.

By the way, I couldn’t remember how I’d originally remapped My Documents, so I downloaded TweakUI.  The only downside was that TweakUI has you individually map My Documents, My Music, My Pictures, etc.  The method that I’d used before mapped them all when you remapped My Documents.

Do I Really Have a Virus?

June 27th, 2008

Here’s a great article at Lifehacker about how you can know if a file is really infected, or if your antivirus software is giving you a false positive (shouting “virus!” when there really isn’t one).

Read the article and check out the online multi-engine scanning tools at

For some educational videos on WireShark from Laura Chappell, search for “bitspitters” on YouTube. You’ll find fun stuff, including the following:

This is a great tip that I got from Tekzilla

If you’re like me, and you sometimes forget to open a new tab in Firefox before using the search box, this is a very useful tip.

Browse to about:config, find browser.search.openintab, double-click to change it to true, and then restart Firefox for the change to take effect.

Now your searches will open in a new tab!

Have you ever closed a browser tab and then wanted it back?  This is one of those things that I’ve needed for a long time, and didn’t even think to ask if it was possible.  I just assumed that it wasn’t!

In Firefox 2, there are at least three ways to reopen a closed tab:

  1. Right-click on a tab and choose “Undo Close Tab” to get back the one you closed most recently.
  2. Ctrl-Shift-T (think of it being the opposite of Shift-T, which opens a new tab).
  3. History menu -> Recently Closed Tabs will let you choose from among the last 10 tabs you closed!

In Internet Explorer 7, you could install the IE7 Open Last Closed Tab plugin (which I have not tested).

Finding IT Answers

May 1st, 2008

Here’s a reminder (primarily for myself) of the places to look for answers when I have an IT problem:

  1. My local knowledgebase of tech answers
  2. My Outlook archives via Windows Desktop Search
  3. Google (what did we do before search engines?)
  4. TechSpot
  5. Technet (since I’m primarily working with Windows machines)
  6. The Windows Secrets archives (I’m a subscriber)
  7. My del.icio.us bookmarks
  8. My browser favorites

Thanks to Rod Trent at myITforum.com for pointing out this comparison (from Microsoft) of the various versions of Windows Mobile. The table has 61 rows of various features, and then shows which versions of Windows Mobile 5.0, 6.0, or 6.1 (with touch screen or without) have the feature.

Windows Mobile feature comparison

I only recently learned that you get fewer features if your phone doesn’t have a touch screen! And I’m supposed to know it all.

Now I just need to find a comparison between Palm Activesync and what you get with Windows Mobile…

At the beginning of each year, I like to calculate the rate of return of each of my accounts for the previous year. If I haven’t added to or subtracted from an account, that’s as easy as (gain or loss) divided by initial investment. So, if I started with $10,000 and ended up with $12,000, my return was $2000 / $10000 = 0.20, or 20%.

But what if I added $1000 at some point during the year? Depending on when I added the $1000, it would be contributing various amounts to my return. This is where Excel’s XIRR function becomes very handy (other spreadsheets have it too). The XIRR function is used to determine the rate of return with irregular payments (IRR can be used if the payments are on a regular schedule).

I found a good explanation of calculating investment rate of return here, but really like Allen Wyatt’s ExcelTips article on the XIRR function. He explains how you use the function–really, you just need to remember that money put in the account is expressed as negative numbers, and money pulled out of the account (or remaining at the end) is a positive. You give the XIRR function the dates and amounts for the start, payments/withdrawals, and ending value, and it gives you a rate of return.

Notice in the following example how I started with $10,000, added $1000, and ended up with $12,000. Depending on when I added the $1000, the return varied from 10.1% to almost 10.4%.

XIRR function

Allen Wyatt has WordTips and ExcelTips that are searchable. Check out www.vitalnews.com.

I’ve bumped into this problem several times, and seem to forget the answer, so this is as much to remind me as for anyone else…

Windows Firewall

If you’re trying to manage the Windows XP firewall and the controls are grayed out, and you see the message “For your security, some settings are controlled by Group Policy”, the answer could be as simple as “you installed Windows Live OneCare”.

When you install Windows Live OneCare, it takes over the firewall settings.  To manually make changes, go to Start - Windows Live OneCare (or just click on the OneCare icon in the tray), then click the “Change settings” quick link.  From there you’ll have access to your firewall settings.

OneCare quick links

From NetworkWorld:  a list of the 20 most useful Microsoft sites for IT professionals.  You’ll probably find at least one useful site that you didn’t know about–I found several!