Windows 10: Multiple "Powershell has stopped working" events Solved


  1. Posts : 25
    Win 10 Home
       22 Mar 2018 #1

    Multiple "Powershell has stopped working" events


    A friend is getting many Powershell errors
    Click image for larger version. 

Name:	image.png 
Views:	22 
Size:	8.5 KB 
ID:	181887
    Often 20 or more interruptions per session.

    The Application Event log shows many sets of 4 events
    Error 22/03/2018 13:05:08 Application Error 1000 (100)
    Error 22/03/2018 13:05:08 Application Error 1000 (100)
    Error 22/03/2018 13:05:08 .NET Runtime 1026 None
    Error 22/03/2018 13:05:08 .NET Runtime 1026 None
    We simply close the window and carry on until next annoying interruption...
    Everything else works OK

    Diagnosis actions to date:
    I have run CHKDSK C: /F /R with no errors. I have NOT (yet) run SFC

    I've attached a text file with the event log text.
    The base event always seems to be a .NET Runtime error
    Faulting module name: ntdll.dll
    Exception code: 0xc0000005

    The problems occur on a friend's system - spec as follows

    Win 10 v1709 64bit latest build
    1 x 120 GB SSD as system disk
    1 x 1TB HDD for data
    Intel core i5-3210M @ 2.5GHz 6GB RAM
    Dell Inspiron 17 motherboard

    Any suggestions to fix this problem will be very welcome.
    I hope I don't have to rebuild the system from scratch.

    PShell error log.txt
      My ComputerSystem Spec

  2.    22 Mar 2018 #2

    From the log file, something seems to be corrupted or missing.

    From an elevated command prompt:
    Start with: SFC /scannow

    and if the problem is not solved, try:
    DISM /Online /Cleanup-Image /RestoreHealth
      My ComputerSystem Spec


  3. Posts : 25
    Win 10 Home
    Thread Starter
       23 Mar 2018 #3

    Thanks Dimitri.
    I'd like to make two small points

    • The MS article on SFC here says under Win 10 users should run DISM before SFC, not after.


    • The error message says "PowerShell has stopped working". When I browsed the DISM options, all the options are in verb-noun style, very like PowerShell. I'm worried DISM itself may need a reliable, working, PowerShell, and PS is the problem I need to fix.

    For this reason, I think I'll follow your recommended SFC first, then DISM + SFC if problem remains. SFC is a much older utility, and may not need a fully functional PS service.

    Spilly
      My ComputerSystem Spec


  4. Posts : 25
    Win 10 Home
    Thread Starter
       23 Mar 2018 #4

    This is an update on the problem, with some sample event log details

    PowerShell started crashing on 14th Feb, and ever since crashes many times daily.
    (2,800 ERROR log entries so far, on the filtered log)

    Each time, the user gets this error window
    Click image for larger version. 

Name:	image.png 
Views:	16 
Size:	6.0 KB 
ID:	182061
    which he closes and tries to carry on using the system. When left idle for a while, there can be 20 error windows to close

    Actions taken:
    As recommmended by Ddelo, I have run chkdsk C: /f /r, and DISM /Online /Cleanup-Image /RestoreHealth and SFC.exe /scannow No problems found; PS still fails frequently

    What I now need...
    ...is advice on what to do next.
    As a last resort, I could restore a Feb 1st backup of C: , and then recover the current set of user data files (all in D: ). As an absolute last ditch I could re-burn the entire system I suppose.

    Sample Event log entries
    Here are some relevant event log entries ("PowerShell_Crash.DOCX" attached)
    - each error instance creates up to three pairs of error log entries.
    Click image for larger version. 

Name:	image.png 
Views:	16 
Size:	17.6 KB 
ID:	182062
    The pairs are 98% identical, so I've pasted a single sample of each

    I looked in
    Code:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive
    , and found 500 folders there, all named AppCrash_powershell.exe..., each of which contains a
    Code:
    Report.WER
    file - sample attached
    The WER\tmp folder contains a couple of .tmp.dmp files - size under 500KB if useful


    Any practical suggestions gratefully received

    spilly
    Attached: Report.WER.txt + PowerShell_Crash.DOCX containing error log text

    Hardware of error system
    Dell Inspiron 17R 6GB RAM, 1x120GB mSATA SSD for system, 1x1TB HDD for user data
    Intel Core i5-3210M @ 2.50 GHz
    Multiple "Powershell has stopped working" events Attached Files
      My ComputerSystem Spec

  5.    24 Mar 2018 #5

    Just to rule out the possibility, why don't you run an Offline scan:

    Windows Defender > Virus and threat protection > Scan History – Advanced scan > Windows Defender Offline scan
      My ComputerSystem Spec


  6. Posts : 25
    Win 10 Home
    Thread Starter
       24 Mar 2018 #6

    I did as you suggested, but it found nothing and the bug is still there

    I have since established this is caused by the Feb Windows Update package.
    If I uninstall all Cum Patches back to Build 192, the fault goes away.
    When WU installs any higher build, the fault recurs immediately after installing the new build

    I'm using Win 10 Home x64, so updates are forced on me sooner or later

    Googling did not find many others with my symptoms, so I'm fearful the bug will remain unfixed for a while (because the bug does not appear on My other laptop already at the latest build).
    I will await my fate...

    spilly
    NB Since I've discovered this is a WU bug, I've posted my problem in a new thread in the Windows Update forum
      My ComputerSystem Spec

  7.    24 Mar 2018 #7

    Sorry I can't be of any help.
    Hope you solve this the soonest possible, but awaiting your fate shouldn't be an option.
    See if this can help Repair Install Windows 10 with an In-place Upgrade
      My ComputerSystem Spec


 

Related Threads
I have a couple of laptops with Windows 10 Pro running version 1511 where I've set the Defer Upgrades option in Advanced Options. I've nothing against 1607, but I tend to have full disks and hadn't got round to freeing up the necessary disk space...
Microsoft has fixed the "Launcher_Main.exe has stopped working" error (Logitech Webcam) that occurred when using the Logitech Software. The issue was caused when Microsoft originally removed support for compressed MJPG and H.264 streams for webcams...
Hello Everyone, I've never seen this problem with the previous O.S., Windows 7, but Windows 10 is throwing me this error message approximately 70% of the time when I run the network troubleshooter...either from the Control Panel, or by right...
Good Morning HP Dv7-6bxx laptop installed Windows 'Home' a few days ago. I am plagued with an error in the Reliability History report... "Bluetooth Device Monitor, Stopped working" Path...C:\Program Files (x86)\Intel\Bluetooth\devmonsrv.exe The...
My win 10 computer has just started giving me the above error code. I can log in using mouse & keyboard, but when I get to the start screen I get the above error code 0XC000021a. I have tried several times to do a fix, like shutting off the...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

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