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


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

    Paul Black said:
    Hello @jbcarreon123,

    Is this line [ line 53 ] left over from testing or such like at the top? . . .

    Code:
    
    echo  #                           [33mTuneup_plus_log.bat[0;44;37m                           #
    
    Exit code.
    I used text coloring on CMD to just make the final exit code much prettier.
      My Computers


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #782

    jbcarreon123 said:
    Exit code.
    I used text coloring on CMD to just make the final exit code much prettier.
      My Computer


  3. Posts : 7,606
    Windows 10 Home 20H2
       #783

    jbcarreon123 said:
    This is now the file ==> Tuneup_plus_log[Test_4].bat
    Your modified version has created "%tmp%\output.log", which contains the following line:
    Code:
    Updating property(s) of '\\DESKTOP\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Home|C:\\Windows|\\Device\\Harddisk0\\Partition3"'

    If I have understood zbook correctly, he wants the above long line separated into two.
    Your modified version has failed to do so. Have I missed something?
      My Computer


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

    Matthew Wai said:
    Your modified version has created "%tmp%\output.log", which contains the following line:
    Code:
    Updating property(s) of '\\DESKTOP\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Home|C:\\Windows|\\Device\\Harddisk0\\Partition3"'

    If I have understood zbook correctly, he wants the above long line separated into two.
    Your modified version has failed to do so. Have I missed something?
    I don't know if WMIC has a Verbose switch.
      My Computers


  5. Posts : 7,606
    Windows 10 Home 20H2
       #785

    Do you mean the long output can be separated only if WMIC has such a switch?
      My Computer


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

    I will update it later.

    - - - Updated - - -

    update:
    Change the WMIC thing to
    wmic /record %log2% recoveros set autoreboot = false >%log%
      My Computers


  7. Posts : 7,606
    Windows 10 Home 20H2
       #787

    jbcarreon123 said:
    Change the WMIC thing to
    wmic /record %log2% recoveros set autoreboot = false >%log%
    I changed it, and it has produced no output.

    Code:
            [Set AutoReboot = False] 
    ==================================================================
      My Computer


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

    I like the batch file (Tuneup_plus_log[Test_4].bat) and info that is displayed as it runs. Keeps me informed of what is going on.

    Only problem I had was I got a blank notepad window that opened with this message popup.

    Post problem reports here for Batch files for use in BSOD debugging-2021-06-22-13_58_11-notepad.jpg

    When I got the final info window I was not sure what the S would copy to the clipboard?

    Looking at the batch file it's a link to Part2-1B detailed instructions? Not obvious from the message window.

    Maybe change it to:

    Press [S] to place a link to the detailed instructions in your clipboard.

    Post problem reports here for Batch files for use in BSOD debugging-image.png
      My Computers


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

    Attachment 338323So, fixing that, I runned the command that I suggest.
    and.. it requires an XML.
    Post problem reports here for Batch files for use in BSOD debugging-image.png

    This is the whole XML code.
    Code:
    <WMIRECORD USER="JBCARREON-123\jbcar"><RECORD SEQUENCENUM="1" ISSUEDFROM="JBCARREON-123" STARTTIME="06-23-2021T05:56:34"><REQUEST><COMMANDLINE>   recoveros set autoreboot = false</COMMANDLINE></REQUEST><OUTPUT TARGETNODE="JBCARREON-123" ITERATION="1"><![CDATA[Updating property(s) of '\\JBCARREON-123\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\Windows|\\Device\\Harddisk0\\Partition3"'
    Property(s) update successful.
    ]]></OUTPUT></RECORD></WMIRECORD>
    Updated File:
    Tuneup_plus_log[Test_4].bat

    Post problem reports here for Batch files for use in BSOD debugging-image.png
    Last edited by jbcarreon123; 22 Jun 2021 at 17:48.
      My Computers


  10. Posts : 7,606
    Windows 10 Home 20H2
       #790

    Ztruker said:
    I like the batch file (Tuneup_plus_log[Test_4].bat) and info that is displayed as it runs. Keeps me informed of what is going on.
    Are you talking about the progress info? It was added long ago. I already told you about it.

    Ztruker said:
    Only problem I had was I got a blank notepad window that opened with this message popup.
    The problem was newly added by jbcarreon123, not by me.
      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 15:23.
Find Us




Windows 10 Forums