Windows 7 updates are failing to install

Thank you, this does sound like some pending transactions are 'stuck'

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 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.
 
Thank you, this does sound like some pending transactions are 'stuck'

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.

Updates are still failing


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.


https://www.dropbox.com/s/eymjh20z5dcnwv0/Pending.zip?dl=0
 
Did all the commands say successfull? Or did some say that the son and can not be ran at this time?

On del %SystemRoot%\System32\Config\TxR\* I was getting an error that some files were used in another process.
I restarted my computer and successfully deleted them

Just to make sure I ran these commands again

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\{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>attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*

C:\Windows\system32>del %SystemRoot%\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\*.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>
 
As the files are in use please boot back into the recovery environment and run the following command:
del C:\Windows\System32\Config\TxR\*

This should hopefully clear these transactions.
 
Volume in drive C is OS
Volume Serial Number is C43F-51D2

Directory of C:\Windows\System32\Config\TxR

11/30/14 01:57 AM <DIR> .
11/30/14 01:57 AM <DIR> ..
11/30/14 06:50 AM 5,242,880 {016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.0.regtrans-ms
11/30/14 03:27 AM 5,242,880 {016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.1.regtrans-ms
11/30/14 03:27 AM 5,242,880 {016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.2.regtrans-ms
11/30/14 06:50 AM 65,536 {016888cc-6c6f-11de-8d1d-001e0bcde3ec}.TxR.blf
11/30/14 06:50 AM 65,536 {016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
11/30/14 06:50 AM 524,288 {016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001.regtrans-ms
11/18/14 10:56 PM 524,288 {016888cd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002.regtrans-ms
7 File(s) 16,908,288 bytes

Total Files Listed:
7 File(s) 16,908,288 bytes
2 Dir(s) 593,871,966,208 bytes free


When I run "del C:\Windows\System32\Config\TxR\*"

I get no errors yet these files remain.

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

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

C:\Windows\system32>dir C:\Windows\System32\Config\TxR\*.* /a /s >1&&notepad 1

C:\Windows\system32>

Should I delete them?
 

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

Back
Top