"Scripted Diagnostics Native Host Has Stopped Working"

This is a revival of an old thread that hasn't been answered or responded to in a while.  link:

http://social.answers.microsoft.com/Forums/en-US/w7performance/thread/e6592498-90c0-4a35-b43f-2ad1cea7b365

How can I fix this?

Whenever I run troubleshooter (for example, on the network), I get the following error: 

"Scripted Diagnostics Native Host Has Stopped Working"

, and this is reported in the reliability monitor: 

 

Problem Event Name: APPCRASH

Application Name: sdiagnhost.exe

Application Version: 6.1.7600.16385

Application Timestamp: 4a5bc3d4

Fault Module Name: mscorwks.dll

Fault Module Version: 2.0.50727.4927

Fault Module Timestamp: 4a27466f

Exception Code: c0000005

Exception Offset: 00000000001953d2

OS Version: 6.1.7600.2.0.0.768.3

Locale ID: 1033

 

 

Question Info


Last updated May 20, 2020 Views 34,345 Applies to:

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Hi AaronRo,

 

Since when are you facing this issue? Do you recall making any changes to the computer?

 

Step 1:  Run SFC (system file checker) scan to fix any corrupt system files

The system file checker (SFC) utility allows administrators to perform a scan of all protected resources to verify that they are the correct version. If SFC should find any incorrect versions in any of these protected resources, SFC will replace them with the correct versions.

You can always run a SFC scan on the windows vista computer. To run a SFC scan follow the steps below:

a)    Click on start and in the start search bar type cmd, right click on the command prompt icon in the programs area and then click on run as administrator.

b)    At the command prompt type sfc /scannow and then press enter.

 

Step 2:  Put the computer in clean boot and test

Follow Step 1 in the link below,

How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

http://support.microsoft.com/kb/929135 

 

If everything works fine after a clean boot, you can infer that some third party services are causing the problem.

 

Proceed with the remaining steps to pin-point out the third party service.

After you figure out the problem causing program, you may have to update or install a higher version of the program, if you seldom use that software you can consider uninstalling it.

Important: - Remember to put the computer back to normal startup follow step 7 in the link.

Thanks and Regards:

Ajay K

Microsoft Answers Support Engineer


Visit our Microsoft Answers Feedback Forum and let us know what you think.

31 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I'm not sure when i faced the issues, but I did do a reinstall of windows, and it might have been then.  I did step 1 and ran sfc /scannow (I'm on windows 7) and it said it had errors that it could not fix:

"Windows Resource Protection found corrupt files but was unable to fix some of them."

"Details are included in the CBS.Log ..."

As for doing a clean boot and test, it still did not work which means that its not a third party service.

Any suggestions?

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Quoting the following KB: http://support.microsoft.com/kb/929833

"If the System File Checker tool cannot repair a file, follow these steps:

  1. At an elevated command prompt, type the following command, and then press ENTER:
    takeown /f <var style="-webkit-box-sizing: border-box;">Path_And_File_Name</var>
    For example, type takeown /f E:\windows\system32\jscript.dll.
  2. Type the following command, and then press ENTER to grant administrators full access to the file:
    icacls <var style="-webkit-box-sizing: border-box;">Path_And_File_Name</var> /GRANT ADMINISTRATORS:F
    For example, type icacls E:\windows\system32\jscript.dll /grant administrators:F.
  3. Type the following command to replace the file with a known good copy of the file:
    Copy <var style="-webkit-box-sizing: border-box;">Path_And_File_Name_Of_Source_File</var><var style="-webkit-box-sizing: border-box;">Path_And_File_Name_Of_Destination</var>
    For example, type copy E:\temp\jscript.dll E:\windows\system32\jscript.dll."

I should mention that I'd be more concerned as to how these files are becoming corrupt. Such quick file corruption is commonly caused by a faulty hard drive. This could also explain the slow performance. Most systems come with a built in hard drive diagnostics in the BIOS; I would recommend running it to test the drive.

Cody C
Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think.
Instead of telling our young people to plan ahead, we should tell them to plan to be surprised.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Where would get a copy of jscript.dll, or whichever file I am trying to replace, which I assume is what is reported in the CBS log file?   I opened the CBS file and its a nightmare to decipher with a million lines, it seems like..  Not sure what I'm suppose to do here...

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I had the same problem... finally found out that it was a Windows update.

I had tried the disk scan and a couple of other suggestions detailed on this page... NO Luck.

After a long trial and error session I found out that windows update KB2978041 was the culprit.

Try uninstalling that single update and restart.  When you right click on the network icon in your task bar and click on troubleshoot the error should NOT come up.

Good luck.

7 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Quoting the following KB: http://support.microsoft.com/kb/929833

"If the System File Checker tool cannot repair a file, follow these steps:

  1. At an elevated command prompt, type the following command, and then press ENTER:
    takeown /f <var style="-webkit-box-sizing: border-box;">Path_And_File_Name</var>
    For example, type takeown /f E:\windows\system32\jscript.dll.
  2. Type the following command, and then press ENTER to grant administrators full access to the file:
    icacls <var style="-webkit-box-sizing: border-box;">Path_And_File_Name</var> /GRANT ADMINISTRATORS:F
    For example, type icacls E:\windows\system32\jscript.dll /grant administrators:F.
  3. Type the following command to replace the file with a known good copy of the file:
    Copy <var style="-webkit-box-sizing: border-box;">Path_And_File_Name_Of_Source_File</var><var style="-webkit-box-sizing: border-box;">Path_And_File_Name_Of_Destination</var>
    For example, type copy E:\temp\jscript.dll E:\windows\system32\jscript.dll."

I should mention that I'd be more concerned as to how these files are becoming corrupt. Such quick file corruption is commonly caused by a faulty hard drive. This could also explain the slow performance. Most systems come with a built in hard drive diagnostics in the BIOS; I would recommend running it to test the drive.

Cody C
Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think.
I want solutions for Windows 10.

2 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

This is a revival of an old thread that hasn't been answered or responded to in a while.  link:

http://social.answers.microsoft.com/Forums/en-US/w7performance/thread/e6592498-90c0-4a35-b43f-2ad1cea7b365

How can I fix this?

Whenever I run troubleshooter (for example, on the network), I get the following error: 

"Scripted Diagnostics Native Host Has Stopped Working"

, and this is reported in the reliability monitor: 

Problem Event Name: APPCRASH

Application Name: sdiagnhost.exe

Application Version: 6.1.7600.16385

Application Timestamp: 4a5bc3d4

Fault Module Name: mscorwks.dll

Fault Module Version: 2.0.50727.4927

Fault Module Timestamp: 4a27466f

Exception Code: c0000005

Exception Offset: 00000000001953d2

OS Version: 6.1.7600.2.0.0.768.3

Locale ID: 1033

I need answers with Windows 10!

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I need help with Windows 7 Professional for same problem......tried all the tools and fix it with no luck. cannot run the sfc/scannow because it tells me I have to be the administrator AND I AM!!!!

Also cannot troubleshoot anything since the scripted diagnostic antive host stops---this has been going on for several months.

I cannot repair windows because I do not have any discs-none came with my laptop, as usual, MS doesn't supply them like they used to.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I'm having this issue on Windows 10. It was a clean install of windows 10 because the upgrade trashed my hard drive and I had to buy a new hard drive and do a clean install using the windows media creation tool in September 2015. The system crashed about a week ago today and I did a startup repair using the disk that I created when I first used the media creation tool back in September 2015.  The startup repair took, however, ever since then, I'm getting the scripted diagnostics Native Host Has Stopped Working error message.  It may have something to do with the text to speech which had stopped working after the startup repair, so I had to force the system to use Cortana again by using the windows 10 wizard to set up my microphone. It worked and I got Cortana back, however, the error persisted. Please help -- Anyone from Microsoft got the answer? Is there a troubleshooter do it for me wizard for this error?

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

 cannot run the sfc/scannow because it tells me I have to be the administrator AND I AM!!!!

Did you get past this?  The message just means that you need to be doing it from an elevated cmd window (aka Administrator Command Prompt).  You can start that in W7 from the Start Menu (e.g. press Ctrl-Esc) finding a match with cmd.exe and right-click Run as administrator (among other methods).

 

HTH

Robert Aldwinckle
---

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.