[SOLVED] 24 Failed Windows Updates- Help!

Thanks, I had missed the space. I went back and added the space and the command executed successfully.

I then restarted the machine and ran Windows Update. Unfortunately all 24 updates failed again and it still gives the same codes:
Code 80070308
Code 9C59
Code 2
Any more ideas?
 
Please try this now, I still have a few ideas to try:)

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


Try windows update again, if it fails please continue.

Please go 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].
 
Glad to hear you have not yet run out of ideas-- think we're going to need some more!

I pasted your code in the elevated command prompt. Here's what happened:

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>fsutil resource setautoreset true %SystemDrive%\
The operation completed successfully.

C:\Windows\system32>attrib -r -s -h %SystemRoot%\System32\Config\TxR\*

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

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>

Windows update failed again with the same codes as always.

I checked the winsxs folder and like before, searching "pending" files pulled up one file, pending.grl and the same 2 directories in C:\Windows\winsxs\Temp called PendingRenames and PendingDeletes.

Do you want me to zip pending.grl again?
 
Lets see if we can end the process of what ever is useing these files.

  • Click on Start -> In the search field type in Resource Monitor -> Select Resource Monitor
  • Click on the tab CPU -> Expand the Associated Handles section -> Inside the search field search for TxR.0.regt
  • Do you get any results? if you do right click on each and End process
If that works to end the process try running the command again.

If that fails you might have to try from SafeMode or the recovery environment
 
Running it from both regular Windows and from SafeMode the Resource Monitor does not find TxR.0.regt.
:(
I could not figure out how to run Resource Monitor from the recovery environment.
 
Sorry I meant the previous commands inside safemode.

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
 
Running the commands in Safe Mode got almost the same as before:

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Danielle>fsutil resource setautoreset true %SystemDrive%\
The operation completed successfully.

C:\Users\Danielle>attrib -r -s -h %SystemRoot%\System32\Config\TxR\*

C:\Users\Danielle>del %SystemRoot%\System32\Config\TxR\*
C:\Windows\System32\Config\TxR\*, Are you sure (Y/N)? y
C:\Windows\System32\Config\TxR\{6cced301-6e01-11de-8bed-001e0bcd1824}.TM.blf
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced301-6e01-11de-8bed-001e0bcd1824}.TMContaine
r00000000000000000001.regtrans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced301-6e01-11de-8bed-001e0bcd1824}.TMContaine
r00000000000000000002.regtrans-ms
The process cannot access the file because it is being used by another process.

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

C:\Users\Danielle>del %SystemRoot%\System32\SMI\Store\Machine\*.tm*

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

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

C:\Users\Danielle>

Windows Updates fails with the same codes.
 
Code:
I think Explorer.exe is responsible for "The process cannot access the file because it is being used by another process.".
Maybe it should be terminated before that command...
For example with taskkill /f /im "explorer.exe"
And you can re-launch Explorer with explorer
 
Nope, that didn't work either:

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>taskkill /f /im "explorer.exe
SUCCESS: The process "explorer.exe" with PID 1840 has been terminated.

C:\Windows\system32>explorer

C:\Windows\system32>fsutil resource setautoreset true %SystemDrive%\
The operation completed successfully.

C:\Windows\system32>attrib -r -s -h %SystemRoot%\System32\Config\TxR\*

C:\Windows\system32>del %SystemRoot%\System32\Config\TxR\*
C:\Windows\System32\Config\TxR\*, Are you sure (Y/N)? y
C:\Windows\System32\Config\TxR\{6cced300-6e01-11de-8bed-001e0bcd1824}.TxR.0.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced300-6e01-11de-8bed-001e0bcd1824}.TxR.1.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced300-6e01-11de-8bed-001e0bcd1824}.TxR.2.regt
rans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced300-6e01-11de-8bed-001e0bcd1824}.TxR.blf
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced301-6e01-11de-8bed-001e0bcd1824}.TM.blf
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced301-6e01-11de-8bed-001e0bcd1824}.TMContaine
r00000000000000000001.regtrans-ms
The process cannot access the file because it is being used by another process.
C:\Windows\System32\Config\TxR\{6cced301-6e01-11de-8bed-001e0bcd1824}.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>
 
Yep... You should terminate Explorer, then launch the Go the power's commands, and later you can re-start Explorer. ;)
If it doesn't work in normal mode, try it in safe mode.
 
For this next part I need the exact names of the transactions, the files that wont delete belong to pending transactions.

  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

    ktmutil tx list >1&&notepad 1
    ktmutil tm list >0&&notepad 0

  4. Please wait for this to Finish before continuing with rest of the steps.

After each command is ran you should end up with a notepad file, can you please post the contents of each back into this thread.
 
Sure, here is notepad 1 (it was basically empty):

TxGuid Description
-------------------------------------- -----------------------------------------


and here is notepad 0:
TmGuid TmLogPath
-------------------------------------- -----------------------------------------
{ee14b724-3a27-11e4-a284-806e6f6e6963} \Device\HarddiskVolume2\Windows\ServiceProfiles\NetworkService\NTUSER.DAT{ee14b722-3a27-11e4-a284-806e6f6e6963}.TM
{ee14b728-3a27-11e4-a284-001fe19a8ede} \Device\HarddiskVolume2\Windows\ServiceProfiles\LocalService\NTUSER.DAT{ee14b726-3a27-11e4-a284-001fe19a8ede}.TM
{8fc63f2f-41ac-11e4-92b3-806e6f6e6963} \Device\HarddiskVolume2\$Extend\$RmMetadata\$TxfLog\$TxfLog::KtmLog
{421cca2f-c9ea-11e3-9183-00219bd05db9} \Device\HarddiskVolume2\Users\Danielle\NTUSER.DAT{6cced2f1-6e01-11de-8bed-001e0bcd1824}.TM
{8ca16154-c9ef-11e3-b392-c8835f4d6033} \Device\HarddiskVolume1\$Extend\$RmMetadata\$TxfLog\$TxfLog::KtmLog
{9bcff97c-c9e9-11e3-8e2b-806e6f6e6963} \SystemRoot\System32\Config\TxR\{6cced301-6e01-11de-8bed-001e0bcd1824}.TM
{856558cd-16c7-11e4-84bb-00219bd05db9} Error: Access is denied.

{9752cfec-1fd4-11e4-929b-001fe19a8ede} \Device\HarddiskVolume2\Users\Danielle\AppData\Local\Microsoft\Windows\UsrClass.dat{9752cfea-1fd4-11e4-929b-001fe19a8ede}.TM
 
What I was hoping to see here, didn't appear unfortunately.

One thing to try is run the above commands inside the Recovery Environment:
How to use the Windows 7 System Recovery Environment Command Prompt

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's as
attrib -r -s -h C:\Windows\System32\Config\TxR\*
del C:\Windows\System32\Config\TxR\*

attrib -r -s -h C:\Windows\System32\SMI\Store\Machine\*
del C:\Windows\System32\SMI\Store\Machine\*.tm*
del C:\Windows\System32\SMI\Store\Machine\*.blf
del C:\Windows\System32\SMI\Store\Machine\*.regtrans-ms

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\SMI\Store\Machine\*.tm* 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 and running the below commands with the correct drive letter.

attrib -r -s -h C:\Windows\System32\Config\TxR\*
del C:\Windows\System32\Config\TxR\*

attrib -r -s -h C:\Windows\System32\SMI\Store\Machine\*
del C:\Windows\System32\SMI\Store\Machine\*.tm*
del C:\Windows\System32\SMI\Store\Machine\*.blf
del C:\Windows\System32\SMI\Store\Machine\*.regtrans-ms
 
I booted in the RE and found the Windows dir in the D:
All the commands executed successfully except these:

del C:\Windows\System32\SMI\Store\Machine\*.tm*
del C:\Windows\System32\SMI\Store\Machine\*.blf
del C:\Windows\System32\SMI\Store\Machine\*.regtrans-ms

After each of these commands it said it could not find the file.

I went ahead and rebooted in normal Windows mode and tried to install the updates. No luck.
 
Sure. I ran SFC again and it should have uploaded the CBS log, but I don't see it here yet. Here's SFCFix.txt:

Code:
SFCFix version 2.4.1.0 by niemiro.
Start time: 2014-09-26 22:43:53.985
Using .txt script file at C:\Users\Danielle\Desktop\SFCFixScript.txt [0]




Collect:: directive completed successfully.




Successfully processed all directives.
SFCFix version 2.4.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-09-26 22:45:25.177
Script hash: zyFfBWbS3fxgTqdEHaWo9HHm8G4WJRx4eoZYPA0zvak=
----------------------EOF-----------------------
 
Not sure what's going on -- I followed these directions exactly (3 times, actually) but I'm not seeing any logs uploaded.

SFCFix Collect CBS

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download SFCFix.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. On your Desktop, you should now see two files: SFCFix.exe and SFCFixScript.txt.
  4. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  5. SFCFix will now begin to upload your CBS logfiles to our server.
  6. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  7. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put
    Code:
    tags around the log to break up the text.


If all goes well, you should see that your logfiles have now been added to your thread.
 

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

Back
Top