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


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

    In this thread:
    Had BSOD coming out of sleep mode

    post #5.

    OP was unable to follow the posting instructions.
    They used notepad.

    Fortunately they also posted a share link.

    They did not comment on:
    How to Change Post Editor to Source or WYSIWYG Mode at TenForums.com
      My Computer


  2. Posts : 7,623
    Windows 10 Home 20H2
       #202

    They did not read the instructions.
      My Computer


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

    I made a long response post on it,will see what he says.
      My Computers


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

    In this thread:
    Black screen with sound followed by manual restart with no dump


    There are 3 live kernel reports:

    Code:
    LastWriteTime         Size (MB) FullName                                                        
    -------------         --------- --------                                                        
    22-Jun-20 10:06:14 AM   3616.81 C:\WINDOWS\LiveKernelReports\PoW32kWatchdog-20200622-1005.dmp   
    16-Oct-20 9:14:15 PM       0.25 C:\WINDOWS\LiveKernelReports\USBHUB3\USBHUB3-20201016-2114.dmp  
    04-Dec-20 4:31:09 PM       2.28 C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20201204-1631.dmp



    It would be useful to have batch files that could:

    a) collect only the live kernel dump files within the past 30 days?
    b) collect all live kernel dump files to the desktop
    c) collect live kernel dump files < 1.5 GB


    What command could collect this specific dump file now:

    Code:
    04-Dec-20 4:31:09 PM       2.28 C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20201204-1631.dmp
      My Computer


  5. Posts : 7,623
    Windows 10 Home 20H2
       #205

    zbook said:
    What command could collect this specific dump file now:

    Code:
    04-Dec-20 4:31:09 PM       2.28 C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20201204-1631.dmp
    Run the following line via elevated Command Prompt. The file will be moved onto the desktop.
    Code:
    move "C:\WINDOWS\LiveKernelReports\WATCHDOG\WATCHDOG-20201204-1631.dmp" "%USERPROFILE%\Desktop"
      My Computer


  6. Posts : 7,623
    Windows 10 Home 20H2
       #206

    zbook said:
    a) collect only the live kernel dump files within the past 30 days?
    Do you mean dump files created in the past 30 days? The creation date can be got.

    zbook said:
    b) collect all live kernel dump files to the desktop
    www.tenforums.com/attachment.php?attachmentid=305759

    zbook said:
    c) collect live kernel dump files < 1.5 GB
    Do you mean the total size of all files or the size of a single file?
      My Computer


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

    Matthew Wai said:
    Do you mean dump files created in the past 30 days? The creation date can be got.

    The V2 log collector collects mini dump files with a 30 day look back.
    The DM log collector collects all available mini dump files.

    So this feature would look back only 30 days and then collect all live kernel dumps to the desktop.
    The OP would then zip and / or post a share link into the thread.

    www.tenforums.com/attachment.php?attachmentid=305759

    Do you mean the total size of all files or the size of a single file?
    A single file < 1.5 GB.
      My Computer


  8. Posts : 7,623
    Windows 10 Home 20H2
       #208

    zbook said:
    a) collect only the live kernel dump files within the past 30 days?
    I have run into a problem. The attached script will find the creation date (of a texting file) and the current date, but there is no way to compare the two dates. Can anyone come up with a solution?
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
      My Computer


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

    Matthew Wai said:
    I have run into a problem. The attached script will find the creation date (of a texting file) and the current date, but there is no way to compare the two dates. Can anyone come up with a solution?
    Convert the dates to YYYYMMDD format then compare. That's what I did in getWindowsUpdateList.bat to sort (similar to a compare). It's inthe BSOD Repository.
      My Computers


  10. Posts : 7,623
    Windows 10 Home 20H2
       #210

    Your "getWindowsUpdateList.bat" is too complicated. A single line of command will do the job.

    PowerShell:
    Code:
    (Get-item "C:\Windows\WindowsUpdate.log").creationtime | Get-Date -f "yyyyMMdd"

    Command Prompt:
    Code:
    PowerShell (Get-item \"C:\Windows\WindowsUpdate.log\").creationtime ^| Get-Date -f "yyyyMMdd"
      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 00:11.
Find Us




Windows 10 Forums