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


  1. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #881

    For the batch scripts it does not appear that any except LOGS PS1 are collecting both CBS and DISM logs.

    Code:
    Windows Resource Protection found corrupt files but was unable to fix some of them.
    
    For online repairs, details are included in the CBS log file located at 
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.

    Code:
    The source files could not be found.  
     
    Use the "Source" option to specify the location of the files that are required to restore the feature. 
    For more information on specifying a source location, see https://go.microsoft.com/fwlink/?LinkId=243077. 
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    If possible, please create a script that collects both files then zips to the desktop.

    It would also be useful to include cbspersist log and cab if that is also possible.

    These are examples of CbsPersist:
    CbsPersist_20210127040902.cab
    CbsPersist_20210131022440.log
    They are in the path: C:\Windows\Logs\CBS
      My Computer


  2. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #882

    In this thread the OP may have run the old version?
    I cant run DISM and sfc from Win PE.
      My Computer


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

    The OP there wrote:
    The "Tuneup" not produce log and crash my system.
    No version of "Tuneup", be it "Tuneup.bat" or "Tuneup_plus_log.bat", will crash a system.
    If the OP's system crashes, the problem lies in their system.

    Whenever there are problems with "Tuneup_plus_log.bat", post the following output:

    C:\Users\%Username%\AppData\Local\Temp\Tuneup.log
    C:\Users\%Username%\AppData\Local\Temp\T.txt

    Everything will have been written into the above files even if something untoward happens.
      My Computer


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

    @z3r010 ,

    Please see the link for the latest revision of LOGS PS1 in post #863.

    The Network and Printer folders were deleted.

    If ready it can be run in this thread:
    Computer restarting unexpectedly. Possible BSOD.
      My Computer


  5. Posts : 10,740
    Windows 11 Workstation x64
       #885

    zbook said:
    @z3r010 ,

    Please see the link for the latest revision of LOGS PS1 in post #863.

    The Network and Printer folders were deleted.

    If ready it can be run in this thread:
    Computer restarting unexpectedly. Possible BSOD.
    As I said last time, the script collects far too much PII to be used, smaller more targeted scripts should be used.
      My Computers


  6. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #886

    @Matthew Wai

    If possible, please make a script that collects event viewer similar to LOGS PS1.
    And include text reports of system and application similar to V2.
      My Computer


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

    Please specify which one(s) below should be included.



    zbook said:
    If possible, please make a script that collects event viewer similar to LOGS PS1.
    I don't want to write a script that will be rejected by the administrator again.
      My Computer


  8. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #888

    Maybe restore network and printers then create a script for each checked box > then z3r010 can scan for PII > then each segment can be modified as needed. This would create 7 separate scripts.

    When the script as is was run on my computers PII was not seen in the results.
    The same with your computers.
    Philc43 had found some PII and the script was modified.

    For events script: maybe only the first box (once cleared by z3r010) with the two V2 event text reports
      My Computer


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

    I think you are missing the point Z. John has said several times now: smaller more targeted scripts should be used

    It was my fault for including LOGS.BAT in the first place. All the others are targeted to a more specific area and set of data.
      My Computers


  10. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #890

    @Matthew Wai ,

    As a possible option using a similar method (used earlier) please create new LOGS PS1 subscripts where only one box is checked at a time (end user cannot see or choose boxes).


    For example:



    Scripts:

    EventSearch EventLog Helper
    SetupDiag.EXE Setup Diagnostics
    etc.
      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 08:20.
Find Us




Windows 10 Forums