- Close iTunes if you have it open
- Go to the web page, right-click on it, and save the page as a file, making sure you change the extension to .js. So for instance, in Firefox, right-click on the page, choose Save page As”¦ and change the file name from RemoveDeadTracks.txt to RemoveDeadTracks.js.
- Open Windows Explorer and browse to the file you just saved
- Double-click on the file.
The script will open iTunes, and then start running through and removing dead links. In my case it took around ten minutes and correctly removed nearly two thousand links.
Another interesting tool which I haven’t tried is this one. Apparently it only works on iOs.