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


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

    zbook said:
    Let's add some commands to view information on:

    TPM
    Hibernation
    CONX results
    The script attached to the following post already includes info on hibernation and CONX.
    Post problem reports here for Batch files for use in BSOD debugging

    Please specify what commands related to TPM should be added. A lot of commands have been recommended in this thread.
      My Computer


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

    The TPM I've not yet compared the different commands and results to see which could be better than the other.


    This was the latest tuneup plus result:


    Code:
    㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †匠慴瑲摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳〳㤮′਍ഠ䄊瑵副扥潯⁴†਍ഠ䘊䱁䕓†††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †††嬠敓⁴畁潴敒潢瑯㴠䘠污敳⁝਍ഠ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳佟剓捥癯牥䍹湯楦畧慲楴湯丮浡㵥䴢捩潲潳瑦圠湩潤獷ㄠ‰牐籯㩃屜䥗䑎坏籓屜敄楶散屜慈摲楤歳尰停牡楴楴湯∲ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴敒潢瑯†ഠ ਍䅆卌⁅†††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍敄畢䥧普呯灹⁥†਍ഠ㜊†††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠敓⁴敄畢䥧普呯灹⁥‽崷਍਍灕慤楴杮瀠潲数瑲⡹⥳漠⁦尧䑜卅呋偏䬭䌲㑐匳剜住屔䥃噍㨲楗㍮弲协敒潣敶祲潃普杩牵瑡潩⹮慎敭∽楍牣獯景⁴楗摮睯⁳〱倠潲䍼尺坜义佄南屼䑜癥捩履䡜牡摤獩に屜慐瑲瑩潩㉮✢഍倊潲数瑲⡹⥳甠摰瑡⁥畳捣獥晳汵മ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䐊扥杵湉潦祔数†ഠ ਍‷††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††坛䥍⁃慐敧楆敬氠獩嵴਍਍汁潬慣整䉤獡卥穩㵥㈳㘷സ䌊牵敲瑮獕条㵥〲സ䐊獥牣灩楴湯䌽尺慰敧楦敬献獹਍湉瑳污䑬瑡㵥〲ㄲ㄰㌲㠱㌲㠰㈮㤴㈹ⴰ㘳ര上浡㵥㩃灜条晥汩⹥祳൳倊慥啫慳敧㈽㤲਍瑓瑡獵ഽ吊浥偰条䙥汩㵥䅆卌൅ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䄊瑵浯瑡捩慍慮敧偤条晥汩⁥†਍ഠ吊啒⁅††††††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††卛瑥䄠瑵浯瑡捩慍慮敧偤条晥汩⁥‽牔敵൝ഊ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳䍟浯異整卲獹整⹭慎敭∽䕄䭓佔ⵐ㉋偃㌴≓ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴慭楴䵣湡条摥慐敧楦敬†ഠ ਍剔䕕†††††††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠捂䕤楤⁴支畮扻摡敭潭祲嵽਍਍䅒⁍敄敦瑣൳ⴊⴭⴭⴭⴭⴭ਍摩湥楴楦牥†††††††扻摡敭潭祲ൽ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††楆楮桳摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳ㄳ㤮വ


    Code:
        Started on Tue 11/16/2021 at  3:12:49.65 
    
            [SFC /ScanNow] 
    
    Beginning system scan.  This process will take some time.
    
    Results: 
     
    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.
     
    ==================================================================
    
        Started on Tue 11/16/2021 at  3:21:27.20 
    
            [DISM /online /cleanup-image /ScanHealth] 
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19043.1348 
     
    The component store is repairable.
    
    The operation completed successfully. 
     
    ==================================================================
    
        Started on Tue 11/16/2021 at  3:29:59.34 
    
            [DISM /online /cleanup-image /RestoreHealth] 
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19043.1348 
     
    Error: 0x800f081f
    
    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
     
    ==================================================================
    
        Started on Tue 11/16/2021 at  3:48:20.91 
    
            [SFC /ScanNow] 
    
    Beginning system scan.  This process will take some time.
    
    Results: 
     
    Windows Resource Protection found corrupt files and successfully repaired 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.
     
    ==================================================================
    
    A TXT file named SFC_details.txt has been created.
     
    ==================================================================
    
        Started on Tue 11/16/2021 at  3:51:04.99 
    
            [ChkDsk /Scan]  
     
    The type of the file system is NTFS.
    Volume label is Windows.
    
    Stage 1: Examining basic file system structure ...
                                                                                           
        Found corrupt basic file structure for "\Windows\WinSxS\amd64_microsoft-windows-u..ed-tel
    emetry-client_31bf3856ad364e35_10.0.19041.1266_none_14b8c34dbc1df417\DIAGTR~1.DLL 
    <0x1a,0x4ffe8>"
            ... queued for offline repair.
                                                                                           
                                                                                           
      949504 file records processed.                                                        
    
    File verification completed.
     Phase duration (File record verification): 24.36 seconds.
                                                                                           
                                                                                           
      8932 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.04 milliseconds.
    
    Stage 2: Examining file name linkage ...
                                                                                           
                                                                                           
      1072 reparse records processed.                                      
    
                                                                                           
                                                                                           
      1308480 index entries processed.                                                       
    
    Index verification completed.
     Phase duration (Index verification): 1.41 minutes.
                                                                                           
                                                                                           
      1 unindexed files scanned.                                        
    
                                                                                           
     Phase duration (Orphan reconnection): 0.00 milliseconds.
                                                                                           
                                                                                           
      1 unindexed files recovered to lost and found.                    
    
        Found missing Index entry for file "\Windows\WinSxS\amd64_microsoft-windows-u..ed-telemet
    ry-client_31bf3856ad364e35_10.0.19041.1266_none_14b8c34dbc1df417\DIAGTR~1.DLL 
    <0x1a,0x4ffe8>" from index "\??\C:\found.074" of directory "$I30"
            ... queued for offline repair.
     Phase duration (Orphan recovery to lost and found): 0.00 milliseconds.
                                                                                           
                                                                                           
      1072 reparse records processed.                                      
    
     Phase duration (Reparse point and Object ID verification): 6.94 milliseconds.
    
    Stage 3: Examining security descriptors ...
    Security descriptor verification completed.
     Phase duration (Security descriptor verification): 200.95 milliseconds.
                                                                                           
                                                                                           
      179490 data files processed.                                           
    
     Phase duration (Data attribute verification): 2.16 milliseconds.
    CHKDSK is verifying Usn Journal...
    Usn Journal verification completed.
    Windows has found problems that must be fixed offline.
    Please run "chkdsk /spotfix" to fix the issues.
    
     722633727 KB total disk space.
     224565764 KB in 609848 files.
        361020 KB in 179491 indexes.
             0 KB in bad sectors.
       1045463 KB in use by the system.
         65536 KB occupied by the log file.
     496661480 KB available on disk.
    
          4096 bytes in each allocation unit.
     180658431 total allocation units on disk.
     124165370 allocation units available on disk.
    Total duration: 1.98 minutes (119320 ms).
    
    㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †匠慴瑲摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳〳㤮′਍ഠ䄊瑵副扥潯⁴†਍ഠ䘊䱁䕓†††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †††嬠敓⁴畁潴敒潢瑯㴠䘠污敳⁝਍ഠ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳佟剓捥癯牥䍹湯楦畧慲楴湯丮浡㵥䴢捩潲潳瑦圠湩潤獷ㄠ‰牐籯㩃屜䥗䑎坏籓屜敄楶散屜慈摲楤歳尰停牡楴楴湯∲ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴敒潢瑯†ഠ ਍䅆卌⁅†††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍敄畢䥧普呯灹⁥†਍ഠ㜊†††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠敓⁴敄畢䥧普呯灹⁥‽崷਍਍灕慤楴杮瀠潲数瑲⡹⥳漠⁦尧䑜卅呋偏䬭䌲㑐匳剜住屔䥃噍㨲楗㍮弲协敒潣敶祲潃普杩牵瑡潩⹮慎敭∽楍牣獯景⁴楗摮睯⁳〱倠潲䍼尺坜义佄南屼䑜癥捩履䡜牡摤獩に屜慐瑲瑩潩㉮✢഍倊潲数瑲⡹⥳甠摰瑡⁥畳捣獥晳汵മ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䐊扥杵湉潦祔数†ഠ ਍‷††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††坛䥍⁃慐敧楆敬氠獩嵴਍਍汁潬慣整䉤獡卥穩㵥㈳㘷സ䌊牵敲瑮獕条㵥〲സ䐊獥牣灩楴湯䌽尺慰敧楦敬献獹਍湉瑳污䑬瑡㵥〲ㄲ㄰㌲㠱㌲㠰㈮㤴㈹ⴰ㘳ര上浡㵥㩃灜条晥汩⹥祳൳倊慥啫慳敧㈽㤲਍瑓瑡獵ഽ吊浥偰条䙥汩㵥䅆卌൅ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䄊瑵浯瑡捩慍慮敧偤条晥汩⁥†਍ഠ吊啒⁅††††††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††卛瑥䄠瑵浯瑡捩慍慮敧偤条晥汩⁥‽牔敵൝ഊ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳䍟浯異整卲獹整⹭慎敭∽䕄䭓佔ⵐ㉋偃㌴≓ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴慭楴䵣湡条摥慐敧楦敬†ഠ ਍剔䕕†††††††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠捂䕤楤⁴支畮扻摡敭潭祲嵽਍਍䅒⁍敄敦瑣൳ⴊⴭⴭⴭⴭⴭ਍摩湥楴楦牥†††††††扻摡敭潭祲ൽ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††楆楮桳摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳ㄳ㤮വ
      My Computer


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

    zbook said:
    This was the latest tuneup plus result:
    Code:
    㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †匠慴瑲摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳〳㤮′਍ഠ䄊瑵副扥潯⁴†਍ഠ䘊䱁䕓†††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †††嬠敓⁴畁潴敒潢瑯㴠䘠污敳⁝਍ഠ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳佟剓捥癯牥䍹湯楦畧慲楴湯丮浡㵥䴢捩潲潳瑦圠湩潤獷ㄠ‰牐籯㩃屜䥗䑎坏籓屜敄楶散屜慈摲楤歳尰停牡楴楴湯∲ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴敒潢瑯†ഠ ਍䅆卌⁅†††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍敄畢䥧普呯灹⁥†਍ഠ㜊†††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠敓⁴敄畢䥧普呯灹⁥‽崷਍਍灕慤楴杮瀠潲数瑲⡹⥳漠⁦尧䑜卅呋偏䬭䌲㑐匳剜住屔䥃噍㨲楗㍮弲协敒潣敶祲潃普杩牵瑡潩⹮慎敭∽楍牣獯景⁴楗摮睯⁳〱倠潲䍼尺坜义佄南屼䑜癥捩履䡜牡摤獩に屜慐瑲瑩潩㉮✢഍倊潲数瑲⡹⥳甠摰瑡⁥畳捣獥晳汵മ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䐊扥杵湉潦祔数†ഠ ਍‷††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††坛䥍⁃慐敧楆敬氠獩嵴਍਍汁潬慣整䉤獡卥穩㵥㈳㘷സ䌊牵敲瑮獕条㵥〲സ䐊獥牣灩楴湯䌽尺慰敧楦敬献獹਍湉瑳污䑬瑡㵥〲ㄲ㄰㌲㠱㌲㠰㈮㤴㈹ⴰ㘳ര上浡㵥㩃灜条晥汩⹥祳൳倊慥啫慳敧㈽㤲਍瑓瑡獵ഽ吊浥偰条䙥汩㵥䅆卌൅ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䄊瑵浯瑡捩慍慮敧偤条晥汩⁥†਍ഠ吊啒⁅††††††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††卛瑥䄠瑵浯瑡捩慍慮敧偤条晥汩⁥‽牔敵൝ഊ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳䍟浯異整卲獹整⹭慎敭∽䕄䭓佔ⵐ㉋偃㌴≓ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴慭楴䵣湡条摥慐敧楦敬†ഠ ਍剔䕕†††††††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠捂䕤楤⁴支畮扻摡敭潭祲嵽਍਍䅒⁍敄敦瑣൳ⴊⴭⴭⴭⴭⴭ਍摩湥楴楦牥†††††††扻摡敭潭祲ൽ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††楆楮桳摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳ㄳ㤮വ
    Run the testing script attached below and post the output. It will take no more than a second.
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
      My Computer


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

    It flashed and did not indicate that it was creating a text file.

    This was the text file:


    Code:
    @echo off & cd /d "%~dp0" & Title Please wait.  Do not close this window.
    Setlocal EnableDelayedExpansion & If "%1"=="[Progress]" (Goto %2) 
    ::———————————————————————————————————————————————————————————————————————————————————
    For /F "tokens=*" %%# in ('"PowerShell (New-Object -ComObject Wscript.Shell).SpecialFolders(4)"') Do (Set "[DT]=%%#")
    If not exist "%[DT]%" (Set "[DT]=%[DT]:~1%")
    Set "OK=%[DT]%\Tuneup.log"
    Set "[Zfile]=%[DT]%\Tuneup_log"
    Set "T=%Temp%\T.txt"
    Set "TT=%Temp%\TT.txt"
    Set "[0]=%Temp%\0.txt"
    Set "Log=%Temp%\Tuneup.log"
    Set "[SFC]=%Temp%\SFC_details.txt"
    Set "(Log)="%T%" && For /F "tokens=*" %%# in ('"More "%T%""') Do (Echo %%#>>"%Log%")"
    Set "[|]=For /F "tokens=*" %%# in ('"More "%T%""') Do (Call"
    Del /F /Q "%Log%" 2>Nul & Del /F /Q "%TT%" 2>Nul 
    ::———————————————————————————————————————————————————————————————————————————————————
    ::The following is for the first SFC /ScanNow.
    Echo     Started on %date% at %time% >>"%Log%"
    Echo.>>"%Log%"
    Echo         [SFC /ScanNow] >> "%Log%"
    Echo.>>"%Log%"
    (Del /F /Q "%[0]%" 2>nul & DEL /F /Q "%T%" 2>Nul
    SFC /ScanNow >"%T%"
    Echo. >"%[0]%")|%0 [Progress] [Of_SFC_ScanNow]
    Goto [Post_SFC_ScanNow]
    :[Of_SFC_ScanNow]
    mode con cols=65 lines=6 &Echo.
    Echo     Operation (1): SFC.exe is checking the system files.&Echo.
    Set "[CBS]=%WinDir%\Logs\CBS\CBS.log"
    For /f %%# in ('Copy /Z "%~dpf0" Nul') Do (Set "[#]=%%#")
    For /f %%L in ('FIND /V /C "" ^< %[CBS]%') Do (Set /A [L]=%%L-1)
    For /L %%N in (0) Do (For /f "tokens=*" %%# in (
    'More "%[CBS]%" +%[L]%^|Findstr /C:"[SR]"^|Findstr /C:" 100 "^|FIND /V /C ""') Do (Set "[N]=%%#00")
    Set /P "=.![#]! -^> About ![N]! files have been processed. ![#]!" <NUL
    If exist "%[0]%" Exit
    Ping -n 5 127.0.0.1 >Nul)
    Goto:EOF
    :[Post_SFC_ScanNow]
    Cls & Echo. & Echo. & Set "[Num]=0"
    Echo    SFC.exe has finished checking the system files.
    Echo    Writing the output into the LOG file...
    For /F "tokens=*" %%# in ('"More "%T%""') Do (Call:[Screening_1] "%%#")
    Del "%T%" & Echo.>>"%Log%" & Set "Check="
    Set "[Num]=0"
    Goto [Operations_2]
    :[Screening_1] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    Set /A [Num]+=1
    If not "%Check%"=="No" If not "%Text%"=="%Text:did not find any integrity violations=%" (
    Set "Result_1=No_errors"
    Set "Check=No")
    If not "%Text%"=="%Text:Beginning verification=%" (Echo.>>"%Log%"
    Echo Results:>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    ::掃描的進度記錄必定包含『 0 』 。無須把進度記錄寫入 %Log%
    If not "%Text%"=="%Text: 0 =%" Goto:EOF
    If not "%Text%"=="%Text:For online repairs=%" (Echo.>>"%Log%"
    Echo %Text%>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    ::———————————————————————————————————————————————————————————————————————————————————
    :[Operations_2]
    ::The following is for ScanHealth.
    ::先刪除上一個操作所留下來之訊息
    Set "Text=Please be patient."
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%"
    Echo     Started on %date% at %time% >>"%Log%"
    Echo.>>"%Log%"
    Echo         [DISM /online /cleanup-image /ScanHealth] >> "%Log%"
    Echo.>>"%Log%"
    (Del /F /Q "%[0]%" 2>nul & DEL /F /Q "%T%" 2>Nul
    DISM /online /cleanup-image /ScanHealth >"%T%"
    Echo. >"%[0]%")|%0 [Progress] [Of_ScanHealth]
    Goto [Post_ScanHealth]
    :[Of_ScanHealth]
    mode con cols=65 lines=6 & Cls & Echo.
    Echo     Operation (2): DISM is scanning the image of Windows.&Echo.
    For /f %%# in ('Copy /Z "%~dpf0" Nul') Do (Set "[#]=%%#")
    For /L %%# in (0) Do (
    For /f "delims=" %%# in ('Type "%T%"') Do (Set "Text=%%#")
    Set /P "=.![#]! -^> !Text! ![#]!" <NUL
    If exist "%[0]%" Exit
    Ping -n 5 127.0.0.1 >Nul)
    Goto:EOF
    :[Post_ScanHealth]
    Echo. & Echo.&Echo    DISM has finished scanning the image of Windows.
                  Echo    Writing the output into the LOG file...
    For /F "tokens=*" %%# in ('"More "%T%""') Do (Call:[Screening_2] "%%#")
    Del "%T%" & Echo.>>"%Log%" & Goto [Operations_3]
    :[Screening_2] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:Image Version=%" (Echo.>>"%Log%"
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    If not "%Text%"=="%Text:completed successfully=%" (Echo.>>"%Log%"
    Echo %Text%>>"%Log%" & Goto:EOF)
    If "%Text%"=="%Text:[===%" (Echo %Text%>>"%Log%")
    Goto:EOF
    ::———————————————————————————————————————————————————————————————————————————————————
    :[Operations_3]
    ::The following is for RestoreHealth.
    ::先刪除上一個操作所留下來之訊息
    Set "Text=Please be patient."
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%"
    Echo     Started on %date% at %time% >>"%Log%"
    Echo.>>"%Log%"
    Echo         [DISM /online /cleanup-image /RestoreHealth] >> "%Log%"
    Echo.>>"%Log%"
    (Del /F /Q "%[0]%" 2>nul & DEL /F /Q "%T%" 2>Nul
    DISM /online /cleanup-image /RestoreHealth >"%T%"
    Echo. >"%[0]%")|%0 [Progress] [Of_RestoreHealth]
    Goto [Post_RestoreHealth]
    :[Of_RestoreHealth]
    mode con cols=65 lines=6 & Cls & Echo.
    Echo     Operation (3): DISM is restoring the health of Windows.&Echo.
    For /f %%# in ('Copy /Z "%~dpf0" Nul') Do (Set "[#]=%%#")
    For /L %%# in (0) Do (
    For /f "delims=" %%# in ('Type "%T%"') Do (Set "Text=%%#")
    Set /P "=.![#]! -^> !Text! ![#]!" <NUL
    If exist "%[0]%" Exit
    Ping -n 5 127.0.0.1 >Nul)
    Goto:EOF
    :[Post_RestoreHealth]
    Echo. & Echo.&Echo    DISM has finished restoring the health of Windows.
                  Echo    Writing the output into the LOG file...
    Set "[S1]=Use the "Source" option to specify the location of the files that are required to restore the feature."
    Set "[S2]=For more information on specifying a source location, see https://go.microsoft.com/fwlink/?LinkId=243077."
    For /F "tokens=*" %%# in ('"More "%T%""') Do (Call:[Screening_3] "%%#")
    Del "%T%" & Echo.>>"%Log%" & Goto [Operation_4]
    :[Screening_3] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:Image Version=%" (Echo.>>"%Log%"
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    If not "%Text%"=="%Text:The source files could not be found=%" (Echo.>>"%Log%"
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    If "%Text%"=="%[S1]% %[S2]%" (Echo %[S1]%>>"%Log%" & Echo %[S2]%>>"%Log%" & Goto:EOF)
    If not "%Text%"=="%Text:The operation completed=%" (Echo.>>"%Log%"
    Echo %Text%>>"%Log%" & Goto:EOF)
    If "%Text%"=="%Text:[===%" (Echo %Text%>>"%Log%")
    Goto:EOF
    ::———————————————————————————————————————————————————————————————————————————————————
    :[Operation_4]
    ::The following is for the second SFC /ScanNow.
    ::先刪除上一個操作所留下來之訊息
    Set "Text=Please be patient."
    Echo ==================================================================>>"%Log%"
    If "%Result_1%"=="No_errors" (Echo.>>"%Log%"
    Echo The second "SFC /ScanNow" was skipped, as the first output the following:>> "%Log%"
    Echo.>>"%Log%"&Echo Windows Resource Protection did not find any integrity violations.>>"%Log%"
    Echo.>>"%Log%" & mode con cols=94 lines=6 & Goto [Operation_5])
    Echo.>>"%Log%"
    Echo     Started on %date% at %time% >>"%Log%"
    Echo.>>"%Log%"
    Echo         [SFC /ScanNow] >> "%Log%"
    Echo.>>"%Log%"
    (Del /F /Q "%[0]%" 2>nul & DEL /F /Q "%T%" 2>Nul
    SFC /ScanNow >"%T%"
    Echo. >"%[0]%")|%0 [Progress] [Of_SFC_ScanNow_2]
    Goto [Post_SFC_ScanNow_2]
    :[Of_SFC_ScanNow_2]
    mode con cols=65 lines=6 & Cls & Echo.
    Echo     Operation (4): SFC.exe is rechecking the system files.&Echo.
    Set "[CBS]=%WinDir%\Logs\CBS\CBS.log"
    For /f %%# in ('Copy /Z "%~dpf0" Nul') Do (Set "[#]=%%#")
    For /f %%L in ('FIND /V /C "" ^< %[CBS]%') Do (Set /A [L]=%%L-1)
    For /L %%N in (0) Do (For /f "tokens=*" %%# in (
    'More "%[CBS]%" +%[L]%^|Findstr /C:"[SR]"^|Findstr /C:" 100 "^|FIND /V /C ""') Do (Set "[N]=%%#00")
    Set /P "=.![#]! -^> About ![N]! files have been processed. ![#]!" <NUL
    If exist "%[0]%" Exit
    Ping -n 5 127.0.0.1 >Nul)
    Goto:EOF
    :[Post_SFC_ScanNow_2]
    Echo. & Echo.&Echo    SFC.exe has finished rechecking the system files.
                  Echo    Writing the output into the LOG file...
    Set "[Num]=0"
    For /F "tokens=*" %%# in ('"More "%T%""') Do (Call:[Screening_4] "%%#")
    Del "%T%" & Echo.>>"%Log%" & Set "[Num]=0" 
    Findstr /C:"[SR]" "%WinDir%\Logs\CBS\CBS.log">"%[SFC]%"
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%"
    More "%[SFC]%"|Find "[SR]">NUL && (Set "[ZIP]=Yes"
    Echo A TXT file named SFC_details.txt has been created.>> "%Log%")||(
    Echo SFC_details.txt is blank and thus has been excluded.>> "%Log%")
    Echo.>>"%Log%" & mode con cols=94 lines=6 & Goto [Operation_5]
    :[Screening_4] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    Set /A [Num]+=1
    If not "%Text%"=="%Text:Beginning verification=%" (Echo.>>"%Log%"
    Echo Results:>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    ::掃描的進度記錄必定包含『 0 』 。無須把進度記錄寫入 %Log%
    If not "%Text%"=="%Text: 0 =%" Goto:EOF
    If not "%Text%"=="%Text:For online repairs=%" (Echo.>>"%Log%"
    Echo %Text%>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    ::———————————————————————————————————————————————————————————————————————————————————
    :[Operation_5]
    ::The following is for ChkDsk /Scan.
    ::先刪除上一個操作所留下來之訊息
    Set "Text=Please be patient."
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%"
    Echo     Started on %date% at %time% >>"%Log%"
    Echo.>>"%Log%"
    Echo         [ChkDsk /Scan] >> "%Log%" 
    Echo.>>"%Log%" 
    mode con cols=94 lines=6 & Echo. 
    Echo     Operation (5): Chkdsk.exe is scanning the system disk for problems.&Echo. 
    (Del /F /Q "%[0]%" 2>nul 
    cd /d "%SystemDrive%" & ChkDsk /Scan >>"%T%" & cd /d "%~dp0"
    Echo. >"%[0]%")|%0 [Progress] [Of_ChkDsk_scan]
    Cls & Goto [Post_ChkDsk_scan]
    :[Of_ChkDsk_scan]
    For /f %%# in ('Copy /Z "%~dpf0" Nul') Do (Set "[#]=%%#")
    For /L %%# in (0) Do (For /f "delims=" %%# in ('Type "%T%"') Do (Set "Text=%%#")
    Set /P "=.![#]! !Text!![#]!" <NUL & If exist "%[0]%" Exit
    Ping -n 5 127.0.0.1 >Nul)
    Goto:EOF
    :[Post_ChkDsk_scan]
    Echo. & Echo.&Echo    Chkdsk.exe has finished scanning the system disk.
                  Echo    Writing the output into the LOG file... 
    PowerShell GC '"%T%"'^|Select-string -pattern 'ETA:.*' -notmatch^|Out-File '"%TT%"' 
    ::---------------------------------------------------------------------------------
    :: 以下五行指令用於處理多種複雜的錯誤情況, 其回報的資料必然包含此三個字元 ,0x 
    Set "[E1]=%Temp%\Tuneup_plus_log_Found_corrupt_basic_file_structure.txt"
    If exist "%[E1]%" (Del /F /Q "%[E1]%")
    PowerShell ^(GC '"%TT%"'^|%%{if($_ -like '"*,0x*"'){Echo E ^> '"%[E1]%"';Break}}^)
    If exist "%[E1]%" (Del "%[E1]%" & MORE /E +1 "%TT%">>"%Log%" & Set "[E1]=Yes"
    Goto [Final])
    ::---------------------------------------------------------------------------------
    :: 如果回報的資料沒有包含上述的三個字元, 才會執行以下的 13 行指令。
    :: 以下一行會把雙引號 " 改為星號 * 以免 [Screening_5] 執行失敗。
    PowerShell ^(GC '"%TT%"'^|%%{$_-replace '""""', '"*"'}^)^|SC '"%TT%"'
    PowerShell $X=GC '"%TT%"';$X[1..($X.count - 3)]^|Out-File '"%TT%"' 
    For /F "tokens=*" %%# in ('"More "%TT%""') Do (Call:[Screening_5] "%%#")
    Echo.>>"%Log%" & Goto [Final]
    :[Screening_5] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:Stage =%" Echo.>>"%Log%" & Echo %Text%>>"%Log%" & Goto:EOF
    IF not "%Text%"=="%Text:Windows has =%" Echo.>>"%Log%"&Echo %Text%>>"%Log%"&Echo.>>"%Log%"&Goto:EOF
    If not "%Text%"=="%Text:total disk=%" Echo.>>"%Log%" & Echo %Text%>>"%Log%" & Goto:EOF
    If not "%Text%"=="%Text:in each=%" Echo.>>"%Log%" & Echo %Text%>>"%Log%" & Goto:EOF
    Echo %Text%>>"%Log%"
    Goto:EOF
    ::———————————————————————————————————————————————————————————————————————————————————
    :[Final]
    If "%[E1]%"=="Yes" PowerShell $X=GC '"%Log%"';$X[0..($X.count - 2)]^|Out-File '"%Log%"'
    Del "%T%" & Del "%TT%"
    Echo ==================================================================>>"%Log%"
    (Echo. & Echo     Started on %date% at %time% & Echo. )>>"%Log%"
    WMIC recoveros get autoreboot >"%T%"
    %[|]%:[get_autoreboot_1] "%%#")
    Goto [Post_get_autoreboot_1]
    :[get_autoreboot_1] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:AutoReboot=%" (
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    :[Post_get_autoreboot_1]
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%" & Echo         [Set AutoReboot = False] >> "%Log%"
    Echo.>>"%Log%" & WMIC recoveros set autoreboot = false >> "%Log%"       
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%" 
    WMIC recoveros get autoreboot >"%T%" & %[|]%:[get_autoreboot_2] "%%#")
    Goto [Post_get_autoreboot_2]
    :[get_autoreboot_2] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:AutoReboot=%" (
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    :[Post_get_autoreboot_2]
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%" 
    WMIC recoveros get DebugInfoType >"%T%" & %[|]%:[DebugInfoType_1] "%%#")
    Goto [Post_DebugInfoType_1]
    :[DebugInfoType_1] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:DebugInfoType=%" (
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    :[Post_DebugInfoType_1]
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    (Echo.&Echo         [Set DebugInfoType = 7]&Echo.)>> "%Log%"
    WMIC recoveros set DebugInfoType = 7 >%(Log)%
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%" 
    WMIC recoveros get DebugInfoType >"%T%" & %[|]%:[DebugInfoType_2] "%%#")
    Goto [Post_DebugInfoType_2]
    :[DebugInfoType_2] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:DebugInfoType=%" (
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    :[Post_DebugInfoType_2]
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    (Echo.&Echo         [WMIC PageFile list]&Echo.)>> "%Log%"
    WMIC pagefile list /format:list >%(Log)%
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%" 
    wmic Computersystem where name="%computername%" get AutomaticManagedPagefile >"%T%" 
    %[|]%:[AutomaticManagedPagefile_1] "%%#")
    Goto [Post_AutomaticManagedPagefile_1]
    :[AutomaticManagedPagefile_1] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:AutomaticManagedPagefile=%" (
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    :[Post_AutomaticManagedPagefile_1]
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    (Echo.&Echo         [Set AutomaticManagedPagefile = True]&Echo.)>> "%Log%"
    wmic Computersystem where name="%computername%" set AutomaticManagedPagefile=True >%(Log)%
    Echo ==================================================================>>"%Log%"
    Echo.>>"%Log%" 
    wmic Computersystem where name="%computername%" get AutomaticManagedPagefile >"%T%"
    %[|]%:[AutomaticManagedPagefile_2] "%%#")
    Goto [Post_AutomaticManagedPagefile_2]
    :[AutomaticManagedPagefile_2] 
    Set "Text=%~1"
    If "%Text%"=="" Goto:EOF
    If not "%Text%"=="%Text:AutomaticManagedPagefile=%" (
    Echo %Text%>>"%Log%" & Echo.>>"%Log%" & Goto:EOF)
    Echo %Text%>>"%Log%"
    Goto:EOF
    :[Post_AutomaticManagedPagefile_2]
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    (Echo.&Echo         [BcdEdit /enum {badmemory}]&Echo.)>> "%Log%"
    BcdEdit /enum {badmemory} >%(Log)%
    Echo.>>"%Log%" 
    Echo ==================================================================>>"%Log%"
    (Echo.&Echo     Finished on %date% at %time%) >>"%Log%"
    ::———————————————————————————————————————————————————————————————————————————————————
    Del "%T%" & Del /F /Q "%OK%" 2>Nul & Del /F /Q "%[0]%" 2>nul & Set "#=Echo Echo" 
    If "%[ZIP]%"=="Yes" Goto [Zip_the_files]
    Move "%Log%" "%OK%" && Start "" Notepad "%OK%" & Set "CMD=%Temp%\CMD.cmd"
    Set "[URL]=https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging.html#Part2-1B"
    (Echo @echo off^&Title   Operations completed.^&mode con cols=77 lines=16^&color 17
    %#%  ###########################################################################
    %#%  #                                                                         #
    %#%  #                           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.                                    #
    %#%  #                                                                         #
    %#%  ###########################################################################
    Echo CHOICE /C "VC" /M "Your choice?:" ^>nul 2^>^&1
    Echo If %%errorlevel%%==1 ^(Start "" "%[URL]%"^)
    Echo Exit)> "%CMD%" & Timeout 1 /nobreak>Nul & Start "" "%CMD%" 
    Del "%~f0" & Exit
    ::———————————————————————————————————————————————————————————————————————————————————
    :[Zip_the_files]
    For /f "tokens=2 delims==" %%# in ('WMIC OS Get localdatetime /value') Do (Set "T=%%#")
    Set "Y=%T:~0,4%"
    Set "M=%T:~4,2%"
    Set "D=%T:~6,2%"
    Set "H=%T:~8,2%"
    Set "+=%T:~10,2%"
    Set "S=%T:~12,2%"
    Set "[ZIP]=%[Zfile]%-[%Y%-%M%-%D%_at_%H%-%+%-%S%]"
    PowerShell Compress-Archive -Path """%Log%""", """%[SFC]%""" -DestinationPath """%[ZIP]%"""
    Start "" "%[ZIP]%.zip" & Set "CMD=%Temp%\CMD.cmd"
    (Echo @echo off^&Title   Operations completed.^&mode con cols=75 lines=13^&color 17
    %#%  #########################################################################
    %#%  #                                                                       #
    %#%  #                         Tuneup_plus_log.bat                           #
    %#%  #                                                                       #
    %#%  #    The following ZIP file has been created on the desktop.            # 
    %#%  #                                                                       # 
    %#%  #        Tuneup_log-[%Y%-%M%-%D%_at_%H%-%+%-%S%].zip                        # 
    %#%  #                                                                       #
    %#%  #    Please upload it as an attachment to your post on Ten Forums.      #
    %#%  #    You may press a key to close this window.                         #
    %#%  #                                                                       #
    %#%  #########################################################################
    Echo pause^>nul^&Exit)> "%CMD%" & Timeout 1 /nobreak>Nul & Start "" "%CMD%" 
    Del "%~f0" & Exit
    ::———————————————————————————————————————————————————————————————————————————————————
      My Computer


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

    @zbook, run the testing script attached below and post the output. It will take just a few seconds.
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
      My Computer


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

    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:
    ==================================================================
     
        Started on Wed 11/17/2021 at 14:25:20.76 
     
    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=32768
    CurrentUsage=382
    Description=C:\pagefile.sys
    InstallDate=20210123182308.249920-360
    Name=C:\pagefile.sys
    PeakUsage=398
    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 11/17/2021 at 14:25:21.76
      My Computer


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

    zbook said:
    This was the latest tuneup plus result:
    Code:
    㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †匠慴瑲摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳〳㤮′਍ഠ䄊瑵副扥潯⁴†਍ഠ䘊䱁䕓†††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ †††嬠敓⁴畁潴敒潢瑯㴠䘠污敳⁝਍ഠ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳佟剓捥癯牥䍹湯楦畧慲楴湯丮浡㵥䴢捩潲潳瑦圠湩潤獷ㄠ‰牐籯㩃屜䥗䑎坏籓屜敄楶散屜慈摲楤歳尰停牡楴楴湯∲ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴敒潢瑯†ഠ ਍䅆卌⁅†††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍敄畢䥧普呯灹⁥†਍ഠ㜊†††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠敓⁴敄畢䥧普呯灹⁥‽崷਍਍灕慤楴杮瀠潲数瑲⡹⥳漠⁦尧䑜卅呋偏䬭䌲㑐匳剜住屔䥃噍㨲楗㍮弲协敒潣敶祲潃普杩牵瑡潩⹮慎敭∽楍牣獯景⁴楗摮睯⁳〱倠潲䍼尺坜义佄南屼䑜癥捩履䡜牡摤獩に屜慐瑲瑩潩㉮✢഍倊潲数瑲⡹⥳甠摰瑡⁥畳捣獥晳汵മ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䐊扥杵湉潦祔数†ഠ ਍‷††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††坛䥍⁃慐敧楆敬氠獩嵴਍਍汁潬慣整䉤獡卥穩㵥㈳㘷സ䌊牵敲瑮獕条㵥〲സ䐊獥牣灩楴湯䌽尺慰敧楦敬献獹਍湉瑳污䑬瑡㵥〲ㄲ㄰㌲㠱㌲㠰㈮㤴㈹ⴰ㘳ര上浡㵥㩃灜条晥汩⹥祳൳倊慥啫慳敧㈽㤲਍瑓瑡獵ഽ吊浥偰条䙥汩㵥䅆卌൅ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍ഠ䄊瑵浯瑡捩慍慮敧偤条晥汩⁥†਍ഠ吊啒⁅††††††††††ഠ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††††卛瑥䄠瑵浯瑡捩慍慮敧偤条晥汩⁥‽牔敵൝ഊ唊摰瑡湩⁧牰灯牥祴猨
景✠屜䕄䭓佔ⵐ㉋偃㌴屓佒呏䍜䵉㉖场湩㈳䍟浯異整卲獹整⹭慎敭∽䕄䭓佔ⵐ㉋偃㌴≓ധ਍牐灯牥祴猨
灵慤整猠捵散獳畦⹬഍㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽ ਍畁潴慭楴䵣湡条摥慐敧楦敬†ഠ ਍剔䕕†††††††††††਍ഠ㴊㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽ഽഊ †††嬠捂䕤楤⁴支畮扻摡敭潭祲嵽਍਍䅒⁍敄敦瑣൳ⴊⴭⴭⴭⴭⴭ਍摩湥楴楦牥†††††††扻摡敭潭祲ൽ ਍㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽㴽਍਍††楆楮桳摥漠畔⁥ㄱㄯ⼶〲ㄲ愠⁴㌠㔺㨳ㄳ㤮വ
    Run the debugged version below and post the output. Note that the time difference will be added at the bottom of "Tuneup.log"
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
      My Computer


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

    Code:
        Started on Thu 11/18/2021 at 13:00:12.67 
    
            [SFC /ScanNow] 
    
    Beginning system scan.  This process will take some time.
    
    Results: 
     
    Windows Resource Protection did not find any integrity violations.
     
    ==================================================================
    
        Started on Thu 11/18/2021 at 13:10:19.44 
    
            [DISM /online /cleanup-image /ScanHealth] 
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19043.1348 
     
    The component store is repairable.
    
    The operation completed successfully. 
     
    ==================================================================
    
        Started on Thu 11/18/2021 at 13:20:21.25 
    
            [DISM /online /cleanup-image /RestoreHealth] 
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19043.1348 
     
    Error: 0x800f081f
    
    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
     
    ==================================================================
    
    The second "SFC /ScanNow" was skipped, as the first output the following:
    
    Windows Resource Protection did not find any integrity violations.
     
    ==================================================================
    
        Started on Thu 11/18/2021 at 13:34:11.87 
    
            [ChkDsk /Scan]  
     
    The type of the file system is NTFS.
    Volume label is Windows.
    
    Stage 1: Examining basic file system structure ...
                                                                                           
        Found corrupt basic file structure for "\Windows\WinSxS\amd64_microsoft-windows-u..ed-telemetry-client_31bf3856ad364e35_10.0.19041.1266_none_14b8c34dbc1df417\DIAGTR~1.DLL <0x1a,0x4ffe8>"
            ... queued for offline repair.
                                                                                           
                                                                                           
      949504 file records processed.                                                        
    
    File verification completed.
     Phase duration (File record verification): 24.30 seconds.
                                                                                           
                                                                                           
      8962 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.04 milliseconds.
    
    Stage 2: Examining file name linkage ...
                                                                                           
                                                                                           
      1081 reparse records processed.                                      
    
                                                                                           
                                                                                           
      1313014 index entries processed.                                                       
    
    Index verification completed.
     Phase duration (Index verification): 3.00 minutes.
                                                                                           
                                                                                           
      1 unindexed files scanned.                                        
    
                                                                                           
     Phase duration (Orphan reconnection): 0.00 milliseconds.
                                                                                           
                                                                                           
      1 unindexed files recovered to lost and found.                    
    
        Found missing Index entry for file "\Windows\WinSxS\amd64_microsoft-windows-u..ed-telemetry-client_31bf3856ad364e35_10.0.19041.1266_none_14b8c34dbc1df417\DIAGTR~1.DLL <0x1a,0x4ffe8>" from index "\??\C:\found.075" of directory "$I30"
            ... queued for offline repair.
     Phase duration (Orphan recovery to lost and found): 0.00 milliseconds.
                                                                                           
                                                                                           
      1081 reparse records processed.                                      
    
     Phase duration (Reparse point and Object ID verification): 6.66 milliseconds.
    
    Stage 3: Examining security descriptors ...
    Security descriptor verification completed.
     Phase duration (Security descriptor verification): 157.22 milliseconds.
                                                                                           
                                                                                           
      181757 data files processed.                                           
    
     Phase duration (Data attribute verification): 2.51 milliseconds.
    CHKDSK is verifying Usn Journal...
    Usn Journal verification completed.
    Windows has found problems that must be fixed offline.
    Please run "chkdsk /spotfix" to fix the issues.
    
     722633727 KB total disk space.
     229092352 KB in 609987 files.
        368692 KB in 181758 indexes.
             0 KB in bad sectors.
       1045463 KB in use by the system.
         65536 KB occupied by the log file.
     492127220 KB available on disk.
    
          4096 bytes in each allocation unit.
     180658431 total allocation units on disk.
     123031805 allocation units available on disk.
    Total duration: 3.60 minutes (216082 ms).
     
    ==================================================================
     
        Started on Thu 11/18/2021 at 13:38:13.48 
     
    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=32768
    CurrentUsage=2316
    Description=C:\pagefile.sys
    InstallDate=20210123182308.249920-360
    Name=C:\pagefile.sys
    PeakUsage=2523
    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 Thu 11/18/2021 at 13:38:15.25
        It took 38 minutes and 3 seconds to complete the operations.
      My Computer


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

    zbook said:
    What can be done so that it is displayed by:

    a *
    a different color
    an underline
    a bracket
    some other method so that it stands out?
    Is it displayed on a command window or in a text file?

    zbook said:
    Code:
        Finished on Thu 11/18/2021 at 13:38:15.25
        It took 38 minutes and 3 seconds to complete the operations.
    PowerShell does a good job of measuring time difference. The debugged version has been uploaded.
      My Computer


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

    zbook said:
    Please continue with the LOGS PS1 script modifications so that all can be uploaded at one time to WQ and EF.
    Run the script attached below:
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
      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