DirectX is not working, affects several programs


  1. Posts : 8
    Windows 7 Home Premium 64bit
       #1

    DirectX is not working, affects several programs


    Hello,

    When I go to the startup menu and go to run, and type in "dxdiag" and hit enter, I get an error message saying:

    C:\Windows\SysWOW64\d3d11.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact yoru system administrator or the software vendor for support.

    After I press ok, I get another message saying:

    Error: Could not load dxdiagn.dll

    When I try to download directx and install again, I get a message that says a newer or equivalent version of directx is already on my PC. How can I repair directx?

    I am on windows 7 home premium. I checked and I have the latest drivers for my graphics card and other components.


    After running

    Code:
    sfc /scannow
    I got this output:


    C:\Users\ajd>sfc /scannow

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.
    Windows Resource Protection found corrupt files but was unable to fix some of th
    em.
    Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example
    C:\Windows\Logs\CBS\CBS.log
    Here is the output file: http://andydaykin.com/CBS.log
      My Computer


  2. Posts : 53,364
    Windows 10 Home x64
       #2

    Until the experts get here :), did you run SFC 3 times as suggested?

    SFC /SCANNOW Command - System File Checker

    A Guy
      My Computer


  3. Posts : 5,705
    Win7 x64 + x86
       #3

    One of several entries in the CBS.log file:
    2012-05-08 23:58:58, Info CSI 0000024a Hashes for file member \SystemRoot\WinSxS\x86_microsoft-windows-directx-direct3d11_31bf3856ad364e35_6.1.7601.17514_none_f1bfb8c22bee306d\d3d11.dll do not match actual file [l:18{9}]"d3d11.dll" :
    Found: {l:32 b:BHycPP3mOJJJM08z7mRogbL5NWlRDcnuZigtDdI8i6c=} Expected: {l:32 b:RLpA9zrZHbts7wlNCY7cM87OejrjDgS6A3Qab6c9FGk=}
    2012-05-08 23:58:58, Info CSI 0000024b [SR] Cannot repair member file [l:18{9}]"d3d11.dll" of Microsoft-Windows-DirectX-Direct3D11, Version = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
    2012-05-08 23:58:59, Info CSI 0000024c Hashes for file member \SystemRoot\WinSxS\x86_microsoft-windows-directx-direct3d11_31bf3856ad364e35_6.1.7601.17514_none_f1bfb8c22bee306d\d3d11.dll do not match actual file [l:18{9}]"d3d11.dll" :
    DirectX 11 is built into Win7, so there's no repairing that individual component.

    I've attached a copy of the file from my Win7 SP1 64 bit system (as with any unknown file, scan it with an antivirus BEFORE opening it!!!). My file is version 6.1.7601.17514 also, so there shouldn't be any version conflicts.
    To replace the current d3d11.dll file:
    - make a system restore point (in case things go awry, it'll help you get back into Windows)
    - rename the current file from d3d11.dll to d3d11.BAK (located in the C:\Windows\SysWOW64\ directory)
    - then extract attached file and copy it into the C:\Windows\SysWOW64\ directory (it may not even work, but it's easier than the alternative).
    - search the system for other copies of this file (I have 2 different sizes and 4 copies of the file on my system). This is just in case we have to replace the other sized file.

    The alternative is a repair install of Windows 7. Instructions are here: Repair Install
    DirectX is not working, affects several programs Attached Files
      My Computer


  4. Posts : 8
    Windows 7 Home Premium 64bit
    Thread Starter
       #4

    usasma said:
    One of several entries in the CBS.log file:
    2012-05-08 23:58:58, Info CSI 0000024a Hashes for file member \SystemRoot\WinSxS\x86_microsoft-windows-directx-direct3d11_31bf3856ad364e35_6.1.7601.17514_none_f1bfb8c22bee306d\d3d11.dll do not match actual file [l:18{9}]"d3d11.dll" :
    Found: {l:32 b:BHycPP3mOJJJM08z7mRogbL5NWlRDcnuZigtDdI8i6c=} Expected: {l:32 b:RLpA9zrZHbts7wlNCY7cM87OejrjDgS6A3Qab6c9FGk=}
    2012-05-08 23:58:58, Info CSI 0000024b [SR] Cannot repair member file [l:18{9}]"d3d11.dll" of Microsoft-Windows-DirectX-Direct3D11, Version = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
    2012-05-08 23:58:59, Info CSI 0000024c Hashes for file member \SystemRoot\WinSxS\x86_microsoft-windows-directx-direct3d11_31bf3856ad364e35_6.1.7601.17514_none_f1bfb8c22bee306d\d3d11.dll do not match actual file [l:18{9}]"d3d11.dll" :
    DirectX 11 is built into Win7, so there's no repairing that individual component.

    I've attached a copy of the file from my Win7 SP1 64 bit system (as with any unknown file, scan it with an antivirus BEFORE opening it!!!). My file is version 6.1.7601.17514 also, so there shouldn't be any version conflicts.
    To replace the current d3d11.dll file:
    - make a system restore point (in case things go awry, it'll help you get back into Windows)
    - rename the current file from d3d11.dll to d3d11.BAK (located in the C:\Windows\SysWOW64\ directory)
    - then extract attached file and copy it into the C:\Windows\SysWOW64\ directory (it may not even work, but it's easier than the alternative).
    - search the system for other copies of this file (I have 2 different sizes and 4 copies of the file on my system). This is just in case we have to replace the other sized file.

    The alternative is a repair install of Windows 7. Instructions are here: Repair Install

    Thanks for giving me the d3d11.dll, that was able to fix the problem with directx. I'm also having an issue with GDI and C:\Windows\System32\WindowsCodecs.dll do you have files for those as well?

    Also, I tried the repair install and that didn't work, can't remember the error message, but when windows rebooted after it finished I got a message saying that windows reverted to the previous version and the repair installation didn't complete.
      My Computer


  5. Posts : 5,705
    Win7 x64 + x86
       #5

    I have no idea about why it didn't work. I haven't tried a repair install since SP1 came out - preferring to reinstall rather than repair. I'd post a separate query in the forums.

    The only GDI dll I found was gdi32.dll. Both DLL's are in the attached gdi32.zip package.
    These come from my C:\Windows\System32 folder - not from the C:\Windows\SysWOW64\ directory

    I uploaded another set (with 2 extra dll's) from the SYSWOW64 directory labelled gdiplusSYSWOW64.zip and it's attached below.

    FYI - I had a problem with DLL's at work yesterday, resulting in only the 2nd time that I've manually replaced dll's in my career (and I've only suggested it a few times on the forums). While doing this (on a heavily infected machine) I noticed that there were a number of 0 byte sized dll's in the System32 folder. And they related to the errors that I'd been receiving (both on screen and in Event Viewer). I suspect that this is a result of the malware infections - so I suggest scanning your system with a couple of these free antivirus scans: Free Online AntiMalware Resources
    DirectX is not working, affects several programs Attached Files
      My Computer


  6. mjn
    Posts : 17
    windows 7 home premium 64bit
       #6

    dxgi.dll


    I just started having a very similar problem as the original post. I was using Windows Live Movie Maker and working on a tribute to my sister who passed. I decided (wrong thing to do) to update and downloaded Windows Live Essentials (newer update of Movie Maker). Then, movie maker would not start up. Reinstalled several times. Then tried dxdiag in Run command. And, I have the exact same error except it is the dxgi.dll I uninstalled Windows Live Essentials. Did many scans. And, am wondering what to do next? I have an ACER aspire 1430z.
      My Computer


  7. Posts : 5,705
    Win7 x64 + x86
       #7

    mjn - Please start your own topic so that it can get the individual attention that it deserves.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:20.
Find Us