1. #1

    d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Programs were working, but stopped working about a month and a bit ago.

    Have re-installed DirectX.
    Have tricked DirectX to believe it is an earlier version and re-installed again.

    Have installed most of the Windows updates. SP1 is failing to update and rolls back its install.

    Have updated to the latest graphics drivers.
    Have un-installed and re-installed the latest graphics drivers.
    Have installed older graphics drivers.

    Have verified that the two versions of d3d8thk.dll have exactly the same date and time as the same two versions that are on my other working computer.

    Have performed sfc /scannow numerous times and restarted the PC after each.

    Please note: Unable to upload the CBS.zip file as it is 20 MB in size. The maximum zip file for upload is 7.15 MB. (The CBS.log is 2.3 MB and three of the .cab files are quite large)
    Please let me know if you need me to upload any or all of the files separately. I didn't want to just go ahead and hog server space without asking.

    Have run SFCFix a couple of times and each time gave the same result as below:
    SFCFix version 3.0.0.0 by niemiro.
    Start time: 2016-07-29 20:31:40.197
    Microsoft Windows 7 - amd64
    Not using a script file.




    AutoAnalysis::
    WARNING: Failed to get store name from identity name with return code 2 for component prnod002.inf and file Amd64\OKML491.GPD. File is reported as corrupt by SFC.
    CORRUPT: Amd64\OKML491.GPD of component prnod002.inf.


    CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-lmhsvc_31bf3856ad364e35_6.1.7600.16385_none_aeb5da0e0a07418a\nrpsrv.dll
    CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\wbemcore.dll
    CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-shell-wallpaper-scenes_31bf3856ad364e35_6.1.7600.16385_none_a4393b1a254aeaee\img26.jpg
    CORRUPT: C:\Windows\winsxs\amd64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.1.7600.17136_none_75b0957519a6d25f\System.ServiceModel.dll
    CORRUPT: C:\Windows\winsxs\amd64_windowssearchengine_31bf3856ad364e35_7.0.7600.16808_none_cfa89e1b34e2d51d\msshooks.dll
    CORRUPT: C:\Windows\winsxs\x86_microsoft-windows-directx-direct3d9_31bf3856ad364e35_6.1.7600.16385_none_c223c2c8c219cb6a\d3d8thk.dll


    SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
    CBS & SFC total detected corruption count: 19
    CBS & SFC total unimportant corruption count: 0
    CBS & SFC total fixed corruption count: 0
    SURT total detected corruption count: 0
    SURT total unimportant corruption count: 0
    SURT total fixed corruption count: 0
    AutoAnalysis:: directive completed successfully.




    Successfully processed all directives.
    SFCFix version 3.0.0.0 by niemiro has completed.
    Currently storing 0 datablocks.
    Finish time: 2016-07-29 20:35:34.089
    ----------------------EOF-----------------------


    • Ad Bot

      advertising
      Beep.

        
       

  2. #2
    Administrator
    Windows Update Instructor
    Security Analyst

    Join Date
    Oct 2014
    Posts
    17,206

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Hello and welcome

    Due to the precise nature of your corruption, you will receive help from a user named CKing123. He's one of our senior trainees here who's in his final phrase of his studies and needs to gain some real world experience in specific areas of Windows Update. This means that he'll be assisting you, but that I will first need to double check and approve his fixes before he posts them to you. If anything this is a good thing for you because it means that you've got at least two of us watching over your thread, but it will unfortunately add a slight delay between each reply. I hope that you understand and can accept the need for us to train up new members in this way in order to carry on doing what we do here, however, if for any reason you object to this setup, I will happily take on your thread myself.

    Thank you very much for your understanding. We'll be with you very shortly.

  3. #3

    Join Date
    Aug 2015
    Location
    British Columbia, Canada
    Posts
    1,137

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Hello JRath and to Sysnative

    Have tricked DirectX to believe it is an earlier version and re-installed again.
    What exactly did you use to trick DirectX?

    Don't worry about the CBS log. SFCFix listed some of the corrupted files, so I have created a fix based upon that. After running SFC, we will get the latest CBS log to continue from :)

    SFCFix Fix
    This fix is very specific for JRath's computer. Trying this fix on your own computer might damage your computer. If you are after assistance, create a new thread, and you will be assisted shortly.

    Download SFCFix (by niemiro) and move the executable on your Desktop.
    Download the attached SFCFix.zip and move the archive to your Desktop
    Note: Make sure that the file is named SFCFix.zip, do not rename it.
    Save any work you have open, and close every programs
    Drag the SFCFix.zip file over the SFCFix.exe executable and release it
    SFCFix will launch, let it complete
    Once done, a file will appear on your Desktop, called SFCFix.txt
    Open the file, then copy and paste its content in your next reply

    Now, we run SFC scan:

    SFC Scan
    1. Click on Start and type cmd. When Command Prompt appears, right-click on it, and click Run as Administrator
    2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
    Code:
    sfc /scannow
    3. Once it finishes, copy and paste the following into the command-prompt window and press Enter.
    Code:
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
    4. Once this has completed please go to your Desktop and you will find CBS.txt => Right-click on this file and choose Send To...Compressed (zipped folder). Please upload this zipped file CBS.zip to this thread
    Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.

    -CKing

  4. #4

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    OMFG!!!!!!

    I ran the SFC scan.
    I ran the scannow.

    Then, I tested a game that had stopped working.... AND IT'S WORKING.

    Oh... sorry... I'm getting ahead of myself.
    Firstly, to BrianDrab, thanks for the welcome. Yeah, no problems with having a trainee working on it. Everyone has to learn sometime. As you are assisting me, I think I can have a little patience. =)

    Secondly, to CKing123, thanks for the welcome and thank you for the fix. I'm blown away. I've been trying to sort this problem for over a month now. If I could find where I packed the Windows install disks, I would have re-installed ages ago.

    This is amazing. Many thanks.
    I assume you don't need the information now that it's fixed, but I'll add it anyway because it was in your instructions.

    I'll attach the CBS log (hopefully).
    The SFCFix log is as follows:

    SFCFix version 3.0.0.0 by niemiro.
    Start time: 2016-08-05 01:25:37.080
    Microsoft Windows 7 - amd64
    Using .zip script file at C:\Users\porcelain\Desktop\SFCFix.zip [0]




    PowerCopy::
    Successfully took permissions for file or folder C:\Windows\WinSxS\x86_microsoft-windows-directx-direct3d9_31bf3856ad364e35_6.1.7600.16385_none_c223c2c8c219cb6a\d3d8thk.dll
    Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-shell-wallpaper-scenes_31bf3856ad364e35_6.1.7600.16385_none_a4393b1a254aeaee\img26.jpg
    Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-lmhsvc_31bf3856ad364e35_6.1.7600.16385_none_aeb5da0e0a07418a\nrpsrv.dll

    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\x86_microsoft-windows-directx-direct3d9_31bf3856ad364e35_6.1.7600.16385_none_c223c2c8c219cb6a\d3d8thk.dll to C:\Windows\WinSxS\x86_microsoft-windows-directx-direct3d9_31bf3856ad364e35_6.1.7600.16385_none_c223c2c8c219cb6a\d3d8thk.dll.
    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\amd64_microsoft-windows-shell-wallpaper-scenes_31bf3856ad364e35_6.1.7600.16385_none_a4393b1a254aeaee\img26.jpg to C:\Windows\WinSxS\amd64_microsoft-windows-shell-wallpaper-scenes_31bf3856ad364e35_6.1.7600.16385_none_a4393b1a254aeaee\img26.jpg.
    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\amd64_microsoft-windows-lmhsvc_31bf3856ad364e35_6.1.7600.16385_none_aeb5da0e0a07418a\nrpsrv.dll to C:\Windows\WinSxS\amd64_microsoft-windows-lmhsvc_31bf3856ad364e35_6.1.7600.16385_none_aeb5da0e0a07418a\nrpsrv.dll.

    Successfully restored ownership for C:\Windows\WinSxS\x86_microsoft-windows-directx-direct3d9_31bf3856ad364e35_6.1.7600.16385_none_c223c2c8c219cb6a\d3d8thk.dll
    Successfully restored permissions on C:\Windows\WinSxS\x86_microsoft-windows-directx-direct3d9_31bf3856ad364e35_6.1.7600.16385_none_c223c2c8c219cb6a\d3d8thk.dll
    Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-shell-wallpaper-scenes_31bf3856ad364e35_6.1.7600.16385_none_a4393b1a254aeaee\img26.jpg
    Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-shell-wallpaper-scenes_31bf3856ad364e35_6.1.7600.16385_none_a4393b1a254aeaee\img26.jpg
    Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-lmhsvc_31bf3856ad364e35_6.1.7600.16385_none_aeb5da0e0a07418a\nrpsrv.dll
    Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-lmhsvc_31bf3856ad364e35_6.1.7600.16385_none_aeb5da0e0a07418a\nrpsrv.dll
    PowerCopy:: directive completed successfully.




    Successfully processed all directives.
    SFCFix version 3.0.0.0 by niemiro has completed.
    Currently storing 3 datablocks.
    Finish time: 2016-08-05 01:25:38.952
    Script hash: EfTAzywMC+VLv1y785oCltx+zmTO7VZfdF5r/6oz9Uc=
    ----------------------EOF-----------------------
    Attached Files Attached Files

  5. #5

    Join Date
    Aug 2015
    Location
    British Columbia, Canada
    Posts
    1,137

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Hello JRath

    We are not finished yet. There are still files that are corrupt, and there are some manifests damaged and they all contribute to you not being able to update to SP1 Please run this fix:

    SFCFix Fix
    This fix is very specific for JRath's computer. Trying this fix on your own computer might damage your computer. If you are after assistance, create a new thread, and you will be assisted shortly.

    Download SFCFix (by niemiro) and move the executable on your Desktop.
    Download the attached Attachment 22052 and move the archive to your Desktop
    Note: Make sure that the file is named SFCFix.zip, do not rename it.
    Save any work you have open, and close every programs
    Drag the SFCFix.zip file over the SFCFix.exe executable and release it
    SFCFix will launch, let it complete
    Once done, a file will appear on your Desktop, called SFCFix.txt
    Open the file, then copy and paste its content in your next reply

    Now, we run another SFC scan:

    SFC Scan
    1. Click on Start and type cmd. When Command Prompt appears, right-click on it, and click Run as Administrator
    2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
    Code:
    sfc /scannow
    3. Once it finishes, copy and paste the following into the command-prompt window and press Enter.
    Code:
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
    4. Once this has completed please go to your Desktop and you will find CBS.txt => Right-click on this file and choose Send To...Compressed (zipped folder). Please upload this zipped file CBS.zip to this thread
    Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.

    -CKing

  6. #6

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Ahh.... lol.... Cool.
    I was just so happy because things started running again. =)

    The new CBS log file attached and the SFCFix text is as follows:
    SFCFix version 3.0.0.0 by niemiro.
    Start time: 2016-08-06 12:53:55.737
    Microsoft Windows 7 - amd64
    Using .zip script file at C:\Users\porcelain\Desktop\SFCFix.zip [0]




    PowerCopy::
    Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_windowssearchengine_31bf3856ad364e35_7.0.7600.16808_none_cfa89e1b34e2d51d\msshooks.dll
    Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.1.7600.17136_none_75b0957519a6d25f\system.servicemodel.dll
    Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_prnod002.inf_31bf3856ad364e35_6.1.7600.16385_none_ae12c1cb94acf497\Amd64\OKML491.GPD
    Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\wbemcore.dll
    Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-s..chrecognizereng.ale_31bf3856ad364e35_6.1.7600.16385_en-gb_e3a447542ad2c5da\AI032057.am

    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\amd64_windowssearchengine_31bf3856ad364e35_7.0.7600.16808_none_cfa89e1b34e2d51d\msshooks.dll to C:\Windows\WinSxS\amd64_windowssearchengine_31bf3856ad364e35_7.0.7600.16808_none_cfa89e1b34e2d51d\msshooks.dll.
    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\amd64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.1.7600.17136_none_75b0957519a6d25f\system.servicemodel.dll to C:\Windows\WinSxS\amd64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.1.7600.17136_none_75b0957519a6d25f\system.servicemodel.dll.
    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\amd64_prnod002.inf_31bf3856ad364e35_6.1.7600.16385_none_ae12c1cb94acf497\Amd64\OKML491.GPD to C:\Windows\WinSxS\amd64_prnod002.inf_31bf3856ad364e35_6.1.7600.16385_none_ae12c1cb94acf497\Amd64\OKML491.GPD.
    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\wbemcore.dll to C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\wbemcore.dll.
    Successfully copied file C:\Users\porcelain\AppData\Local\niemiro\Archive\amd64_microsoft-windows-s..chrecognizereng.ale_31bf3856ad364e35_6.1.7600.16385_en-gb_e3a447542ad2c5da\AI032057.am to C:\Windows\WinSxS\amd64_microsoft-windows-s..chrecognizereng.ale_31bf3856ad364e35_6.1.7600.16385_en-gb_e3a447542ad2c5da\AI032057.am.

    Successfully restored ownership for C:\Windows\WinSxS\amd64_windowssearchengine_31bf3856ad364e35_7.0.7600.16808_none_cfa89e1b34e2d51d\msshooks.dll
    Successfully restored permissions on C:\Windows\WinSxS\amd64_windowssearchengine_31bf3856ad364e35_7.0.7600.16808_none_cfa89e1b34e2d51d\msshooks.dll
    Successfully restored ownership for C:\Windows\WinSxS\amd64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.1.7600.17136_none_75b0957519a6d25f\system.servicemodel.dll
    Successfully restored permissions on C:\Windows\WinSxS\amd64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.1.7600.17136_none_75b0957519a6d25f\system.servicemodel.dll
    Successfully restored ownership for C:\Windows\WinSxS\amd64_prnod002.inf_31bf3856ad364e35_6.1.7600.16385_none_ae12c1cb94acf497\Amd64\OKML491.GPD
    Successfully restored permissions on C:\Windows\WinSxS\amd64_prnod002.inf_31bf3856ad364e35_6.1.7600.16385_none_ae12c1cb94acf497\Amd64\OKML491.GPD
    Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\wbemcore.dll
    Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\wbemcore.dll
    Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-s..chrecognizereng.ale_31bf3856ad364e35_6.1.7600.16385_en-gb_e3a447542ad2c5da\AI032057.am
    Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-s..chrecognizereng.ale_31bf3856ad364e35_6.1.7600.16385_en-gb_e3a447542ad2c5da\AI032057.am
    PowerCopy:: directive completed successfully.




    Successfully processed all directives.
    SFCFix version 3.0.0.0 by niemiro has completed.
    Currently storing 8 datablocks.
    Finish time: 2016-08-06 12:54:09.330
    Script hash: hy0DjxKfFeKH9ghgsx8n74SkvoZqgaCtvRrABv36CX4=
    ----------------------EOF-----------------------
    Attached Files Attached Files

  7. #7

    Join Date
    Aug 2015
    Location
    British Columbia, Canada
    Posts
    1,137

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Hello JRath

    To fix the rest of the corruptions by SFC, we need to repair manifest damage using SURT:

    System Update Readiness Tool (SURT)
    1. Download and run the following file.
    2. When it asks you if you wish to install, please answer yes. Note: It could take 15 minutes or more to run. Please don't cancel.
    3. You will get an Installation Complete screen when it's done running.
    4. Please attach the log from the following location. C:\Windows\Logs\CBS\CheckSUR.log

    -CKing

  8. #8

    Red face Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Oh dear...
    I do beg your pardon. I thought I'd done this already.
    I ran the scan and pulled the log out to send... and then must have gotten distracted and not actually sent it.

    Apologies.
    Attached Files Attached Files

  9. #9

    Join Date
    Aug 2015
    Location
    British Columbia, Canada
    Posts
    1,137

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    SURT repaired the errors :)

    Are you having any other problems?

  10. #10

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Nope.... I think it's all good. =D
    Many thanks.
    You people are awesome.

  11. #11

    Join Date
    Aug 2015
    Location
    British Columbia, Canada
    Posts
    1,137

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    No problem :)

    Glad to help!

    -CKing

  12. #12

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Quote Originally Posted by CKing123 View Post
    No problem :)

    Glad to help!

    -CKing

    Hi CKing123

    Please can you help me?

    I have same tipe of problem. Can i upload you the cbs.log?

    Thank you,

  13. #13

    Join Date
    Aug 2015
    Location
    British Columbia, Canada
    Posts
    1,137

    Re: d3d8thk.dll is either not designed to run on Windows or it contains an error.

    Hi lentzy and to Sysnative forums

    To prevent confusion, could you please create a new topic in the Windows Update forums? (Just follow the posting instructions here)

    Someone will help you shortly.

    -CKing

Similar Threads

  1. SFCFix reports d3d8thk.dll as corrupt
    By demlowje in forum Windows Update
    Replies: 19
    Last Post: 09-03-2015, 05:04 PM
  2. NO SOUND !!! SFC.DLL is either not designed to run ....
    By samijuana in forum Windows Update
    Replies: 32
    Last Post: 08-05-2014, 03:44 AM
  3. Replies: 0
    Last Post: 11-24-2012, 06:19 PM

Log in

Log in