Vista: Windows Update Error 80070011 Semi-Automated Fix

Moblog


Trackbacks

No Trackbacks

Comments
Display comments as (Linear | Threaded)

*I found your fix to work well with some and mot so well with others. I think i may have found the problem, and this may help with SP1 as well. Some updates delete a file and install a new one so after i am done with the wufix, replace the following line
DeleteFile path="\??\C:\Program Files
with this
DeleteFile path="\??\D:\Program Files
It worked on some of the updates, I will see if it works on all, I am not too familiar with PowerShell or I would write it into the script.
#1 T on 2008-05-16 04:09 (Reply)
*Thanks for your input. DeleteFile should work with junctions though?
The problem with SP1 is that it doesn't create a pending.xml at all, it just fails to install. I haven't found the time to dig deeper yet, but a possible way might be to temporarily set up a basic program folder on C again (without actually moving all content), install SP1 and then redirect the program folder again.

I don't want to mess around with this on my live system, but SP1 doesn't install at all in a virtual machine...
#1.1 Moritz (Homepage) on 2008-05-16 04:17 (Reply)
*I followed some detailed instructions to replace c:\windows\winsxs with a link to a folder on my e: drive so that I could free up some space on my SSD 60 GB C: drive. Since then updates are failing. I'm wondering if updates have a problem copying themselves to of finding what is in the destination of that link. Is there a registry setting somewhere that needs to be updated to take care of this? I'm getting error 80070011 for any update that I try to install.
#1.2 Ullrich Fischer on 2010-02-17 20:28 (Reply)
*I cannot recommend to move winsxs and have no solution, sorry. After too much trouble I only move the profile data directory (explained here) and leave the rest alone.

It doesn't help to move winsxs, because all updates replace files on the system partition anyway. Files are NOT COPIED to their destination, but hardlinked, so keeping the winsxs directory on C won't take more space! I'm not sure what happens if a later update changes the same files, I guess the previous update will stay, but maybe one could find a way to cleanup the directory, which is still better than move it completely.
So, a solution might be to scan for files inside winsxs that are linked only once, which means they are not in use by the system, and move/delete those files?
#1.2.1 Moritz (Homepage) on 2010-02-17 20:56 (Reply)
*Ok, so to install SP1 what I did was delete the links. after sp1 installed (sucessfully) I took ownership of Program Files on the destination drive and merged the two. then i wnet through the process of moving it on the C drive to the (OLD) file and remade the links. Everything seems to be working so far.
#2 T on 2008-05-17 00:45 (Reply)
*Oh and I forgot, for some reason I had to do updates like 2-3 at a time or they would all fail
#3 T on 2008-05-17 00:46 (Reply)
*So far, I've found changing the ProgramFilesDir (and CommonFilesDir?)values in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion has fixed the failing updates.

Doing this also created a hidden PendingFiles folder and my updates are going in here before being hardlinked by the updater during a reboot.

(Vista Ultimate 64bit SP1)
#4 Jiminaus on 2008-06-13 00:53 (Reply)
*Thanks for this page, but unfortunately I'm having a few problems.

---------

Step 4 is a little vague for someone who only just found out about Powershell.

"4. Enter the full path to the script and run it."

Should the script have a particular extension, i.e. ".bat", ".com", ".cmd", etc??

Do I just type in the name of the script to run it? Or is there a "run" command of some kind, such as "exec ./file.bat" or "source joe.sh"?

-------

I'm getting the same 80070011 error, but it's for KB950759 (Cumulative Security Update for IE7 in Vista) and KB905866 (Update for Windows Mail Junk Email Filter June08).

When applying some recent updates, I rebooted as usual, not expecting any problems.

On rebooting it told me the two items above failed, and gave me the opportunity to fix the failed items by trying again. However, there is no "pending.xml" file.

I've cancelled and retried a few times, but I can't find any file called "pending.xml" in the C:\Windows\WinSxS folder.

Any ideas? Thanks in advance!

Cheers,

Spike.
#5 Spike on 2008-06-16 20:14 (Reply)
*Just type the name of the file inside PowerShell to run the script. It will only work if there's a pending.xml inside the WinSxS directory (which might both be hidden).
Maybe it helps to set the actual program folder 'link' to the new drive as Jiminaus suggested (Reply #4).

Good luck! Please tell us as soon as you've found a solution.
#5.1 Moritz (Homepage) on 2008-06-16 21:40 (Reply)
*Thanks for the info. Just wanted to let you know this post is broken in IE7 on Vista32 sp1. Thanks for the heads-up about Scroogle.com!
#6 happyguy (Homepage) on 2008-12-23 03:34 (Reply)
*Whoa, it looks like PowerShell is a rather confusing, ugly mix of [BA]SH and DOS batch scripts... Was there any need for them at all to stick with the nasty -eq/-lt/-gt comparison operators, for instance, when you can manipulate .NET objects in a curly bracket C style mixed with Java-like object.method() syntax? Not to mention the whole new get-content $file stuff, which admittedly looks rather concise, until you see the awkwardly verbose "$destination =new-item -ItemType file -force $destination" statement...

Anyway, enough about PowerShell! I should learn it at some point though. It's a bit annoying that even in 2009 with Vista SP1 you still can't easily move system folders to another partition -- I wonder if it's true that Win7 will start using the Unix-like ~/ shorthand for the user's home directory, along with a / based tree... Seems unlikely though, a bit of a joke?
#7 Marc Kirkwood on 2009-06-21 05:50 (Reply)
*I changed the program files location in Win7 by using symbolic links.

However, now the SP1 won't install, and there's no way to do it manually since the pending.xml file is huge. Any ideas?
#8 Viperus on 2011-02-23 14:43 (Reply)

Choose Language

Twitter

Quicksearch

 

Creative Commons License - Some Rights Reserved

Open Data Network

re:publica 2011 Berlin

Attac

Nachdenkseiten

Tor Exit Node Hosting

datalove Logo