New
#731
Please add the earlier setupapi.
At a later time I'll check for others.
A scannow error message similar to:
found problems > successful repair
found problems > unable to repair
(unable to run)
etc.
(anything other than no integrity violations)
This computer has both scannow and restorehealth problems.
See if you can create a script in which tuneup results triggers the run of the script SFCfromFile.bat - Click here to go to the BSOD batch repository to download and run this batch file.
Code:########################################################### # The following commands will be run in sequence. # # The first 5 will take quite a while to run, be patient. # ########################################################### sfc /scannow dism /online /cleanup-image /scanhealth dism /online /cleanup-image /restorehealth sfc /scannow chkdsk /scan wmic recoveros get autoreboot wmic recoveros set autoreboot = false wmic recoveros get autoreboot wmic recoveros get DebugInfoType wmic recoveros set DebugInfoType = 7 wmic recoveros get DebugInfoType wmic pagefile list /format:list wmic Computersystem where name="DESKTOP-K2CP43S" get AutomaticManagedPagefile wmic Computersystem where name="DESKTOP-K2CP43S" set AutomaticManagedPagefile=True wmic Computersystem where name="DESKTOP-K2CP43S" get AutomaticManagedPagefile bcdedit /enum {badmemory} C:\WINDOWS\system32>sfc /scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan. Verification 100% complete. 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. C:\WINDOWS\system32>dism /online /cleanup-image /scanhealth Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.19042.1052 [==========================100.0%==========================] The component store is repairable. The operation completed successfully. C:\WINDOWS\system32>dism /online /cleanup-image /restorehealth Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.19042.1052 [==========================100.0%==========================] 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 C:\WINDOWS\system32>sfc /scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan. Verification 100% complete. 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. C:\WINDOWS\system32>chkdsk /scan The type of the file system is NTFS. Volume label is Windows. Stage 1: Examining basic file system structure ... 765184 file records processed. File verification completed. Phase duration (File record verification): 11.23 seconds. 8862 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.77 milliseconds. Stage 2: Examining file name linkage ... 987 reparse records processed. 1044800 index entries processed. Index verification completed. Phase duration (Index verification): 21.47 seconds. 0 unindexed files scanned. Phase duration (Orphan reconnection): 5.77 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.71 milliseconds. 987 reparse records processed. Phase duration (Reparse point and Object ID verification): 6.79 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 116.50 milliseconds. 139809 data files processed. Phase duration (Data attribute verification): 0.80 milliseconds. CHKDSK is verifying Usn Journal... 34201816 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 784.31 milliseconds. Windows has scanned the file system and found no problems. No further action is required. 722633727 KB total disk space. 210837588 KB in 566205 files. 331204 KB in 139810 indexes. 0 KB in bad sectors. 892275 KB in use by the system. 65536 KB occupied by the log file. 510572660 KB available on disk. 4096 bytes in each allocation unit. 180658431 total allocation units on disk. 127643165 allocation units available on disk. Total duration: 39.41 seconds (39412 ms). C:\WINDOWS\system32>wmic recoveros get autoreboot AutoReboot FALSE C:\WINDOWS\system32>wmic recoveros 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. C:\WINDOWS\system32>wmic recoveros get autoreboot AutoReboot FALSE C:\WINDOWS\system32>wmic recoveros get DebugInfoType DebugInfoType 7 C:\WINDOWS\system32>wmic recoveros 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. C:\WINDOWS\system32>wmic recoveros get DebugInfoType DebugInfoType 7 C:\WINDOWS\system32>wmic pagefile list /format:list AllocatedBaseSize=31744 CurrentUsage=471 Description=C:\pagefile.sys InstallDate=20210123182308.249920-360 Name=C:\pagefile.sys PeakUsage=2408 Status= TempPageFile=FALSE C:\WINDOWS\system32>wmic Computersystem where name="DESKTOP-K2CP43S" get AutomaticManagedPagefile AutomaticManagedPagefile TRUE C:\WINDOWS\system32>wmic Computersystem where name="DESKTOP-K2CP43S" set AutomaticManagedPagefile=True Updating property(s) of '\\DESKTOP-K2CP43S\ROOT\CIMV2:Win32_ComputerSystem.Name="DESKTOP-K2CP43S"' Property(s) update successful. C:\WINDOWS\system32>wmic Computersystem where name="DESKTOP-K2CP43S" get AutomaticManagedPagefile AutomaticManagedPagefile TRUE C:\WINDOWS\system32>bcdedit /enum {badmemory} RAM Defects ----------- identifier {badmemory} Press any key to continue . . .
Code:Beginning system scan. This process will take some time. Beginning verification phase of system scan. 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. ================================================================== Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.19042.1052 The component store is repairable. The operation completed successfully. ================================================================== Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.19042.1052 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 ================================================================== Beginning system scan. This process will take some time. Beginning verification phase of system scan. 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. ================================================================== [ChkDsk /scan] The type of the file system is NTFS. Volume label is Windows. Stage 1: Examining basic file system structure ... 765184 file records processed. File verification completed. Phase duration (File record verification): 14.01 seconds. 8862 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 ... 987 reparse records processed. 1044788 index entries processed. Index verification completed. Phase duration (Index verification): 1.55 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 5.62 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.14 milliseconds. 987 reparse records processed. Phase duration (Reparse point and Object ID verification): 5.69 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 141.05 milliseconds. 139803 data files processed. Phase duration (Data attribute verification): 0.08 milliseconds. CHKDSK is verifying Usn Journal... 38944664 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 994.71 milliseconds. Windows has scanned the file system and found no problems. No further action is required. 722633727 KB total disk space. 210115480 KB in 566199 files. 331188 KB in 139804 indexes. 0 KB in bad sectors. 896883 KB in use by the system. 65536 KB occupied by the log file. 511290176 KB available on disk. 4096 bytes in each allocation unit. 180658431 total allocation units on disk. 127822544 allocation units available on disk. Total duration: 1.90 minutes (114004 ms). ================================================================== 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=31744 CurrentUsage=468 Description=C:\pagefile.sys InstallDate=20210123182308.249920-360 Name=C:\pagefile.sys PeakUsage=2408 Status= TempPageFile=FALSE ================================================================== ================================================================== [Set AutomaticManagedPagefile = True] No Instance(s) Available. ================================================================== ================================================================== [BcdEdit /enum {badmemory}] RAM Defects ----------- identifier {badmemory} ==================================================================
What is: No Instance(s) Available.
Do you mean the run should be triggered by the problems with eitherscannow
orrestorehealth
?
You have used the old version of Tuneup_plus_log.bat.
Delete the old version from your PC and use the following version:
👉 Tuneup_plus_log.bat ✔️ 【Last updated on April 17, 2021】
Then, you will not see this message: No Instance(s) Available.
In the following case, the secondscannow
was run because the first run had found corrupt files.
PC will not go to sleep Win10 - 20H2
Scroll down to view the output of Tuneup_plus_log.bat.
All of the scripts ran in post #734 were from the latest Index of Batch Scripts for BSOD debugging:
Batch files for use in BSOD debugging
so the script is out of date.
See if you can create a tuneup.bat script where scannow on the first attempt displays anything other than the typical no integrity violations triggers the script in: SFCfromFile.bat
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
This is only applicable for TF:
How to Change Post Editor to Source or WYSIWYG Mode at TenForums.com
What requirements / options are there for old / new scripts with WQ having different outcomes with copy and paste.
See posts #1421 and #1422
Log in | Windows Questions
For the scannow testing this is computer #1 (no integrity violations)
Code:Started on Wed 06/16/2021 at 5:22:55.95 [SFC /ScanNow] Beginning system scan. This process will take some time. Results: Windows Resource Protection did not find any integrity violations. ================================================================== Started on Wed 06/16/2021 at 5:30:08.71 [DISM /online /cleanup-image /ScanHealth] Deployment Image Servicing and Management tool Version: 10.0.17763.1518 Image Version: 10.0.17763.1577 No component store corruption detected. The operation completed successfully. ================================================================== Started on Wed 06/16/2021 at 5:31:54.09 [DISM /online /cleanup-image /RestoreHealth] Deployment Image Servicing and Management tool Version: 10.0.17763.1518 Image Version: 10.0.17763.1577 The restore operation completed successfully. The operation completed successfully. ================================================================== The second "SFC /ScanNow" was skipped, as the first had output the following: Windows Resource Protection did not find any integrity violations. ================================================================== Started on Wed 06/16/2021 at 5:33:31.26 [ChkDsk /Scan] The type of the file system is NTFS. Stage 1: Examining basic file system structure ... 881920 file records processed. File verification completed. 22824 large file records processed. 0 bad file records processed. Stage 2: Examining file name linkage ... 1528 reparse records processed. 1138310 index entries processed. Index verification completed. 0 unindexed files scanned. 0 unindexed files recovered to lost and found. 1528 reparse records processed. Stage 3: Examining security descriptors ... Security descriptor verification completed. 128196 data files processed. CHKDSK is verifying Usn Journal... 40441136 USN bytes processed. Usn Journal verification completed. Windows has scanned the file system and found no problems. No further action is required. 248570090 KB total disk space. 197839960 KB in 396707 files. 366204 KB in 128197 indexes. 0 KB in bad sectors. 1006706 KB in use by the system. 65536 KB occupied by the log file. 49357220 KB available on disk. 4096 bytes in each allocation unit. 62142522 total allocation units on disk. 12339305 allocation units available on disk. ================================================================== Started on Wed 06/16/2021 at 5:34:20.75 AutoReboot FALSE ================================================================== [Set AutoReboot = False] Updating property(s) of '\\DESKTOP-9HEBUKS\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\WINDOWS|\\Device\\Harddisk0\\Partition4"' Property(s) update successful. ================================================================== AutoReboot FALSE ================================================================== DebugInfoType 7 ================================================================== [Set DebugInfoType = 7] Updating property(s) of '\\DESKTOP-9HEBUKS\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Pro|C:\\WINDOWS|\\Device\\Harddisk0\\Partition4"' Property(s) update successful. ================================================================== DebugInfoType 7 ================================================================== [WMIC PageFile list] AllocatedBaseSize=30343 CurrentUsage=949 Description=C:\pagefile.sys InstallDate=20180430231751.753916-300 Name=C:\pagefile.sys PeakUsage=6425 Status= TempPageFile=FALSE ================================================================== AutomaticManagedPagefile TRUE ================================================================== [Set AutomaticManagedPagefile = True] Updating property(s) of '\\DESKTOP-9HEBUKS\ROOT\CIMV2:Win32_ComputerSystem.Name="DESKTOP-9HEBUKS"' Property(s) update successful. ================================================================== AutomaticManagedPagefile TRUE ================================================================== [BcdEdit /enum {badmemory}] RAM Defects ----------- identifier {badmemory} ================================================================== Finished on Wed 06/16/2021 at 5:34:21.70
Computer #2:
Code:Started on Wed 06/16/2021 at 5:36:17.39 [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 Wed 06/16/2021 at 5:41:06.63 [DISM /online /cleanup-image /ScanHealth] Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.19042.1052 The component store is repairable. The operation completed successfully. ================================================================== Started on Wed 06/16/2021 at 5:47:08.26 [DISM /online /cleanup-image /RestoreHealth] Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.19042.1052 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 Wed 06/16/2021 at 5:57:38.76 [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. ================================================================== A TXT file named SFC_details.txt has been created on the desktop. ================================================================== Started on Wed 06/16/2021 at 6:00:11.30 [ChkDsk /Scan] The type of the file system is NTFS. Volume label is Windows. Stage 1: Examining basic file system structure ... 765184 file records processed. File verification completed. Phase duration (File record verification): 13.36 seconds. 8862 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.06 milliseconds. Stage 2: Examining file name linkage ... 986 reparse records processed. 1044810 index entries processed. Index verification completed. Phase duration (Index verification): 1.43 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 6.10 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.09 milliseconds. 986 reparse records processed. Phase duration (Reparse point and Object ID verification): 6.28 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 98.99 milliseconds. 139814 data files processed. Phase duration (Data attribute verification): 0.05 milliseconds. CHKDSK is verifying Usn Journal... 34464936 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 775.08 milliseconds. Windows has scanned the file system and found no problems. No further action is required. 722633727 KB total disk space. 211297364 KB in 567821 files. 331284 KB in 139815 indexes. 0 KB in bad sectors. 892787 KB in use by the system. 65536 KB occupied by the log file. 510112292 KB available on disk. 4096 bytes in each allocation unit. 180658431 total allocation units on disk. 127528073 allocation units available on disk. Total duration: 1.77 minutes (106478 ms). ================================================================== Started on Wed 06/16/2021 at 6:02:27.37 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=31744 CurrentUsage=424 Description=C:\pagefile.sys InstallDate=20210123182308.249920-360 Name=C:\pagefile.sys PeakUsage=2408 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 06/16/2021 at 6:02:28.32
Code:2021-06-16 06:00:06, Info CSI 0000047e [SR] Cannot repair member file [l:34]'System.Web.ApplicationServices.dll' of System.Web.ApplicationServices, version 4.0.15805.295, arch amd64, versionScope neutral, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2021-06-16 06:00:06, Info CSI 00000480 [SR] Cannot repair member file [l:34]'System.Web.ApplicationServices.dll' of System.Web.ApplicationServices, version 4.0.15805.295, arch amd64, versionScope neutral, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2021-06-16 06:00:06, Info CSI 00000481 [SR] This component was referenced by [l:78]'Package_3_for_KB5003254~31bf3856ad364e35~amd64~~10.0.4360.1.5003254-42_neutral' 2021-06-16 06:00:06, Info CSI 00000484 [SR] Could not reproject corrupted file \??\C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\\System.Web.ApplicationServices.dll; source file in store is also corrupted 2021-06-16 06:00:06, Info CSI 00000485 [SR] Could not reproject corrupted file \??\C:\WINDOWS\Microsoft.NET\Assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\\System.Web.ApplicationServices.dll; source file in store is also corrupted 2021-06-16 06:00:06, Info CSI 00000486 [SR] Could not reproject corrupted file \??\C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\\System.Web.ApplicationServices.dll; source file in store is also corrupted
Last edited by zbook; 16 Jun 2021 at 06:07.
The text report was long.
The text was scanned.
Those 6 rows were saved.
How would the [sr] work?