This one was apparently fixed by Microsoft a while ago but in case you run into something similar it’s helpful. It will work on any problem where an update has hijacked the screen with an “Update in progress” type of message and won’t let you finish booting windows. This fix will clear that bad update.
Problem: You run Windows Update and select your updates. Once they download everything they prompt you to restart your system. You do so, the computer turns off then on again and windows starts to boot until you see a screen saying: “Configuring updates 3 of 3. 0% complete.” No matter how long you wait and no matter how many times you restart the screen does not go away.
Fix: You need to delete the “pending.xml” file. The file has a list of updates and forces windows to install those updates at startup. By deleting the file you delete the list so Windows ignores the updates.
THE FIRST METHOD:
Microsoft has a fix for this problem up on their website (here) and we’ll take a look at that method first.
The Microsoft “fix” basically tells you to use restore points to send your computer back in time. How far back? Well just far enough so that your computer is in a state before the broken updates were downloaded. The closer this date is to the present the better. If you restore too far back you end up with programs that don’t work and have a confused computer.
So how do you restore without being able to boot into windows? Again, there are two methods:
- Take your Vista disc and insert it into the computer. Ensure that your booting with the CD and when the disc loads press “R” as soon as you see the option. Invoking this command will launch the repair section of the Windows CD which contains a System Restore program. Just select the closest time to the present and restore to that.
- Boot into safe mode.
- Click Start, a menu will pop up.
- Click Run from the menu. A window will pop up.
- Type in: “rstrui.exe” This will launch the system restore utility.
- Select the closest restore point to the present.
After the restore is done you will find that you can boot into windows once again! There is one more step that you need to do. Microsoft recommends installing an update to windows update, crazy eh? You can find that update here make sure that you download and install this right away.
THE SECOND METHOD:
Now in case for some reason the restore point solution doesn’t work for you there is a second method. I got this fix from a fellow tech and unlike the recovery points method this one just modifies the “pending.xml” file. What you basically need to do is delete “pending.xml”. It is not a file that can be deleted easily when you don’t have access to Windows. But of course our favorite tool comes in handy again-
Download and install a copy of The Ultimate Boot Disc for Windows it’s a useful tool to have for these and other kinds of windows problems. Boot from the disc and in the menu that pops up choose Ultimate Boot Disc for Windows (or something of the like.) The next step will take a few moments so get some coffee, or alcohol depending on your mood. There! You will see that we have loaded a modified version of Windows! One filled to the brim with cool tech tools!
Select the “Computer” or “My Computer” icon. This will launch a folder with a list of all of your drives. Select the drive that contains your windows installation.
- Click on the Windows folder.
- Click on the Winsxs folder.
- Find the file pending.xml.
- Right click>Properties.
- Go to the Permissions tab and give yourself full control over the file.
- Click Apply.
- Delete pending.xml.
Once we delete the “pending.xml” file windows no longer looks to it for instructions to install updates and we are free to boot into windows normally.
The next time you download updates that need to be installed Windows will recreate the pending.xml file with new correct updates and you’ll be good to go. Once you get into Windows don’t forget to download and install the windows update fix, it can be found here.
How to explain this problem to the client:This is caused by a bad update Mr. Customer, you know how Microsoft is (insert bonding laugh here.) I’ve usually seen it affect HP/Compaq AMD based unit mostly and you will now be safe from this error in the future. Hooray!
Good luck and tell me how it goes on the forums.

Posted in
April 1st, 2009 at 8:55 am
[...] Credit for the fix: HERE [...]
June 7th, 2009 at 2:16 pm
Thanks for the post. I booted from the Vista media disc and did repair. Then I used the command prompt to delete the “Pending.xml” file. However when I restarted it still did this..
June 7th, 2009 at 2:17 pm
Wait! It just said welcome!!! Instead of Shutting Down! Thank you for all the help, Mr. Customer! :)
June 7th, 2009 at 5:25 pm
Whose Mr. Customer? :)
Glad I could help.
July 15th, 2009 at 5:09 pm
Cannot gain permission to erase file. Will not give me access to check full control. Any ideas?
July 16th, 2009 at 11:59 am
You’ll have to change the permissions of the file by right clicking on the folder that the file is contained in a giving yourself full control.
If you don’t want to mess with permission you can always try a Knoppix boot disc that gives you full control right off the bat.
July 30th, 2009 at 4:27 pm
@ keith
after using the command line and running into your problem, i disabled automatic restart on system failure and things worked again.
August 3rd, 2009 at 3:46 pm
Thanks for sharing your fix! It’ll help a lot of people!
September 10th, 2009 at 9:10 am
THANKS MAN, you saving my life!
From Brazil!
Obrigado!!!
October 7th, 2009 at 10:43 am
Hello,
When I try to use the first method it says that no system restore points exist. What are my options other than downloading the disk?
October 7th, 2009 at 11:35 am
@Adam:
The only other option you have that I know of is listed in Method Two above. If I had another option I would write it in the post. ;)
If you stumble across another fix please report back so that I can add it to the post. Thanks!
October 30th, 2009 at 6:21 am
There are many types of pending.xml files
Should I delete all of them of just a certain file???
PLEASE HELP!!!
October 30th, 2009 at 9:12 am
There should only be one pending.xml in the Winsxs folder. Make sure you are limited your search to only that folder and are not searching the entire computer.
January 2nd, 2010 at 3:07 am
help i lost my vista cd what do i do?
January 3rd, 2010 at 2:28 pm
You can always contact your local computer technician and have them burn you a copy (this will most likely cost you a fee).
You can also contact Microsoft and order a disc from them.
January 4th, 2010 at 4:57 am
thanx…… but cant i just buy another cd or is there a diffrents?
January 4th, 2010 at 12:05 pm
You could buy another CD off the shelf but then you’re looking at over a hundred bucks if not more.
January 22nd, 2010 at 8:03 am
You can create a batch file to make this easier:
@echo off
cd “C:\Windows\WinSxS”
echo Taking ownership of pending.xml
takeown /f C:\Windows\WinSxS\pending.xml
echo;
echo;
echo Granting you permissions on pending.xml
cacls C:\Windows\WinSxS\pending.xml /G %Username%:F
echo;
echo;
echo Attempting to copy pending.xml as pendingbackup.xml
copy “C:\Windows\WinSxS\pending.xml” “C:\Windows\WinSxS\pendingbackup.xml”
echo;
echo;
echo Deleting pending.xml
del “C:\Windows\WinSxS\pending.xml”
———————-
This will delete pending.xml if it cannot copy it. I have never been able to copy it, most likely because I haven’t rebooted the server after taking ownership/granting permissions. I have however never suffered because of this. As the author of this article notes, it is recreated when updates are redownloaded.
I have a more complete version with a few other tweaks here: http://theboywonder.co.uk/2010/01/22/windows-update-multiple-fix-script/