Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot Complete Installing Updates, or Check for New Updates

16 Nov 2012   #31
QuagsireQing

Windows 7 Home Premium 32bit
 
 

Same result in the recovery environment after chkdsk. I'd venture a guess that C:\Windows\winsxs\pending.xml is what's blocking it.


My System SpecsSystem Spec
.

17 Nov 2012   #32
tom982

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro x64
 
 

Hmm, let's try a broader approach then. Try all of the steps on this article apart from #8 and #10

http://support.microsoft.com/kb/2509997

Tom
My System SpecsSystem Spec
17 Nov 2012   #33
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

[Thanks, Tom - I was looking for that one for another thread!]
My System SpecsSystem Spec
.


17 Nov 2012   #34
tom982

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by NoelDP View Post
[Thanks, Tom - I was looking for that one for another thread!]
No worries, I've only just found it and it looks pretty good.
My System SpecsSystem Spec
17 Nov 2012   #35
QuagsireQing

Windows 7 Home Premium 32bit
 
 

I still cannot check for updates, but here are some interesting tidbits:

  • In method 11 on that support page, I successfully took ownership of pending.xml, but access was denied to rename it.
  • Even though the last successful check for updates was September 11, 2012, my update history shows 18 successfully installed updates (17 important and 1 recommended) since that date (and one failed update).
  • Today, for the first time, after implementing method 8 (exclude Software Distribution folder from antivirus), my Shut Down button bore the "install updates" icon, and the welcome screen said "Installing update 1 of 3..." This is the first evidence I've had of any updates in over two months.
That said, I still cannot check for updates. The "Restart your computer to install important updates" message, as well as the cycle of "Preparing Updates" -> Restart -> "Preparing Updates" -> Restart -> "Failed to Configure Updates" -> Welcome continue to present themselves.
My System SpecsSystem Spec
17 Nov 2012   #36
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

After taking ownership, you have to adjust permissions - Admins by default only have read/execute permissions there, and cannot do anything else.
My System SpecsSystem Spec
17 Nov 2012   #37
QuagsireQing

Windows 7 Home Premium 32bit
 
 

Rename access is still denied via the command prompt, even with full control.
My System SpecsSystem Spec
17 Nov 2012   #38
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

Open an Elevated Command prompt and try - also...
run the following commands and post the results...

ICACLS C:\Windows\winsxs\pending.xml
ATTRIB C:\Windows\winsxs\pending.xml
DIR C:\Windows\winsxs\pending*.*


Here are some instructions to make life easier
1) To open an Elevated Command Prompt Window (the ECP window), click on Start, All Programs, Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.
2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.
3) To copy the results... click on the Black/White icon in the top left, and select Edit... 'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.
My System SpecsSystem Spec
17 Nov 2012   #39
QuagsireQing

Windows 7 Home Premium 32bit
 
 

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

C:\Windows\system32>ICACLS C:\Windows\winsxs\pending.xml
C:\Windows\winsxs\pending.xml NT AUTHORITY\SYSTEM:(F)
                              BUILTIN\Administrators:(F)
                              BUILTIN\Users:(F)
                              NT SERVICE\TrustedInstaller:(I)(F)
                              BUILTIN\Administrators:(I)(RX)
                              NT AUTHORITY\SYSTEM:(I)(RX)
                              BUILTIN\Users:(I)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ATTRIB C:\Windows\winsxs\pending.xml
A            C:\Windows\winsxs\pending.xml

C:\Windows\system32>DIR C:\Windows\winsxs\pending*.*
 Volume in drive C has no label.
 Volume Serial Number is 4874-1525

 Directory of C:\Windows\winsxs

11/09/2012  10:28 PM           110,816 pending.xml
               1 File(s)        110,816 bytes
               0 Dir(s)  22,372,339,712 bytes free
My System SpecsSystem Spec
18 Nov 2012   #40
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

The following command should work, run from an Elevated Command Prompt IN SAFE MODE...

REN C:\Windows\winsxs\pending.xml pending.old1
Please attach the renamed file to your reply
My System SpecsSystem Spec
Reply

 Cannot Complete Installing Updates, or Check for New Updates




Thread Tools





Similar help and support threads
Thread Forum
Windows Check for updates keeps running-all installation/updates fail
I have never posted on a forum before so apologies if I am doing this wrong. The problem started when I tried to plug in my (new) iphone to my Dell pc. The device was not detected so I tried to update my itunes software - update failed and I received a Windows 7 error. After searching through...
Windows Updates & Activation
BSOD after installing NVidia updates and other driver updates
Hello, I am hoping someone can provide some assistance in getting rid of this BSOD problem. Here is what happened. I was using two driver update programs: One called Driver Booster 2 by Iobit and the other called Slimdrivers. I updated various drivers including Nvidia which I had...
BSOD Help and Support
windows update installing 157 updates 0kb of 0% complete
hey guys, im trying to update my computer with updates but it is refusing to move, i left it alone for an hour and refuses to move, i ran a sfc/scannow and it said it found some files but was unable to fix all of them im downloading and installing that feb 2013 thing now, but does anyone have a...
Windows Updates & Activation
Windows wont complete updates, Security Updates KB2604121
Its been doing most of these updates forever, when I go to shut it down it updates but when I wake up in the morning these updates are still not done... It's like they never finish. This happens every night for the past 6 months or so i'm getting tired of it now so i need some help. I've tried...
Windows Updates & Activation
Cannot Complete Installing Updates, or Check for New Updates HELP
I seen that someone else had this same problem in here so I copied and pasted this problem here in my own Thread cause I'm having the same problem, but seems that I couldn't use the help that was giving to that user cause it was for that user only. Windows Update now says, "Restart your...
Windows Updates & Activation
Win7 Updates changes settings to Never Check for Updates
Hi, For a while now I have been experiencing a strange problem. My laptop keeps changing the Windows Updates without my consent. I know this has been raised in the past but my problem is slightly different. I prefer to choose "Check for updates but let me choose whether to download or...
Windows Updates & Activation

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App