Microsoft KB Archive/929946

From BetaArchive Wiki
Knowledge Base


Error message in Event Viewer after the Zune software installation fails: "Error 1317. An error occurred while attempting to create the directory: C:\Documents and Settings\All Users\Documents\My Music"

Article ID: 929946

Article Last Modified on 7/12/2007



APPLIES TO

  • Zune software



SYMPTOMS

When you try to install the Zune software, you experience the following symptoms:

  • The installation program stops at 95 percent completion and then closes. Then you receive the following error message:

    An error occurred while installing the Zune software. Close all open applications, restart your computer, and try again.

  • After you restart the computer and then start to install the Zune software again, you receive the same error message again.
  • You receive the following error message in Event Viewer:

    Error 1317. An error occurred while attempting to create the directory: C:\Documents and Settings\All Users\Documents\My Music


CAUSE

This problem occurs if the Zune software installation process cannot copy files to folders that are required on the hard disk to install the software. Typically, this occurs if the required folders have permissions set that prohibit the files from being installed.

THINGS TO TRY

  1. Reset the permissions for the folders that are required to install the Zune software. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type the following commands, and then press ENTER after each line.

      Note Each new line starts with the cacls command.

      Windows XP Home Edition

      Type the following commands:

      cacls.exe "%ALLUSERSPROFILE%\Documents" /T /G BUILTIN\Administrators:F

      cacls.exe "%ALLUSERSPROFILE%\Documents" /T /E /G System:F

      cacls.exe "%ALLUSERSPROFILE%\Documents" /T /E /G BUILTIN\Users:R

      cacls.exe "%ALLUSERSPROFILE%\Documents" /T /E /G Everyone:C

      Windows XP Professional

      Type the commands for Windows XP Home Edition, and then type the following additional command:

      cacls.exe "%ALLUSERSPROFILE%\Documents" /T /E /G "BUILTIN\Power Users":C

  2. Try to install the Zune software again.


Keywords: kbtshoot kbpubtypekc kbzuneamericasportal kbexpertisebeginner KB929946