Post problem reports here for Batch files for use in BSOD debugging


  1. Posts : 1,777
    Windows 11 [21H2]
       #711

    Is exporting Event Logs can be useful?
    Get_Event_Logs.ps1

    UPDATED (again)
    Other versions are on below
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
    Last edited by jbcarreon123; 01 Jun 2021 at 05:39.
      My Computers


  2. Posts : 7,607
    Windows 10 Home 20H2
       #712

    zbook said:
    Yes. Whenever possible please modify it so it can be regularly used for both BSOD and Windows upgrade troubleshooting.
    Done in the batch script attached below.
    The collected files will be put into this folder: %temp%\LOGS\
    Should they be put into a ZIP file on the desktop instead?

    The following updated version was uploaded on June 3, 2021.
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
    Last edited by Matthew Wai; 03 Jun 2021 at 07:53.
      My Computer


  3. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #713

    Is LOGS.bat important enough to merit all this effort?
      My Computers


  4. Posts : 41,475
    windows 10 professional version 1607 build 14393.969 64 bit
       #714

    It's excellent for windows upgrade troubleshooting in collecting: (it's used by Microsoft tier 3 India)
    Panther logs
    CBS logs
    DISM logs
    Some information on AV
    Windows update log
    Update errors
    Top errors
    checks the system reserved partition
    runs setupdiag


    For BSOD it collects
    many files collected by V2
    (backup option for those computers / OP running V2)
    also collects:
    livekerneldumps
    event viewer (can view general and detail tabs)
    can collect msinfo32 for those computers that had timed out running V2
    can collect older dump files and event viewer entries
    etc.
      My Computer


  5. Posts : 41,475
    windows 10 professional version 1607 build 14393.969 64 bit
       #715

    Ran logs in post #712:

    WMI_Object: PrimaryOwnerName : Redacted

    HKLM_System: RegisteredOwner : Redacted

    DESKTOP-SMB-Config.TXT User name Redacted

    Network\O365-URL-Query.TXT

    --- IP Address ---

    Socket IP: Redacted
    Client IP: Redacted





    Some of these were not found or area not found:

    %Temp%\LOGS\WMI_Object_System.TXT
    %Temp%\LOGS\SETUP\HKLM_SYSTEM_SETUP-OOBE.TXT
    %Temp%\LOGS\GPRESULT.TXT
    %Temp%\LOGS\Network\%ComputerName%-SMB-Config.TXT
    %Temp%\LOGS\Network\O365-URL-Query.TXT
    %Temp%\LOGS\SETUP\Windows\Panther\miglog.xml
    %Temp%\LOGS\SETUP\Windows\Panther\xxxxxxxxxxxxxxxxxxxx_APPRAISER_Humanreadable.xml




    OS Configuration: Standalone Workstation
    OS Version: 10.0.17763




    setupdiag:
    Code:
    Matching Profile found: InsufficientSystemPartitionDiskSpaceHardblock - 3789FBF8-E177-437D-B1E3-D38B4C4269D1
    SetupDiag version: 1.6.1.0
    System Information:
    	Machine Name = DESKTOP-9HEBUKS
    	Manufacturer = Hewlett-Packard
    	Model = HP ZBook 17 G2
    	HostOSArchitecture = 1033
    	FirmwareType = UEFI
    	BiosReleaseDate = 20200303000000.000000+000
    	BiosVendor = M70 Ver. 01.26
    	BiosVersion = M70 Ver. 01.26
    	HostOSVersion = 10.0.17763
    	HostOSBuildString = 17763.1.amd64fre.rs5_release.180914-1434
    	TargetOSBuildString = 10.0.19041.985 (vb_release_svc_prod1.210428-1722)
    	HostOSLanguageId = 
    	HostOSEdition = Professional
    	RegisteredAV = Windows Defender
    	FilterDrivers = 
    	UpgradeStartTime = 5/11/2021 5:01:47 PM
    	UpgradeEndTime = 6/1/2021 5:37:27 AM
    	UpgradeElapsedTime = 20.12:35:40
    	CV = 9G9s5rr4tUSBo1Ec
    	ReportId = D161CF26-4646-4EF4-978D-FB9C1966AE14
    
    
    Warning: Found Insufficient System Partition Disk Free Space Hard Block.
    More information is available here:
    "https://support.microsoft.com/en-us/help/3086249/-we-couldn-t-update-system-reserved-partition-error-installing-windows"
    The system you are attempting to update is running low on disk space on the System Reserved Partition.
    Free up space on the System Reserved Partition and try the update again.
    Last edited by zbook; 02 Jun 2021 at 00:47.
      My Computer


  6. Posts : 7,607
    Windows 10 Home 20H2
       #716

    What is wrong with the code you posted above?
    I see no Email/IP addresses.
      My Computer


  7. Posts : 41,475
    windows 10 professional version 1607 build 14393.969 64 bit
       #717

    The code was for Ztruker.
    The script ran setupdiag and displayed useful results.

    There are computers in which OP cannot run / view setupdiag when manually run from ACP.
      My Computer


  8. Posts : 7,607
    Windows 10 Home 20H2
       #718

    zbook said:
    Some of these were not found or area not found:

    %Temp%\LOGS\WMI_Object_System.TXT
    %Temp%\LOGS\SETUP\HKLM_SYSTEM_SETUP-OOBE.TXT
    %Temp%\LOGS\GPRESULT.TXT
    %Temp%\LOGS\Network\%ComputerName%-SMB-Config.TXT
    %Temp%\LOGS\Network\O365-URL-Query.TXT
    %Temp%\LOGS\SETUP\Windows\Panther\miglog.xml
    %Temp%\LOGS\SETUP\Windows\Panther\xxxxxxxxxxxxxxxxxxxx_APPRAISER_Humanreadable.xml
    No .xml files exist in my \Panther\ folder either.
    Not all users have all the files to be retrieved by the script.
      My Computer


  9. Posts : 1,777
    Windows 11 [21H2]
       #719

    I have another batch file. Almost complete.
    Post problem reports here for Batch files for use in BSOD debugging-image.png

    All batch scripts are now working.

    I will make an PS1 Script so it will be an GUI thing.
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
    Last edited by jbcarreon123; 02 Jun 2021 at 20:20.
      My Computers


  10. Posts : 7,607
    Windows 10 Home 20H2
       #720

    philc43 has "MigLog.xml" as large as 144 MB. It takes a long time to search for and delete the address.

    Post problem reports here for Batch files for use in BSOD debugging-miglog.jpg

    I would suggest excluding "MigLog.xml" unless it is essential for BSOD debugging.
      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 11:41.
Find Us




Windows 10 Forums