Strange Powershell Pop-Up At Shut Down

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 803
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
    Thread Starter
       #11

    RickC said:
    Powershell.exe is in use many times a day to automate system processes, mainly for the collection of diagnostic data.

    Are there any relevant entries in Event Viewer's (eventvwr.msc) Application log? (Event Viewer > Windows Logs > Application)

    Probably the easiest way is to query the last 20 entries:

    1. Right-click on Start then choose Windows PowerShell (Admin) from the context menu.
    2. When the PowerShell console opens, copy/paste/type the following then press ENTER/RETURN:
    Code:
    Get-EventLog -LogName Application -Newest 20 | Format-Table -AutoSize
    If you want to redirect this output, say to a text file on your desktop, use the following instead:
    Code:
    Get-EventLog -LogName Application -Newest 20 | ft -AutoSize > (join-path ([environment]::GetFolderPath('Desktop')) "last_20_applogs.txt")
    This will create a text file called last_20_applogs.txt.

    Hope this helps...
    dalchina said:
    1. Try a clean boot and then see if it still occurs. If not, then work backwards to determine the cause.

    2. Examine your Reliability History and see if there's anything related to it. Noting the time can help.
    However it may be too quick for a report to be logged.

    3. Check your event log around the time this happens.

    There may be a clue in this similar report, but it's not specific enough to give a solution as such.
    [SOLVED] - Powershell error popup dialogue box during shutdown | Tom's Hardware Forum
    I can't find Reliability History in EV.

    Am running that Powershell command (Repair Image) - It'll take a while.
      My Computer


  2. Posts : 803
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
    Thread Starter
       #12

    Result of Powershell Image Check:

    Strange Powershell Pop-Up At Shut Down-capture.jpg
      My Computer


  3. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #13

    Reliability History:
    taskbar search box /Win key + s

    Type
    Reliability History

    Note: there are tutorials in the searchable Tutorials section - and Google can help with things like that.
      My Computers


  4. Posts : 803
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
    Thread Starter
       #14

    Nothing comes up for reliability.

    Here's the sfc /scannow result but I can't find the logs.

    Strange Powershell Pop-Up At Shut Down-capture1.jpg
      My Computer


  5. Posts : 803
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
    Thread Starter
       #15

    Correction here is my cbs.log

    CBS.zip
      My Computer


  6. Posts : 16,963
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #16

    This is the OP's diagram.
    Strange Powershell Pop-Up At Shut Down-original.jpg

    ExBrit,

    You referred to Shutdown but that diagram looks more like a login screen.
    ???


    All the best,
    Denis
      My Computer


  7. Posts : 803
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
    Thread Starter
       #17

    Correct. I had just clicked restart at bottom right.
      My Computer


  8. Posts : 803
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
    Thread Starter
       #18

    Everyone, something must have been fixed during above processes as I am not seeing it any more going through reboot to system #2 or 3 and back. and several complete shutdowns and restarts.

    Thank you so much.
      My Computer


  9. Posts : 16,963
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #19

    I suggest you use Event viewer to see what happened.

    1 You'll want to note the time as accurately as you can to reduce the timeframe to check in Event viewer.

    2 Unzip the attached zip file then import each of these two Event viewer, Custom views that it contains using the procedure given below.
    PowerShell log
    PowerShell log - PS1 records
    PowerShell logs.zip

    2.1 Unzip the file
    2.2 Before importing them, you can read their unzipped xml files in Notepad or, for a better presentation of their contents, by right-clicking and opening in a browser.
    2.3 Open Event viewer, click on Import Custom view [on the right-hand side],
    2.4 Browse to and select the xml, Open,
    2.5 Change the name if you want to then OK.

    3 Look in Event viewer. You'll see these two entries on the left within the Custom view section - PowerShell log, PowerShell log - PS1 records
    Strange Powershell Pop-Up At Shut Down-event-viewer-ps-log-sample-view.png
    - Look through the entries to find ones that match the times of the dialogs appearing.
    - There's no telling what info will be intelligible or whether it will be in that General tab or the Details tab. The General tab is normally the least unhelpful.
    - There's no telling whether it will be an entry in PowerShell log or PowerShell log - PS1 records will match the relevant time but the PS1 is more likely to my mind.
    - The clearest result of all would be if it gave you a file path to a PS1 file like in my example. Post that path for comment.


    Best of luck,
    Denis
    Last edited by Try3; 25 Sep 2023 at 13:50.
      My Computer


  10. Posts : 803
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
    Thread Starter
       #20

    Loads of XML logs referring to Shell Experience but no warnings or red flags in Windows Powershell section.
    I seem to be failing to import what I find plus it's diffcult with my vision deteriorating as it is.
    Do I still need those now the problem appoears to be cured?
      My Computer


 

  Related Discussions
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 13:52.
Find Us




Windows 10 Forums