You are currently offline, waiting for your internet to reconnect

You may receive the "DirectX did not copy a required file" error message when you install DirectX 9.0 on a Windows XP Professional-based computer

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
When you run the Dxwebsetup.exe file to install Microsoft DirectX 9.0 on a Microsoft Windows XP Professional-based computer, you may receive the following error message during the setup process, and the setup process is not completed:
DirectX did not copy a required file
You may notice that the error message is displayed soon after the setup process copies the D3dref8.dll file to the computer. Additionally, you may notice that the D3dref8.dll file that was copied to the computer is not found on the computer.
This issue may occur if the Dxxpunp.inf file is present in your computer. The Dxxpunp.inf file is a DirectX debug component that contains a reference to the D3dref8.dll file. The Dxxpunp.inf file is located in the %SystemRoot%\System32\Dxxpdbg folder that contains all the DirectX debug components.
To resolve this issue, remove the Dxxpunp.inf file from the DirectX debug folder. Then run DirectX Setup. To remove the Dxxpunp.inf file, follow these steps:
  1. Click Start, click Run, type cmd.exe, and then click OK.
  2. At the command prompt, type cd %SystemRoot%\system32\dxxpdbg, and then press ENTER.

    Note In this command, %SystemRoot% represents the folder that contains the operating system files.
  3. At the command prompt, type dxxpunp.exe, and then press ENTER.
  4. At the command prompt, type exit, and then press ENTER to close the command prompt.

Article ID: 891890 - Last Review: 01/16/2015 16:34:07 - Revision: 2.0

Microsoft Windows XP Professional

  • kbnosurvey kbarchive kbtshoot KB891890