[FIX] SFC /scannow for all windows 10 Insider builds including 14295

[FIX] SFC /scannow for all windows 10 Insider builds including 14295

sfc /scannow is not working with error - Windows resource Protection could not start the repair service.

Darkz2012 discovered the real reason sfc /scannow does not work in build 14279,
wrpint.dll is missing from the required folders for both x64 & x86(32bit) systems.
If you copy the file wrpint.dll back to the right locations sfc /scannow works.

http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_repair/14279-windows-10-resource-protection-couldnt-start/80b8f073-c56d-41ef-9c3f-0e93bd453123?page=2#LastReply

sfc /scannow is also broken in 14291, 14295


For all windows 10 builds - including 14295 and any new builds in the future - use the following:

As suggested by SAM-R

Try BKUL ALL WINDOWS 10 BUILD VERSION sfc fix script that works for both 32 bit & 64 bit

http://forums.mydigitallife.info/threads/68632-DISCUSSION-Windows-10-Insider-Preview-Build-14291/page9

Instructions: ( Important these commands need to be run as a batch file - scanfix.cmd )

1. Click file explorer, View, tick [/] file name extensions (then close the file explorer window)
2. right-click the desktop and create a new file - call it scanfix.cmd (not scanfix.cmd.txt)
3. right-click & edit scanfix.cmd then copy and paste the commands in black below and save the file
4. right-click scanfix.cmd - run as administrator
5. Check 1 file was copied  
6. Right-click start, command prompt (admin) type sfc /scannow (& press enter)

@echo off
cls
setlocal
set root=%SystemRoot%\WinSxS\%PROCESSOR_ARCHITECTURE%_microsoft-windows-servicingstack
for /f "delims=" %%A in ('dir /ad /b %root%-onecore*') do set "from=%SystemRoot%\WinSxS\%%A"
for /f "delims=" %%A in ('dir /ad /b %root%_*') do set "to=%SystemRoot%\WinSxS\%%A"
takeown /F %to%\* /R /A 1>nul
icacls %to%\*.* /T /grant administrators:F 1>nul
echo on
echo F|xcopy /C /R /O /Y %from%\wrpint.dll %to%\wrpint.dll
pause

Was this discussion helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this discussion?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this discussion?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

thanks again,  i had also in this build the same issue with the same solution!

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thanks to Darkz2012 and max green, both of you are great persons.
If I could vote, I would vote for both of you rather than vote for Hillary Clinton or Donald Trump...

Here is my running result:

Microsoft Windows [Version 10.0.14291]
(c) 2016 Microsoft Corporation. All rights reserved.


D:\WINDOWS\system32>sfc /scannow


Windows Resource Protection could not start the repair service.


D:\WINDOWS\system32>takeown /F "%WinDir%\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94" /R /A /D Y


SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\amd64_installed" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\CbsCore.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\CbsMsg.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\cmiadapter.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\cmiaisupport.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\dpx.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\drupdate.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\drvstore.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\GlobalInstallOrder.xml" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\msdelta.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\mspatcha.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\poqexec.exe" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\smiengine.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\smipi.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\TiFileFetcher.exe" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\TiWorker.exe" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\WcmTypes.xsd" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\wcp.dll" now owned by the administrators group.

SUCCESS: The file (or folder): "D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\wdscore.dll" now owned by the administrators group.

D:\WINDOWS\system32>icacls "%WinDir%\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94" /grant Administrators:F /T /C


processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\amd64_installed
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\CbsCore.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\CbsMsg.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\cmiadapter.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\cmiaisupport.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\dpx.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\drupdate.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\drvstore.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\GlobalInstallOrder.xml
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\msdelta.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\mspatcha.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\poqexec.exe
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\smiengine.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\smipi.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\TiFileFetcher.exe
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\TiWorker.exe
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\WcmTypes.xsd
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\wcp.dll
processed file: D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\wdscore.dll

Successfully processed 20 files; Failed processing 0 files


D:\WINDOWS\system32>robocopy "%WinDir%\winsxs\amd64_microsoft-windows-servicingstack-onecore_31bf3856ad364e35_10.0.14291.1001_none_b11fef854a76db2a" "%WinDir%\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94" wrpint.dll /copyall /b


-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------


  Started : Saturday, March 19, 2016 8:18:14 PM
   Source : D:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack-onecore_31bf3856ad364e35_10.0.14291.1001_none_b11fef854a76db2a\
     Dest : D:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14291.1001_none_7c2e5a73f273bd94\


    Files : wrpint.dll


  Options : /COPYALL /B /R:1000000 /W:30


------------------------------------------------------------------------------


                           1    D:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack-onecore_31bf3856ad364e35_10.0.14291.1001_none_b11fef854a76db2a\
100%        New File               65024        wrpint.dll


------------------------------------------------------------------------------


               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         1         0         1         0         0         0
   Files :         1         1         0         0         0         0
   Bytes :    63.5 k    63.5 k         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :              833641 Bytes/sec.
   Speed :              47.701 MegaBytes/min.
   Ended : Saturday, March 19, 2016 8:18:15 PM


D:\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 did not find any integrity violations.


D:\WINDOWS\system32>

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thank you!  Just what I was looking for!  

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

many thanks

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Cheers, saved me heaps of reading thru event logs.  Thanks again

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

The new build 14295 had same sfc /scannow problem

Windows Resource Protection could not start the repair service

Please send new script asap

Tx TimMitchell_loki

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

The new build 14295 had same sfc /scannow problem

Windows Resource Protection could not start the repair service

Please send new script asap

Tx TimMitchell_loki

As suggested by SAM-R

Try BKUL ALL WINDOWS 10 BUILD VERSION sfc fix script that works for both 32 bit & 64 bit

http://forums.mydigitallife.info/threads/68632-DISCUSSION-Windows-10-Insider-Preview-Build-14291/page9

Instructions: ( Important these commands need to be run as a batch file - scanfix.cmd )

1. Click file explorer, View, tick [/] file name extensions (then close the file explorer window)
2. right-click the desktop and create a new file - call it scanfix.cmd (not scanfix.cmd.txt)
3. right-click & edit scanfix.cmd then copy and paste the commands in black below and save the file
4. right-click scanfix.cmd - run as administrator
5. Check 1 file was copied  
6. Right-click start, command prompt (admin) type sfc /scannow (& press enter)

@echo off
cls
setlocal
set root=%SystemRoot%\WinSxS\%PROCESSOR_ARCHITECTURE%_microsoft-windows-servicingstack
for /f "delims=" %%A in ('dir /ad /b %root%-onecore*') do set "from=%SystemRoot%\WinSxS\%%A"
for /f "delims=" %%A in ('dir /ad /b %root%_*') do set "to=%SystemRoot%\WinSxS\%%A"
takeown /F %to%\* /R /A 1>nul
icacls %to%\*.* /T /grant administrators:F 1>nul
echo on
echo F|xcopy /C /R /O /Y %from%\wrpint.dll %to%\wrpint.dll
pause

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Once again thank you to Darkz2012 & Max Green for an excellent piece of coding and posting it prominently so that we all see it. Copied and saved for the next build(s) until Microsoft remove the problem?

It really is a pity that we don't have stickies at the top of these forum pages.

Wired & Retired Old Mig15 pilot
Microsoft Defender is boosting its response to malware attacks by changing a key setting switching the default from optional to fully automatic remediation.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Once again thank you to Darkz2012 & Max Green for an excellent piece of coding and posting it prominently so that we all see it. Copied and saved for the next build(s) until Microsoft remove the problem?

It really is a pity that we don't have stickies at the top of these forum pages.

They still have "stickies at the top of these forum pages" and you can request it be make a stickie

by posting a link to this post on the Moderator forum -

http://answers.microsoft.com/en-us/feedback/forum/mods?tab=Threads

currently

http://answers.microsoft.com/en-us/feedback/forum/fdbk_commsite-mods/moderation-requests-week-of-mar-21-2016/fbee4e02-71dc-40fb-af59-2c5da4396a6c

Please note Microsoft has not officially added SFC to known errors/issues with the build 14295.

(or the last two builds 14279 and 14291)

The last message we received by a Microsoft employee is:

http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_perf/system-file-checker-will-not-run-with-command/dfcdd93f-96bb-4209-82ca-b99c256558bb?page=2

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Max I just saw this. 

I tried it. I went to desktop. Created new text document but named it scanfix.cmd and copied and pasted the code in and it is still just a text file and not a CMD file :(

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

 
 

Discussion Info


Last updated November 18, 2020 Views 5,260 Applies to: