Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: DirectX is not working, affects several programs


11 May 2012   #1

Windows 7 Home Premium 64bit
 
 
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:


Quote:
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 System SpecsSystem Spec
.

12 May 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

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

SFC /SCANNOW Command - System File Checker

A Guy
My System SpecsSystem Spec
12 May 2012   #3
Microsoft MVP

 
 

One of several entries in the CBS.log file:
Quote:
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 Windows 7, so there's no repairing that individual component.

I've attached a copy of the file from my Windows 7 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


Attached Files
File Type: zip d3d11.zip (205.5 KB, 270 views)
My System SpecsSystem Spec
.


12 May 2012   #4

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by usasma View Post
One of several entries in the CBS.log file:
Quote:
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 Windows 7, so there's no repairing that individual component.

I've attached a copy of the file from my Windows 7 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 System SpecsSystem Spec
14 May 2012   #5
Microsoft MVP

 
 

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


Attached Files
File Type: zip gdi32.zip (740.7 KB, 25 views)
File Type: zip gdiplusSYSWOW64.zip (1.65 MB, 23 views)
My System SpecsSystem Spec
03 Jun 2012   #6
mjn

windows 7 home premium 64bit
 
 
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 System SpecsSystem Spec
03 Jun 2012   #7
Microsoft MVP

 
 

mjn - Please start your own topic so that it can get the individual attention that it deserves.
My System SpecsSystem Spec
Reply

 DirectX is not working, affects several programs




Thread Tools




Our Sites

Site Links

About Us

Find 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 03:38 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33