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

Article translations Article translations
Article ID: 891890 - View products that this article applies to.
Expand all | Collapse all


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: February 17, 2005 - Revision: 1.2
  • Microsoft Windows XP Professional SP1
  • Microsoft Windows XP Professional
kbtshoot KB891890

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from