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: Problem with windowscodecs.dll

17 Feb 2011   #1

Windows 7 Ultimate x64
Problem with windowscodecs.dll

hi guys.
a few days ago a problem appeared when i tried running Visual Studio 2010. a startup crash when i tried to open Visual Studio and the cause of crash was windowscodecs.dll

i thought something is wrong with the licence file or visual studio is corrupted and etc. i searched over the net but didn't find anything about it.

i tried reinstalling visual studio but it didn't helped. so i restored my windows using driveimage xml to an old backup. unfortunately even after the restore i got same crash error.
after that i was really hopeless i searched again and found some tutorials about sfc /scannow command.
i runed it and it says unable to fix. i didn't ask for any install dvd. i restarted pc. windows did some configure stuff at shutdown and at logon. but the problem didn't solved.

so i manually replaced the windowscodecs.dll in safe mode using the install.wim
then the crash error is now gone and i can open visual studio 2010.

there are somethings that are not clear to me:
1. after i restored the system to an old backup, how is that possible the problem with windowscodecs.dll appeared again in the backup state ?
2. we have to run sfc /scannow a few times to get it working, right? i run it for 3-4 times but each time it says unable to fix. is something wrong ?

there is also a file called sfcdetails.txt after i opened it i found all lines are reporting about this :
Cannot repair member file [l:34{17}]"WindowsCodecs.dll"

can you guys help me repair the corrupted files ? and please don't ask for a clean install or reinstall because i have lots of data and apps on my laptop and can't do that.

My System SpecsSystem Spec

17 Feb 2011   #2

MS Windows 7 Home Premium 64-bit SP1

Dear xperator,
I suggest you try sfc /r and another command which is shown at the end of the snapshot where the exact path of the file has to be given!

In your sit., sfc /r has more relevence as the command can replace a corrupted Windows file with a new one!

Best wishes,

Attached Thumbnails
Problem with windowscodecs.dll-problem-windowscodecs.png  
My System SpecsSystem Spec

 Problem with windowscodecs.dll

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 05:57 AM.
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