Microsoft KB Archive/929946

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

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
 Reset the permissions for the folders that are required to install the Zune software. To do this, follow these steps:  Click Start, click Run, type cmd, and then click OK.  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 &quot;%ALLUSERSPROFILE%\Documents&quot; /T /G BUILTIN\Administrators:F

cacls.exe &quot;%ALLUSERSPROFILE%\Documents&quot; /T /E /G System:F

cacls.exe &quot;%ALLUSERSPROFILE%\Documents&quot; /T /E /G BUILTIN\Users:R

cacls.exe &quot;%ALLUSERSPROFILE%\Documents&quot; /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 &quot;%ALLUSERSPROFILE%\Documents&quot; /T /E /G &quot;BUILTIN\Power Users&quot;:C

</li></ol> </li> Try to install the Zune software again.</li></ol>

Keywords: kbtshoot kbpubtypekc kbzuneamericasportal kbexpertisebeginner KB929946

-

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

© Microsoft Corporation. All rights reserved.