sfc /scannow fails at 0% - STATUS_INVALID_PARAMETER; SFCFix and SURT doesn't find problems

mczd

New member
Joined
Aug 23, 2024
Posts
3
Hi, I have Windows 7 32-bit - SFC scan fails, Windows Update is searching for updates but can't install them.

according to Windows Update Forum Posting Instructions

0. SFCFix by niemiro found no corruptions:

SFCFix version 3.0.2.1 by niemiro.
Start time: 2024-08-23 13:47:33.566
Microsoft Windows 7 Service Pack 1 - x86
Not using a script file.




AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2024-08-23 13:48:52.475
----------------------EOF-----------------------

1. sfc /scannow fails at 0% with:
Windows Resource Protection could not perform the requested operation.

Part of CBS.log during SFC scan fail:
2024-08-21 16:35:39, Info CBS Starting TrustedInstaller initialization.
2024-08-21 16:35:39, Info CBS Loaded Servicing Stack v6.1.7601.18766 with Core: C:\windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_0b32a93025b365c1\cbscore.dll
2024-08-21 16:35:40, Info CSI 00000001@2024/8/21:14:35:40.501 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x67b9dec9 @0x68cf5d96 @0x68cd20c3 @0x641c99 @0x641236 @0x766b75a8)
2024-08-21 16:35:40, Info CSI 00000002@2024/8/21:14:35:40.501 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x67b9dec9 @0x68d37183 @0x68d34013 @0x641c99 @0x641236 @0x766b75a8)
2024-08-21 16:35:40, Info CSI 00000003@2024/8/21:14:35:40.517 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x67b9dec9 @0x73454bc8 @0x734554a6 @0x641327 @0x641245 @0x766b75a8)
2024-08-21 16:35:40, Info CBS Ending TrustedInstaller initialization.
2024-08-21 16:35:40, Info CBS Starting the TrustedInstaller main loop.
2024-08-21 16:35:40, Info CBS TrustedInstaller service starts successfully.
2024-08-21 16:35:40, Info CBS SQM: Initializing online with Windows opt-in: False
2024-08-21 16:35:40, Info CBS SQM: Cleaning up report files older than 10 days.
2024-08-21 16:35:40, Info CBS SQM: Requesting upload of all unsent reports.
2024-08-21 16:35:40, Info CBS SQM: Failed to start upload with file pattern: C:\windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
2024-08-21 16:35:40, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2024-08-21 16:35:40, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\windows\servicing\sqm\*_all.sqm, flags: 0x6
2024-08-21 16:35:40, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2024-08-21 16:35:40, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.
2024-08-21 16:35:40, Info CBS NonStart: Checking to ensure startup processing was not required.
2024-08-21 16:35:40, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0x6bfa9c
2024-08-21 16:35:40, Info CSI 00000005 Creating NT transaction (seq 1), objectname [6]"(null)"
2024-08-21 16:35:40, Info CSI 00000006 Created NT transaction (seq 1) result 0x00000000, handle @0x1d0
2024-08-21 16:35:40, Info CSI 00000007@2024/8/21:14:35:40.689 CSI perf trace:
CSIPERF:TXCOMMIT;692
2024-08-21 16:35:40, Info CBS NonStart: Success, startup processing not required as expected.
2024-08-21 16:35:40, Info CBS Startup processing thread terminated normally
2024-08-21 16:35:40, Info CSI 00000008 CSI Store 3131312 (0x002fc7b0) initialized
2024-08-21 16:35:42, Info CSI 00000009 [SR] Verifying 100 (0x00000064) components
2024-08-21 16:35:42, Info CSI 0000000a [SR] Beginning Verify and Repair transaction
2024-08-21 16:35:47, Info CSI 0000000b Repair results created:
POQ 0 starts:
0: Move File: Source = [l:192{96}]"\SystemRoot\WinSxS\Temp\PendingRenames\2f126e69d7f3da01660000008409e806._0000000000000000.cdf-ms", Destination = [l:104{52}]"\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"
1: Move File: Source = [l:162{81}]"\SystemRoot\WinSxS\Temp\PendingRenames\50367569d7f3da01670000008409e806.$$.cdf-ms", Destination = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms"
2: Move File: Source = [l:208{104}]"\SystemRoot\WinSxS\Temp\PendingRenames\715a7c69d7f3da01680000008409e806.$$_ehome_40103e2da1d121de.cdf-ms", Destination = [l:120{60}]"\SystemRoot\WinSxS\FileMaps\$$_ehome_40103e2da1d121de.cdf-ms"

POQ 0 ends.
2024-08-21 16:35:47, Info CSI 0000000c [SR] Verify complete
2024-08-21 16:35:48, Info CSI 0000000d [SR] Verifying 100 (0x00000064) components
2024-08-21 16:35:48, Info CSI 0000000e [SR] Beginning Verify and Repair transaction
2024-08-21 16:35:52, Error CSI 0000000f@2024/8/21:14:35:52.295 (F) d:\win7sp1_gdr\base\wcp\cdf\cdf_cdfapi.cpp(508): Error STATUS_INVALID_PARAMETER originated in function Windows::Cdf::Implementation::CCdf::FetchIdentity expression: Id.Index < m_Cdf.CdfHeader->Identities.Count
[gle=0x80004005]
2024-08-21 16:35:52, Error CSI 00000010 (F) STATUS_INVALID_PARAMETER #451181# from CFileInstaller::CommitChanges(...)[gle=0xd000000d]
2024-08-21 16:35:52, Error CSI 00000011 (F) STATUS_INVALID_PARAMETER #451180# from PrimitiveInstaller::CCoordinator::FinalizeChanges(...)[gle=0xd000000d]

2. Downloading and running SURT windows6.1-kb947821-v34-x86_49649cb633aa4ff044cd70602ac777a0ec6f8630.msu was done successfully

=================================
Checking System Update Readiness.
Binary Version 6.1.7601.22471
Package Version 26.0
2024-08-23 14:26

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs

Checking Package Watchlist

Checking Component Watchlist

Checking Packages

Checking Component Store

Summary:
Seconds executed: 479
No errors detected

3. ComponentsScanner32.exe fails because of missing api-ms-win-crt-string-l1-1-0.dll
(cannot install the latest version of the Universal C Runtime for Windows because Windows Update is not working properly)


4. %WinDir%\Logs\CBS\ folder contents
CBS.zip


Thanks!
 
Hello and welcome.

Provide the Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again. Note: If you find that you need to reboot and are unable to because this is a server then try Option#2 below.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to Gofile or WeTransfer and just provide the link here.


Option#2 (only if you are unable to follow the previous instructions)

  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, one of which is named COMPONENTS.
  • Copy the COMPONENTS file to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right-click on the COMPONENTS file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (COMPONENTS.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Gofile or WeTransfer and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBak program now.
 
Please do following:

  1. Click on the Start button and in the search box, type CMD
  2. When CMD is listed above, right-click on it and select Run as administrator
  3. When Command Prompt opens, copy and paste the following command into it, then press enter.

    Code:
    fsutil hardlink list c:\windows\system32\api-ms-win-crt-string-l1-1-0.dll
  4. Take a screenshot of the Command Prompt. Read this on how to take a screenshot.
  5. Upload the image file to a file-sharing site and post the downloadlink.
 
Error - cannot find the specified file:

fsutil_hardlink_list.png


C:\windows\system32>dir /a api-ms*
Wolumin w stacji C to Seagate_1
Numer seryjny woluminu: EC76-F293

Katalog: C:\windows\system32

2015-05-09 05:08 3 072 api-ms-win-core-console-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-datetime-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-debug-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-delayload-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-errorhandling-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-fibers-l1-1-0.dll
2015-05-09 05:08 5 120 api-ms-win-core-file-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-handle-l1-1-0.dll
2015-05-09 05:08 3 584 api-ms-win-core-heap-l1-1-0.dll
2015-05-09 05:08 3 584 api-ms-win-core-interlocked-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-io-l1-1-0.dll
2015-05-09 05:08 3 584 api-ms-win-core-libraryloader-l1-1-0.dll
2015-05-09 05:08 4 096 api-ms-win-core-localization-l1-1-0.dll
2015-05-09 05:08 4 096 api-ms-win-core-localregistry-l1-1-0.dll
2015-05-09 05:08 3 584 api-ms-win-core-memory-l1-1-0.dll
2015-05-09 05:08 4 096 api-ms-win-core-misc-l1-1-0.dll
2015-05-09 05:08 3 584 api-ms-win-core-namedpipe-l1-1-0.dll
2015-05-09 05:08 3 584 api-ms-win-core-processenvironment-l1-1-0.dll
2015-05-09 05:08 4 608 api-ms-win-core-processthreads-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-profile-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-rtlsupport-l1-1-0.dll
2015-05-09 05:08 3 072 api-ms-win-core-string-l1-1-0.dll
2015-05-09 05:08 4 096 api-ms-win-core-synch-l1-1-0.dll
2015-05-09 05:08 4 096 api-ms-win-core-sysinfo-l1-1-0.dll
2015-05-09 03:59 4 608 api-ms-win-core-threadpool-l1-1-0.dll
2015-05-09 03:59 3 072 api-ms-win-core-util-l1-1-0.dll
2015-05-09 03:59 3 584 api-ms-win-core-xstate-l1-1-0.dll
2013-04-02 09:21 10 752 api-ms-win-downlevel-advapi32-l1-1-0.dll
2013-04-02 09:21 3 584 api-ms-win-downlevel-advapi32-l2-1-0.dll
2013-04-02 09:21 2 560 api-ms-win-downlevel-normaliz-l1-1-0.dll
2013-04-02 09:21 5 632 api-ms-win-downlevel-ole32-l1-1-0.dll
2013-04-02 09:21 3 072 api-ms-win-downlevel-shell32-l1-1-0.dll
2013-04-02 09:21 9 728 api-ms-win-downlevel-shlwapi-l1-1-0.dll
2013-04-02 09:21 5 632 api-ms-win-downlevel-shlwapi-l2-1-0.dll
2013-04-02 09:21 4 096 api-ms-win-downlevel-user32-l1-1-0.dll
2013-04-02 09:21 3 072 api-ms-win-downlevel-version-l1-1-0.dll
2015-05-09 03:59 6 144 api-ms-win-security-base-l1-1-0.dll
2009-07-14 01:11 3 584 api-ms-win-security-lsalookup-l1-1-0.dll
2009-07-14 01:11 3 072 api-ms-win-security-sddl-l1-1-0.dll
2009-07-14 03:03 2 560 api-ms-win-service-core-l1-1-0.dll
2009-07-14 03:03 2 560 api-ms-win-service-management-l1-1-0.dll
2009-07-14 03:03 2 560 api-ms-win-service-management-l2-1-0.dll
2009-07-14 03:03 3 584 api-ms-win-service-winsvc-l1-1-0.dll
43 plik(ów) 168 960 bajtów
0 katalog(ów) 1 265 156 096 bajtów wolnych
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top