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


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

    Code:
     ###########################################################################
     #                                                                         #
     #                           Tuneup_plus_log.bat                           #
     #                                                                         #
     #    A LOG file named Tuneup.log has been created on the desktop.         #
     #    Please copy the data from the file into your post (recommended)      #
     #    or upload the file as an attachment to your post on Ten Forums.      #
     #                                                                         #
     #    There are detailed instructions on how to properly copy the data.    #
     #    Batch files and instructions for use in BSOD debugging [Part Two]    #
     #                                                                         #
     #      Press [V] to visit Ten Forums for the detailed instructions.       #
     #      Press [C] to close this window.                                    #
     #                                                                         #
     ###########################################################################


    Code:
       Windows 10 Pro  Version 21H1 (OS Build 19043.1466)
    ==================================================================
        Started on Wed 02/09/2022 at  2:57:14.92 
    	
            [SFC /ScanNow] 
    	
    Beginning system scan.  This process will take some time.
    
    Results: 
     
    Windows Resource Protection did not find any integrity violations.
     
    ==================================================================
    
        Started on Wed 02/09/2022 at  3:17:12.65 
    
            [DISM /online /cleanup-image /ScanHealth] 
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19043.1466 
     
    No component store corruption detected.
    
    The operation completed successfully. 
     
    ==================================================================
    
        Started on Wed 02/09/2022 at  3:27:30.53 
    
            [DISM /online /cleanup-image /RestoreHealth] 
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19043.1466 
     
    The restore operation completed successfully.
    
    The operation completed successfully. 
     
    ==================================================================
    
    The second "SFC /ScanNow" was skipped, as the first output the following:
    
    Windows Resource Protection did not find any integrity violations.
     
    ==================================================================
    
        Started on Wed 02/09/2022 at  3:32:18.59 
    
            [ChkDsk /Scan]  
     
    The type of the file system is NTFS.
    Volume label is Windows.
     
    Stage 1: Examining basic file system structure ... 
    949504 file records processed.                                                        
    File verification completed.
    Phase duration (File record verification): 38.70 seconds.
    8564 large file records processed.                                   
    Phase duration (Orphan file record recovery): 0.00 milliseconds.
    0 bad file records processed.                                     
    Phase duration (Bad file record checking): 0.09 milliseconds.
     
    Stage 2: Examining file name linkage ... 
    876 reparse records processed.                                      
    1231116 index entries processed.                                                       
    Index verification completed.
    Phase duration (Index verification): 5.46 minutes.
    0 unindexed files scanned.                                        
    Phase duration (Orphan reconnection): 6.54 seconds.
    0 unindexed files recovered to lost and found.                    
    Phase duration (Orphan recovery to lost and found): 1.17 milliseconds.
    876 reparse records processed.                                      
    Phase duration (Reparse point and Object ID verification): 7.93 milliseconds.
     
    Stage 3: Examining security descriptors ... 
    Security descriptor verification completed.
    Phase duration (Security descriptor verification): 137.82 milliseconds.
    140807 data files processed.                                           
    Phase duration (Data attribute verification): 0.10 milliseconds.
    CHKDSK is verifying Usn Journal...
    41820008 USN bytes processed.                                                           
    Usn Journal verification completed.
    Phase duration (USN journal verification): 452.07 milliseconds.
    
    Windows has scanned the file system and found no problems.
    
    No further action is required.
     
    722633727 KB total disk space. 
    236076760 KB in 443164 files.
    347124 KB in 140808 indexes.
    0 KB in bad sectors.
    1086515 KB in use by the system.
    65536 KB occupied by the log file.
    485123328 KB available on disk.
     
    4096 bytes in each allocation unit. 
    180658431 total allocation units on disk.
    121280832 allocation units available on disk.
    Total duration: 6.23 minutes (373873 ms).
     
    ==================================================================
     
        Started on Wed 02/09/2022 at  3:39:21.05 
     
    AutoReboot   
     
    FALSE       
     
    ==================================================================
     
            [Set AutoReboot = False] 
     
    Updating property(s) of '\\DESKTOP-K2CP43S\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\WINDOWS|\\Device\\Harddisk0\\Partition2"'
    
    Property(s) update successful.
    
    ==================================================================
     
    AutoReboot   
     
    FALSE       
     
    ==================================================================
     
    DebugInfoType   
     
    7              
     
    ==================================================================
    
            [Set DebugInfoType = 7]
    
    Updating property(s) of '\\DESKTOP-K2CP43S\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\WINDOWS|\\Device\\Harddisk0\\Partition2"'
    
    Property(s) update successful.
    
    ==================================================================
     
    DebugInfoType   
     
    7              
     
    ==================================================================
    
            [WMIC PageFile list]
    
    AllocatedBaseSize=30720
    CurrentUsage=4607
    Description=C:\pagefile.sys
    InstallDate=20210123182308.249920-360
    Name=C:\pagefile.sys
    PeakUsage=7268
    Status=
    TempPageFile=FALSE
     
    ==================================================================
     
    AutomaticManagedPagefile   
     
    TRUE                      
     
    ==================================================================
    
            [Set AutomaticManagedPagefile = True]
    
    Updating property(s) of '\\DESKTOP-K2CP43S\ROOT\CIMV2:Win32_ComputerSystem.Name="DESKTOP-K2CP43S"'
    
    Property(s) update successful.
    
    ==================================================================
     
    AutomaticManagedPagefile   
     
    TRUE                      
     
    ==================================================================
    
            [BcdEdit /enum {badmemory}]
    
    RAM Defects
    -----------
    identifier              {badmemory}
     
    ==================================================================
    
        Finished on Wed 02/09/2022 at  3:39:26.47
        It took 42 minutes and 11 seconds to complete the operations.
      My Computer


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

    There are script problems for Windows 11 that are different from Windows 10.

    For example, the event viewer text files are often displaying N / A.

    The script from LOGS PS1 is the current work around.

    It requires the OP to run an additional script.

    The results take substantially more time to scan.

    For EF please modify the above to display:

    attachment to your post on Eleven Forum.

    (this will make it easier to quickly view the applicable forum script instead of looking for the version)
    (each forum script could have a different version)
    (if you prefer it can also be attachment to your post in the Forum.)

    If possible, please add a space above and below this bar so that the result is similar to the other spacing results:

    Code:
       Windows 10 Pro  Version 21H1 (OS Build 19043.1466)
    ==================================================================
        Started on Wed 02/09/2022 at  2:57:14.92

    For tuneup plus consider a command to display the drive letter for windows and the drive letter for the page file.
    (are they on the same or different partitions)
      My Computer


  3. Posts : 41,574
    windows 10 professional version 1607 build 14393.969 64 bit
       #1393

    From another thread:
    For the record book this tuneup plus script ran for approximately 70 minutes:
    (the longest segment was scanhealth)

    Code:
    Started on Wed 02/09/2022 at 12:49:07.34
    
    [SFC /ScanNow]
    
    Beginning system scan. This process will take some time.
    
    Results:
    
    Windows Resource Protection did not find any integrity violations.
    
    ==================================================================
    
    Started on Wed 02/09/2022 at 13:08:00.16
    
    [DISM /online /cleanup-image /ScanHealth]
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19044.1526
    
    No component store corruption detected.
    
    The operation completed successfully.
    
    ==================================================================
    
    Started on Wed 02/09/2022 at 13:34:00.45
    
    [DISM /online /cleanup-image /RestoreHealth]
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19044.1526
    
    The restore operation completed successfully.
    
    The operation completed successfully.
    
    ==================================================================
    
    The second "SFC /ScanNow" was skipped, as the first output the following:
    
    Windows Resource Protection did not find any integrity violations.
    
    ==================================================================
    
    Started on Wed 02/09/2022 at 13:54:53.33
    
    [ChkDsk /Scan]
    
    The type of the file system is NTFS.
    Volume label is OS.
    
    Stage 1: Examining basic file system structure ...
    1334016 file records processed.
    File verification completed.
    Phase duration (File record verification): 33.23 seconds.
    5006 large file records processed.
    Phase duration (Orphan file record recovery): 0.00 milliseconds.
    0 bad file records processed.
    Phase duration (Bad file record checking): 0.21 milliseconds.
    
    Stage 2: Examining file name linkage ...
    9790 reparse records processed.
    1607394 index entries processed.
    Index verification completed.
    Phase duration (Index verification): 2.89 minutes.
    0 unindexed files scanned.
    Phase duration (Orphan reconnection): 16.45 seconds.
    0 unindexed files recovered to lost and found.
    Phase duration (Orphan recovery to lost and found): 0.39 milliseconds.
    9790 reparse records processed.
    Phase duration (Reparse point and Object ID verification): 88.27 milliseconds.
    
    Stage 3: Examining security descriptors ...
    Security descriptor verification completed.
    Phase duration (Security descriptor verification): 650.69 milliseconds.
    136690 data files processed.
    Phase duration (Data attribute verification): 0.35 milliseconds.
    CHKDSK is verifying Usn Journal...
    36227056 USN bytes processed.
    Usn Journal verification completed.
    Phase duration (USN journal verification): 1.36 seconds.
    
    Windows has scanned the file system and found no problems.
    
    No further action is required.
    
    348179110 KB total disk space.
    94345384 KB in 538840 files.
    266492 KB in 136691 indexes.
    0 KB in bad sectors.
    1463822 KB in use by the system.
    65536 KB occupied by the log file.
    252103412 KB available on disk.
    
    4096 bytes in each allocation unit.
    87044777 total allocation units on disk.
    63025853 allocation units available on disk.
    Total duration: 3.76 minutes (225692 ms).
    
    ==================================================================
    
    Started on Wed 02/09/2022 at 13:59:36.93
    
    AutoReboot
    
    FALSE
    
    ==================================================================
    
    [Set AutoReboot = False]
    
    Updating property(s) of '\\DESKTOP-HHMJR1L\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\WINDOWS|\\Device\\Harddisk0\\Partition5"'
    
    Property(s) update successful.
    
    ==================================================================
    
    AutoReboot
    
    FALSE
    
    ==================================================================
    
    DebugInfoType
    
    7
    
    ==================================================================
    
    [Set DebugInfoType = 7]
    
    Updating property(s) of '\\DESKTOP-HHMJR1L\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\WINDOWS|\\Device\\Harddisk0\\Partition5"'
    
    Property(s) update successful.
    
    ==================================================================
    
    DebugInfoType
    
    7
    
    ==================================================================
    
    [WMIC PageFile list]
    
    AllocatedBaseSize=1997
    CurrentUsage=157
    Description=C:\pagefile.sys
    InstallDate=20210829122211.689349-300
    Name=C:\pagefile.sys
    PeakUsage=158
    Status=
    TempPageFile=FALSE
    
    ==================================================================
    
    AutomaticManagedPagefile
    
    TRUE
    
    ==================================================================
    
    [Set AutomaticManagedPagefile = True]
    
    Updating property(s) of '\\DESKTOP-HHMJR1L\ROOT\CIMV2:Win32_ComputerSystem.Name="DESKTOP-HHMJR1L"'
    
    Property(s) update successful.
    
    ==================================================================
    
    AutomaticManagedPagefile
    
    TRUE
    
    ==================================================================
    
    [BcdEdit /enum {badmemory}]
    
    RAM Defects
    -----------
    identifier {badmemory}
    
    ==================================================================
    
    Finished on Wed 02/09/2022 at 13:59:45.36
    It took 70 minutes and 38 seconds to complete the operations.
      My Computer


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

    zbook said:
    For tuneup plus consider a command to display the drive letter for windows and the drive letter for the page file.
    Do you mean the drive letter shown below? It has already been included in "Tuneup.log".
    zbook said:
    Code:
    ==================================================================
     
            [Set AutoReboot = False] 
     
    Updating property(s) of '\\DESKTOP-HHMJR1L\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\WINDOWS|\\Device\\Harddisk0\\Partition5"'
    
    Property(s) update successful.
    
    ==================================================================
    zbook said:
    Code:
    ==================================================================
    
    [WMIC PageFile list]
    
    AllocatedBaseSize=1997
    CurrentUsage=157
    Description=C:\pagefile.sys
    InstallDate=20210829122211.689349-300
    Name=C:\pagefile.sys
    PeakUsage=158
    Status=
    TempPageFile=FALSE
    
    ==================================================================

    zbook said:
    For the record book this tuneup plus script ran for approximately 70 minutes:
    The HDD has to be defragmented.

    PS Infection cases have recently been rocketing in my city. If I am quarantined, I could be unable to access the Internet.
      My Computer


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

    We rarely see Windows on E: instead of C: during a normal boot.

    For example: post #43 disk 0:
    Transferring or Restoring WIN 10 system on an new WIN 11 computer


    If the page file were on the boot partition it would be E:\pagefile.sys

    The tuneup plus does not display the boot partition in the chkdsk /scan result.

    So if there were seen there is not enough information to determine whether the page file is or is not on the boot partition.

    Tuneup plus results would be useful to compare the disks in this thread.



    Manually, using the virtual memory / page file window the page file can be moved from one drive to another or turned off.

    Event viewer entries may report:

    Code:
    Configuring the Page file for crash dump failed.
    Make sure that there is a page file on the boot partition and that it is large enough to contain all physical memory.


    We've got some commands to reconfigure the startup and recovery system failure and virtual memory /page file settings.
    If available, I'd like to include a command that can move the page file to the boot partition.



    Description=D:\pagefile.sys -----------> C:\pagefile.sys
    Name=D:\pagefile.sys -------------------> C:\pagefile.sys
    Last edited by zbook; 10 Feb 2022 at 01:03.
      My Computer


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

    zbook said:
    a command to display the drive letter for windows
    Run the command Echo %WinDir% from Command Prompt.

    zbook said:
    We rarely see Windows on E: instead of C: during a normal boot.
    Both E: and C: are shown as "OS" in the screenshot posted by the OP there.
    The command Echo %WinDir% will show the actually running OS.

    zbook said:
    If the page file were on the boot partition it would be E:\pagefile.sys
    Wait for the OP there to post the output of "Tuneup_plus_log.bat" and see whether it will display "E:\pagefile.sys"

    zbook said:
    We've got some commands to reconfigure the startup and recovery system failure and virtual memory /page file settings.
    Please list the commands concerning page file settings.
      My Computer


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

    Code:
    Microsoft Windows [Version 10.0.19043.1466]
    (c) Microsoft Corporation. All rights reserved.
    
    C:\WINDOWS\system32>wmic pagefile list
    AllocatedBaseSize  CurrentUsage  Description      InstallDate                Name             PeakUsage  Status  TempPageFile
    32615              5578          C:\pagefile.sys  20210123182308.249920-360  C:\pagefile.sys  7268               FALSE
    
    
    C:\WINDOWS\system32>Echo %WinDir%
    C:\WINDOWS
    
    C:\WINDOWS\system32>bcdedit | find "osdevice"
    osdevice                partition=C:
    
    C:\WINDOWS\system32>



    Matthew Wai said:
    Please list the commands concerning page file settings.
    Code:
    wmic computersystem where name="%computername%" set automatimanagedpagefile=true
    
    wmic computersystem where name="%computername%" get automaticmanagedpagefile


    One or more of these may be useful:

    Code:
    wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=2048,MaximumSize=2048
     
    wmic pagefileset or wmic pagefileset list /format:list
    
    wmic pagefileset create name="P:\pagefile.sys"
    
    wmic pagefileset where name="P:\\pagefile.sys" set InitialSize=2048,MaximumSize=2048
    
    wmic pagefileset where name="C:\\pagefile.sys" delete
    
    
    wmic pagefile list /format:list

    windows_pagefile Resource
    Last edited by zbook; 10 Feb 2022 at 02:43.
      My Computer


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

    zbook said:
    If available, I'd like to include a command that can move the page file to the boot partition.



    Description=D:\pagefile.sys -----------> C:\pagefile.sys
    Name=D:\pagefile.sys -------------------> C:\pagefile.sys
    WMIC PageFileSet create name="%SystemDrive%\\pagefile.sys"

    It will take effect after Windows has been restarted.
    %SystemDrive% refers to the letter of the system drive from which Windows is currently running.
    Try running Echo %SystemDrive% from Command Prompt.
      My Computer


  9. Posts : 41,574
    windows 10 professional version 1607 build 14393.969 64 bit
       #1399

    Code:
    Microsoft Windows [Version 10.0.19043.1466]
    (c) Microsoft Corporation. All rights reserved.
    
    C:\WINDOWS\system32>echo %windir%
    C:\WINDOWS
    
    C:\WINDOWS\system32>echo %systemdrive%
    C:
    
    C:\WINDOWS\system32>wmic pagefileset create name="%systemdrive%\\pagefile.sys"
    Instance creation successful.
    
    C:\WINDOWS\system32>






    For tuneup plus what method was used to collect 2 different findstr?
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
    Doesn't a second findstr overwrite the first if saved as sfcdetails.txt?
    Was the command changed to sfcdetails2.txt?
    Last edited by zbook; 10 Feb 2022 at 22:03.
      My Computer


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

    Details of the first ScanNow will be copied into "SFC_details-1.txt".
    Details of the second ScanNow will be copied into "SFC_details-2.txt".
    "SFC_details-1.txt" will not be overwritten.

    Is there a reason why you refuse to upload the following latest version of "DiskParInfo.bat"?
    Last edited by Matthew Wai; 17 Feb 2022 at 07:42.
      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 09:30.
Find Us




Windows 10 Forums