Fix: Infinite “Configuring Updates 3 of 3. 0% complete.”

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:

  1. 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.
  2. Boot into safe mode.
  3. Click Start, a menu will pop up.
  4. Click Run from the menu. A window will pop up.
  5. Type in: “rstrui.exe” This will launch the system restore utility.
  6. 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.

  1. Click on the Windows folder.
  2. Click on the Winsxs folder.
  3. Find the file pending.xml.
  4. Right click>Properties.
  5. Go to the Permissions tab and give yourself full control over the file.
  6. Click Apply.
  7. 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.

21 thoughts on “Fix: Infinite “Configuring Updates 3 of 3. 0% complete.”

  1. 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..

  2. Wait! It just said welcome!!! Instead of Shutting Down! Thank you for all the help, Mr. Customer! :)

  3. 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.

  4. @ keith

    after using the command line and running into your problem, i disabled automatic restart on system failure and things worked again.

  5. 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?

  6. @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!

  7. 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.

  8. 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.

  9. 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/

  10. ..so if u don’t have the Windows CD, and/or Safe Mode doesn’t work either, and/or you don’t have the Administrator password, just use a Linux boot CD (fakegeek mentions a Knoppix CD, I did it with a PING CD, whatever). Boot from the CD, get a shell, then do something like this:

    mkdir /mnt/stu
    mount -t ntfs-3g /dev/sda1 /mnt/stu
    mv /mnt/stu/Windows/winsxs/pending.xml /mnt/stu/Windows/winsxs/pending.stu

    Then reboot (and eject boot CD). pending.xml is backed up in pending.stu (can be deleted if everything goes well). Problem should be fixed.

    Note, my customer tried to use the “Repair Computer” option from a Vista SP1 CD, it said “this repair tool is not compatible with your computer” cos he did not have SP1. So grabbing a copy of the disc won’t work unless it’s the original Vista “SP0” CD. Better option is the Linux boot CD, free and u can download, also supports USB, FTP, NTS etc etc … ;)

  11. Thanks for this comments – I have tried for almost one year to get rid of pending.xlm and I could not do it. The batch file worked perfectly. Thanks a lot.

  12. If you have a laptop or different computer you can take the hard drive that is having the issue out and plug in to a EXT. USB bay and plug into your other comptuer to access the file and delete :)
    Or you can slave the issue hard drive on a different PC and acccess that way!

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.