"sfc /scannow windows resource protection could not start the repair service"

Re: "sfc /scannow windows resource protection could not start the repair service"

sorry, I still get the same error.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

This is puzzling..

Please go and navigate to C:\Windows\winsxs and copy any files with a similar name to pending.xml (e.g. pending.xml, pending.xml.bad, pending.xml_dfsadf78 etc.) to your folder on the Desktop [there may not be any, just if there are]. Then zip up this folder and attach it to your next post.

  1. Right click on the
    aa922834-ed43-40f1-8830-d5507badb56c_39.jpg
    button
  2. Click on Command prompt (Admin) => Press Yes on the prompt
  3. Inside the Command Prompt windows copy and paste the following command
    REG LOAD HKLM\COMPONENTS C:\Windows\System32\config\COMPONENTS
    REG QUERY HKLM\COMPONENTS >1&&notepad 1

  4. Please post the contents of 1.txt back into this thread.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

happy new year :)

there was no pending.xml of any kind.


HKEY_LOCAL_MACHINE\COMPONENTS
StoreFormatVersion REG_BINARY 30002E0030002E0030002E003600
StoreArchitecture REG_BINARY 09000000
LastScavengeCookie REG_QWORD 0x1d005f85d029656
LastScavengeFlags REG_DWORD 0x7
HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData
HKEY_LOCAL_MACHINE\COMPONENTS\ccpinterface
HKEY_LOCAL_MACHINE\COMPONENTS\Configuration
HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData
HKEY_LOCAL_MACHINE\COMPONENTS\Installers
HKEY_LOCAL_MACHINE\COMPONENTS\ServicingStackVersions


Thanks again :)
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Thank you, I still have no clue as to what is going on.

  1. Right click on the Start button and select Run as administrator
  2. When command prompt opens, copy and paste the following commands into it, press enter after each

    chkdsk /f

  3. Reboot
  4. Download ListChkdskResult.exe (by SleepyDude) from Here
  5. Double click on it to run it. It will take a few seconds to scan, then it will open a Notepad window with the log. Copy and paste the contents of this into your next post please!
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Sorry, but i get a "there is no scribt engine for file extension ".vbe" when i try to run ListChkdskResult.exe
I even tried in a elevated cmd.



the chkdsk /f ran without any problems.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Here you go :)
Thanks again :)


TimeCreated : 03-01-2015 01:30:56
Message :

Checking file system on C:
The type of the file system is NTFS.
Volume label is Windows7_OS.


A disk check has been scheduled.
Windows will now check the disk.

CHKDSK is verifying files (stage 1 of 3)...
367360 file records processed.
File verification completed.
1605 large file records processed.
0 bad file records processed.
2 EA records processed.
76 reparse records processed.
CHKDSK is verifying indexes (stage 2 of 3)...
479238 index entries processed.
Index verification completed.
0 unindexed files scanned.
0 unindexed files recovered.
CHKDSK is verifying security descriptors (stage 3 of 3)...
367360 file SDs/SIDs processed.
Cleaning up 125 unused index entries from index $SII of file 0x9.
Cleaning up 125 unused index entries from index $SDH of file 0x9.
Cleaning up 125 unused security descriptors.
Security descriptor verification completed.
55940 data files processed.
CHKDSK is verifying Usn Journal...
37335480 USN bytes processed.
Usn Journal verification completed.
Windows has checked the file system and found no problems.

294956031 KB total disk space.
204236500 KB in 305743 files.
184108 KB in 55941 indexes.
0 KB in bad sectors.
483743 KB in use by the system.
65536 KB occupied by the log file.
90051680 KB available on disk.

4096 bytes in each allocation unit.
73739007 total allocation units on disk.
22512920 allocation units available on disk.

Internal Info:
00 9b 05 00 dd 84 05 00 a9 8e 09 00 00 00 00 00 ................
7c 1f 00 00 4c 00 00 00 00 00 00 00 00 00 00 00 |...L...........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Windows has finished checking your disk.
Please wait while your computer restarts.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Yep that's clean.

There was a mention earlier on about some old transactions that could not be deleted. We will try and clear those out to see if this is what was causing the issue.

First, start an Elevated Command Prompt: https://www.sysnative.com/forums/wind...vista-7-a.html
and copy and paste in the following:

fsutil resource setautoreset true %SystemDrive%\

attrib -r -s -h %SystemRoot%\System32\Config\TxR\*
del %SystemRoot%\System32\Config\TxR\*

attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*
del %SystemRoot%\System32\SMI\Store\Machine\*.tm*
del %SystemRoot%\System32\SMI\Store\Machine\*.blf
del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms


Let me know how each result goes.

Alex
 
Re: "sfc /scannow windows resource protection could not start the repair service"

C:\Windows\system32>del %SystemRoot%\System32\Config\TxR\*C:\Windows\System32\Config\TxR\*, Are you sure (Y/N)? y


C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.0.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.1.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.2.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.blf
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContaine
r00000000000000000001.regtrans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContaine
r00000000000000000010.regtrans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContaine
r00000000000000000011.regtrans-ms
The process cannot access the file because it is being used by another process.

C:\Windows\system32>del %SystemRoot%\System32\SMI\Store\Machine\*.blf
Could Not Find C:\Windows\System32\SMI\Store\Machine\*.blf

C:\Windows\system32>del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms
Could Not Find C:\Windows\System32\SMI\Store\Machine\*.regtrans-ms


The rest went fine, no errors.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Some of the files could not be deleted as the file is marked as in use. We will have to try and delete these from the recovery environment.

Boot into the Windows RE mode: How to use the Windows 7 System Recovery Environment Command Prompt

Once the command Window is displayed please follow the below steps.

First command to enter is wmic logicaldisk get name. you will be given a similar output to:

Code:
X:\Sources>wmic logicaldisk get name
Name
C:
D:
E:
X:

Now when you are in the RE the drive letters will often move around. start with the first letter that was provided in the list and enter in the following command (for this example we will use C:\ as it is the first one)

dir C:\
-This will display all the folders in the root drive of C

Can you see a folder called C:\Windows in list?
-If you can see C:\Windows then run the following command as del C:\Windows\System32\Config\TxR\*

If you can not see the Windows folder move onto the next Drive letter that we obtained with wmic logicaldisk get name and type in dir <DRIVE LETTER> (replace <DRIVE LETTER> with the drive you would like to check), can you see the Windows Folder?
-If yes, enter in the following command del C:\Windows\System32\Config\TxR\* and changed the C to what ever Drive letter has the Windows folder

Its just a case of going through each drive letter that was produced from the first list until the Windows folder is found then run the command on that drive.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

After running the commands in windows RE, i'm getting this, in the elevated cmd in "normal" windows.


C:\Windows\system32>del %systemroot%\system32\config\txr\*C:\Windows\system32\config\txr\*, Are you sure (Y/N)? y


C:\Windows\system32\config\txr\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
The process cannot access the file because it is being used by another process.
C:\Windows\system32\config\txr\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContaine
r00000000000000000001.regtrans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\system32\config\txr\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContaine
r00000000000000000002.regtrans-ms
The process cannot access the file because it is being used by another process.


C:\Windows\system32>


C:\Windows\system32>attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*

C:\Windows\system32>del %SystemRoot%\System32\SMI\Store\Machine\*.tm*
Could Not Find C:\Windows\System32\SMI\Store\Machine\*.tm*


C:\Windows\system32>del %SystemRoot%\System32\SMI\Store\Machine\*.blf
Could Not Find C:\Windows\System32\SMI\Store\Machine\*.blf


C:\Windows\system32>del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms
Could Not Find C:\Windows\System32\SMI\Store\Machine\*.regtrans-ms


C:\Windows\system32>

But i can see
regtrans-ms
and
.blf

When i go in to system32\config\txr
So I dont no why the command line can't find it.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

What happened in the recovery environment? It should of cleared out all those files then.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

What happened in the recovery environment? It should of cleared out all those files then.

I did this command in the RE.

fsutil resource setautoreset true %SystemDrive%\

attrib -r -s -h %SystemRoot%\System32\Config\TxR\*
del %SystemRoot%\System32\Config\TxR\*

attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*
del %SystemRoot%\System32\SMI\Store\Machine\*.tm*
del %SystemRoot%\System32\SMI\Store\Machine\*.blf
del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms

They all went fine, BUT the fsutil..... command it did not reconize.

But when I go into windows and start up a elevated CMD I get the same error as before.


C:\Windows\system32>del %SystemRoot%\System32\Config\TxR\*C:\Windows\System32\Config\TxR\*, Are you sure (Y/N)? y
C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.0.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.1.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.2.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.blf
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContaine
r00000000000000000001.regtrans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContaine
r00000000000000000002.regtrans-ms
The process cannot access the file because it is being used by another process.


C:\Windows\system32>


Thanks for your help :)
 
Re: "sfc /scannow windows resource protection could not start the repair service"

We will leave those files for now.

Command query
  1. Click on the
    Win7Orb_zps4dae3b32.jpg
    button. Inside the search box type in CMD
  2. Right click on CMD => Choose Run as Administrator
  3. Inside the Command Prompt windows copy and paste the following commands

    Code:
    reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version" >1&& reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version" >>1&& dir "%WinDir%\servicing\Version" >>1&&notepad 1
  4. Once finished a note pad file called 1 will open Please post the contents back into this thread.
 
Re: "sfc /scannow windows resource protection could not start the repair service"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version
6.1.7601.17592 REG_EXPAND_SZ %SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f




HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version
6.1.7601.17592 REG_EXPAND_SZ %SystemRoot%\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_0b0e4b4025cf4049


Volume in drive C is Windows7_OS
Volume Serial Number is 1E68-579F


Directory of C:\Windows\servicing\Version


16-10-2011 11:23 <DIR> .
16-10-2011 11:23 <DIR> ..
16-10-2011 11:23 <DIR> 6.1.7601.17592
0 File(s) 0 bytes
3 Dir(s) 92.106.207.232 bytes free


Here you go
Thank you :)
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Now that we have the paths we can find out if there is any missing files.

Please run the following command:
Code:
dir %SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.17477_none_fa2b7d3b9b36c7b4 /s >1&& dir %SystemRoot%\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.17477_none_9e0ce1b7e2d9567e /s >>1&&notepad 1
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Now that we have the paths we can find out if there is any missing files.

Please run the following command:
Code:
dir %SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.17477_none_fa2b7d3b9b36c7b4 /s >1&& dir %SystemRoot%\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.17477_none_9e0ce1b7e2d9567e /s >>1&&notepad 1


Sorry, but I get a "file not found".?


C:\Windows\system32>dir %SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.17477_none_fa2b7d3b9b36c7b4 /s >1&& dir %SystemRoot%\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.17477_none_9e0ce1b7e2d9567e /s >>1&&notepad 1
File Not Found


C:\Windows\system32>
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Sorry try this one:
Code:
dir %SystemRoot%\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_0b0e4b4025cf4049 /s >1&& %SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f /s >>1&& notepad 1
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Volume in drive C is Windows7_OS Volume Serial Number is 1E68-579F


Directory of C:\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_0b0e4b4025cf4049


16-10-2011 11:23 <DIR> .
16-10-2011 11:23 <DIR> ..
14-07-2009 03:43 1.798.144 apds.dll
09-04-2011 06:57 223.744 apircl.dll
14-07-2009 03:43 201.216 apss.dll
09-04-2011 06:57 845.312 CbsCore.dll
14-07-2009 03:43 28.672 CbsMsg.dll
09-04-2011 06:57 120.832 cmiadapter.dll
14-07-2009 03:43 296.448 cmitrust.dll
09-04-2011 06:57 2.041.344 cmiv2.dll
09-04-2011 06:57 143.872 CntrtextInstaller.dll
09-04-2011 06:57 257.024 dpx.dll
14-07-2009 03:43 173.568 DrUpdate.dll
09-04-2011 06:57 323.072 drvstore.dll
14-07-2009 03:43 266.240 esscli.dll
21-11-2010 04:01 606.208 fastprox.dll
21-11-2010 04:01 1.973.556 GlobalInstallOrder.xml
21-11-2010 04:01 105.472 helpcins.dll
14-07-2009 03:43 229.888 locdrv.dll
14-07-2009 03:43 192.000 mofd.dll
14-07-2009 03:43 58.880 mofinstall.dll
14-07-2009 03:43 305.152 msdelta.dll
14-07-2009 03:43 35.328 mspatcha.dll
14-07-2009 03:43 151.040 OEMHelpIns.dll
09-04-2011 06:56 209.920 PkgMgr.exe
09-04-2011 06:56 123.904 poqexec.exe
14-07-2009 03:43 300.544 repdrvfs.dll
09-04-2011 06:57 697.856 smiengine.dll
09-04-2011 06:57 98.816 smipi.dll
14-07-2009 03:43 16.384 SvcIni.exe
21-11-2010 04:01 363.008 wbemcomn.dll
09-04-2011 06:57 780.288 wbemcore.dll
14-07-2009 03:43 29.184 wbemprox.dll
14-07-2009 03:43 1.047 WcmTypes.xsd
09-04-2011 06:57 1.910.784 wcp.dll
09-04-2011 06:57 189.952 wdscore.dll
09-04-2011 06:57 351.232 wmicmiplugin.dll
14-07-2009 03:43 85.504 wmiutils.dll
09-04-2011 06:57 54.272 wrpint.dll
14-07-2009 03:43 9 x86_installed
14-07-2009 03:43 180.224 xmllite.dll
39 File(s) 15.769.940 bytes


Total Files Listed:
39 File(s) 15.769.940 bytes
2 Dir(s) 91.435.655.168 bytes free
Volume in drive C is Windows7_OS
Volume Serial Number is 1E68-579F


Directory of C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f


16-10-2011 11:23 <DIR> .
16-10-2011 11:23 <DIR> ..
14-07-2009 03:55 9 amd64_installed
14-07-2009 03:55 2.172.928 apds.dll
09-04-2011 08:00 276.480 apircl.dll
14-07-2009 03:54 235.008 apss.dll
09-04-2011 07:59 976.384 CbsCore.dll
14-07-2009 03:55 28.672 CbsMsg.dll
09-04-2011 07:59 125.952 cmiadapter.dll
14-07-2009 03:55 477.696 cmitrust.dll
09-04-2011 07:59 3.739.136 cmiv2.dll
09-04-2011 07:59 171.008 CntrtextInstaller.dll
09-04-2011 08:00 399.872 dpx.dll
14-07-2009 03:55 203.776 DrUpdate.dll
09-04-2011 08:00 423.424 drvstore.dll
14-07-2009 03:55 440.320 esscli.dll
14-07-2009 03:55 909.312 fastprox.dll
21-11-2010 04:01 1.973.556 GlobalInstallOrder.xml
21-11-2010 04:01 142.336 helpcins.dll
14-07-2009 03:55 370.176 locdrv.dll
14-07-2009 03:55 278.528 mofd.dll
14-07-2009 03:55 76.288 mofinstall.dll
14-07-2009 03:55 451.584 msdelta.dll
14-07-2009 03:55 46.592 mspatcha.dll
14-07-2009 03:55 222.208 OEMHelpIns.dll
09-04-2011 07:58 199.168 PkgMgr.exe
09-04-2011 07:58 142.336 poqexec.exe
14-07-2009 03:55 451.584 repdrvfs.dll
09-04-2011 08:00 933.376 smiengine.dll
09-04-2011 08:00 104.448 smipi.dll
14-07-2009 03:54 17.920 SvcIni.exe
21-11-2010 04:01 529.408 wbemcomn.dll
09-04-2011 08:00 1.225.216 wbemcore.dll
14-07-2009 03:55 43.520 wbemprox.dll
14-07-2009 03:55 1.047 WcmTypes.xsd
09-04-2011 08:00 2.760.704 wcp.dll
09-04-2011 08:00 271.360 wdscore.dll
09-04-2011 08:00 524.288 wmicmiplugin.dll
14-07-2009 03:55 137.216 wmiutils.dll
09-04-2011 08:00 60.928 wrpint.dll
14-07-2009 03:55 199.680 xmllite.dll
39 File(s) 21.743.444 bytes


Total Files Listed:
39 File(s) 21.743.444 bytes
2 Dir(s) 91.435.651.072 bytes free

you command was missing a "dir" but after puttinthe "dir" i got this.

Thanks again :)
 
Re: "sfc /scannow windows resource protection could not start the repair service"

Good catch on the missing dir command :thumbsup2:

The structure of these folders look fine, now the fun part, checking each file to make sure they are not corrupt.

SFCFix script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Go to your desktop and right click on the background -> Select New -> Text Document -> Name this file SFCFixScript.txt.
  3. Open up SFCFixScript.txt and copy all of the following text inside the code box below and paste it into SFCFixScript.txt.
    Code:
    FileScan::
    amd64_installed
    apds.dll
    apircl.dll
    apss.dll
    CbsCore.dll
    CbsMsg.dll
    cmiadapter.dll
    cmitrust.dll
    cmiv2.dll
    CntrtextInstaller.dll
    dpx.dll
    DrUpdate.dll
    rvstore.dll
    esscli.dll
    fastprox.dll
    GlobalInstallOrder.xml
    helpcins.dll
    locdrv.dll
    mofd.dll
    mofinstall.dll
    msdelta.dll
    mspatcha.dll
    OEMHelpIns.dll
    PkgMgr.exe
    poqexec.exe
    repdrvfs.dll
    smiengine.dll
    smipi.dll
    SvcIni.exe
    wbemcomn.dll
    wbemcore.dll
    wbemprox.dll
    WcmTypes.xsd
    wcp.dll
    wdscore.dll
    wmicmiplugin.dll
    wmiutils.dll
    wrpint.dll
    x86_installed
    xmllite.dll
  4. Click on File -> Save. Close out of SFCFixScript.txt.
  5. Save any open documents and close all open windows.
  6. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  7. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  8. SFCFix will now process the script.
  9. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  10. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.
 

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

Back
Top