Microsoft KB Archive/945319

= Music tracks may become associated with incorrect albums after you upgrade to a newer version of the Zune software =

Article ID: 945319

Article Last Modified on 12/7/2007

-

APPLIES TO


 * Zune Digital Media Player
 * Zune software

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



SYMPTOMS
After you upgrade the Zune software on your computer, you notice that music in your collection that was previously categorized correctly is now associated with incorrect album titles.



CAUSE
This problem occurs when music files become associated with the incorrect album art or with other metadata information during the upgrade process from an earlier version of the Zune software.



THINGS TO TRY
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this issue, try the following methods in the order in which they appear.

Notes
 * These steps rebuild your collection by creating a new music database by using information from metadata that is embedded in your media files instead of migrating your old database.
 * These steps will remove any existing device relationship and any podcast subscriptions.

Method 1: Run the Zune Media Collection Reset tool
 Exit the Zune software, if it is running. Visit the following Web site to download the Zune Media Collection Reset tool:

http://go.microsoft.com/fwlink/?LinkID=105882

 Save the file to your computer. Double-click the downloaded ZuneMediaCollectionResetTool.exe file. Click Next in the Media Collection Reset dialog box. Click Accept in the Terms of Use dialog box to continue.</li> After your collection has been reset, click Exit.</li> Restart the Zune software.</li></ol>

Method 2: Manually rebuild the media database
<ol> Exit the Zune software.</li> Open the folder where the Zune software stores its media database: <ul> Windows Vista

Click Start. In the Start Search box, type the following command, and then press ENTER:

%localappdata%\microsoft\zune

</li> Windows XP

Note This step contains two command lines because the Zune database may be stored in either of two folders.

Click Start, click Run, type the following commands. Press ENTER after each command line:

%userprofile%\Local Settings\Application Data\Microsoft\Zune

%allusersprofile%\Application Data\Microsoft\Zune

</li></ul> </li> Right-click ZuneStore.sdf, and then click Rename.</li> Type ZuneStore.sdf.old to rename the file.</li> Right-click CurrentDatabase_365.wmdb, and then click Rename.</li> Type CurrentDatabase_365.wmdb.old to rename the file.</li> Restart the Zune software to rebuild the collection database.</li></ol>

Method 3: Rebuild the media database and reinstall the Zune software
<ol> Exit the Zune software.</li> Back up the CurrentDatabase_365.wmdb file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Open the Zune data folder: <ul> On a Windows Vista-based computer, click Start. In the Start Search box, type %localappdata%\microsoft\zune, and then press ENTER.</li> On a Windows XP-based computer, click Start, click Run, type the following command in the Open box, and then press ENTER:

%userprofile%\local settings\application data\microsoft\zune

</li></ul> </li> <li>Click to select the CurrentDatabase_365.wmdb file.</li> <li>Press CTRL+C to copy the CurrentDatabase_365.wmdb file, and then press CTRL+V. This step renames CurrentDatabase_365.wmdb as &quot;Copy of CurrentDatabase_365.wmdb.&quot;</li></ol> </li> <li>On a Windows Vista-based computer, click Start, click Control Panel, click Programs, and then click Programs and Features.

On a Windows XP-based computer, click Start, point to Control Panel, and then double-click Add or Remove Programs.</li> <li>Click Zune, and then click Remove.</li> <li>Delete the ZuneStore.sdf file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Open the Zune data folder: <ul> <li>On a Windows Vista-based computer, click Start. In the Start Search box, type %localappdata%\microsoft\zune, and then press ENTER.</li> <li>On a Windows XP-based computer, click Start, click Run, type the following command in the Open box, and then press ENTER:

%userprofile%\local settings\application data\microsoft\zune

</li></ul> </li> <li>Right-click the ZuneStore.sdf file, and then click Delete. If you are prompted, confirm that you want to delete the file.</li></ol> </li> <li>To reinstall the Zune software, visit the following Zune Web site, and then click Get the software only under Download:

http://www.zune.net/setup

</li> <li>Run the Zune setup package. When you are prompted to Launch or Close, click Close.</li> <li>Rename &quot;Copy of CurrentDatabase_365.wmdb&quot; as CurrentDatabase_365.wmdb. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Open the Zune data folder: <ul> <li>On a Windows Vista-based computer, click Start. In the Start Search box, type %localappdata%\microsoft\zune, and then press ENTER.</li> <li>On a Windows XP-based computer, click Start, click Run, type the following command in the Open box, and then press ENTER:

%userprofile%\local settings\application data\microsoft\zune

</li></ul> </li> <li>Right-click CurrentDatabase_365.wmdb.old, and then click Rename.</li> <li>Rename the file as CurrentDatabase_365.wmdb .</li></ol> </li> <li>Modify the Zune software registry entries. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start Notepad.</li> <li>Copy and then paste the following text into Notepad:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Zune\Groveler]

&quot;LegacyImportComplete&quot;=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Zune\MediaStore]

&quot;OverwriteAllMetadata&quot;=dword:00000001

</li> <li>In Notepad, click Save As on the File menu.</li> <li>Select a location to which you want to save the file.</li> <li>In the File name box, type ZuneMetaData.reg .</li> <li>In the Save as type list, select Text Document (*.txt), and then click Save.</li> <li>On the File menu, click Exit.</li> <li>Use Windows Explorer to locate the folder where you saved the ZuneMetaData.reg file.</li> <li>Double-click the ZuneMetaData.reg file to merge the file into the registry.</li></ol> </li> <li>Start the Zune software, and then select go right to my collection. You will see notifications at the bottom of the screen as the Zune software analyses your collection. Wait for this process to be completed.</li> <li>Wait another 10 minutes. Then, check whether any updates are displayed in the notification bar on the bottom of the screen.

When no more notifications are displayed, you can use the Zune software.</li></ol>

Keywords: kbtshoot kbpubtypekc kbzuneamericasportal kbexpertisebeginner KB945319

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.