Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Resolving Windows Update error 0x80070011 when ProfileLocation mov

Reply
Thread Tools Display Modes

Resolving Windows Update error 0x80070011 when ProfileLocation mov

 
 
Leon Breedt
Guest
Posts: n/a

 
      09-28-2007
Hi,

I recently reinstalled Vista Ultimate using unattended install to move the
Users and ProgramData directories to a seperate drive. (Program Files I don't
move, since I typically reinstall all my apps on a reinstall as well).

Note, if you get this same error code, have a look at the following registry
key to see if you have your ProgramData moved as well:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

For the most part, everything works. But Windows update kept failing to
install all of the available updates, because of the transactional nature of
automatic update installation. So one or two updates would fail, rolling back
everything else as well (and giving them spurious 0x80070011 error codes).

Through a process of elimination, I determined that the problematic updates
are:

KB931099
KB931573

Looking at C:\Windows\WindowsUpdate.log, I notice the following error
messages for these two updates:

2007-09-28 19:59:54:366 1044 4b8 Handler Post-reboot status for package
Package_1_for_KB931573~31bf3856ad364e35~x86~~6.0.1 .0: 0x80070011.
2007-09-28 19:59:54:366 1044 4b8 Handler WARNING: Got extended error:
"POQ Operation HardLinkFile OperationData \SystemRoot\WinSxS\x86_microsoft-windows-crypt32-dll_31bf3856ad364e35_6.0.6000.16425_none_5978e103e 0b8f230\capilock.dat, \??\C:\ProgramData\Microsoft\Crypto\RSA\MachineKey s\capilock.dat"

2007-09-28 19:55:49:167 1020 4b0 Handler Post-reboot status for package
Package_1_for_KB931099~31bf3856ad364e35~x86~~6.0.1 .0: 0x80070011.
2007-09-28 19:55:49:167 1020 4b0 Handler WARNING: Got extended error:
"POQ Operation HardLinkFile OperationData \SystemRoot\WinSxS\x86_security-malware-windows-defender_31bf3856ad364e35_6.0.6000.16420_none_55c0 ce805b18c568\MpAsDlta.vdm,
\??\C:\ProgramData\Microsoft\Windows Defender\Definition
Updates\Default\MpAsDlta.vdm"


So, whats happening here, is that HardLinkFile is failing because D: is a
different volume (at least, that's my understanding).

If you want to fix this, you can do the following (only recommended if
you're pretty comfortable editing XML files, modifying security permissions,
etc).

1. Install each of the updates on its own.
2. After installing it, do NOT reboot yet.
3. Edit C:\Windows\winsxs\pending.xml
4. Look for <HardLinkFile> lines...any lines that have a destination=
attribute of C:\ProgramData (or C:\Program Files, if you moved it as well),
will fail, even if you have a C:\ProgramData junction pointing to
D:\ProgramData, since a junction is simply a redirection, you still cannot
hardlink, its still a different volume.
5. Replace the source= attribute with something like:

<HardlinkFile
source="\??D:\WUTemp\x86_microsoft-windows-crypt32-dll_31bf3856ad364e35_6.0.6000.16425_none_5978e103e 0b8f230\capilock.dat"
destination="\??\C:\ProgramData\Microsoft\Crypto\R SA\MachineKeys\capilock.dat"/>

6. Make sure the full path you specified with source= exists, and is on the
same volume as the destination. (The above works because my C:\ProgramData is
a junction pointing to D:\ProgramData).

7. Reboot.

8. Check C:\Windows\winsxs\poqexec.log. It should be empty, or at least,
have no new entries since before you did this.

9. Start Windows Update, "Check for updates".

10. Bask in the green glow of no available updates

Hope this helps someone else.

Microsoft, please change HardLinkFile to something a bit more forgiving in
this particular instance!
 
Reply With Quote
 
 
 
 
Or Tsemah
Guest
Posts: n/a

 
      11-27-2007
How can you make a permanent change of it for future Updates ?

"Leon Breedt" wrote:

> Hi,
>
> I recently reinstalled Vista Ultimate using unattended install to move the
> Users and ProgramData directories to a seperate drive. (Program Files I don't
> move, since I typically reinstall all my apps on a reinstall as well).
>
> Note, if you get this same error code, have a look at the following registry
> key to see if you have your ProgramData moved as well:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
>
> For the most part, everything works. But Windows update kept failing to
> install all of the available updates, because of the transactional nature of
> automatic update installation. So one or two updates would fail, rolling back
> everything else as well (and giving them spurious 0x80070011 error codes).
>
> Through a process of elimination, I determined that the problematic updates
> are:
>
> KB931099
> KB931573
>
> Looking at C:\Windows\WindowsUpdate.log, I notice the following error
> messages for these two updates:
>
> 2007-09-28 19:59:54:366 1044 4b8 Handler Post-reboot status for package
> Package_1_for_KB931573~31bf3856ad364e35~x86~~6.0.1 .0: 0x80070011.
> 2007-09-28 19:59:54:366 1044 4b8 Handler WARNING: Got extended error:
> "POQ Operation HardLinkFile OperationData \SystemRoot\WinSxS\x86_microsoft-windows-crypt32-dll_31bf3856ad364e35_6.0.6000.16425_none_5978e103e 0b8f230\capilock.dat, \??\C:\ProgramData\Microsoft\Crypto\RSA\MachineKey s\capilock.dat"
>
> 2007-09-28 19:55:49:167 1020 4b0 Handler Post-reboot status for package
> Package_1_for_KB931099~31bf3856ad364e35~x86~~6.0.1 .0: 0x80070011.
> 2007-09-28 19:55:49:167 1020 4b0 Handler WARNING: Got extended error:
> "POQ Operation HardLinkFile OperationData \SystemRoot\WinSxS\x86_security-malware-windows-defender_31bf3856ad364e35_6.0.6000.16420_none_55c0 ce805b18c568\MpAsDlta.vdm,
> \??\C:\ProgramData\Microsoft\Windows Defender\Definition
> Updates\Default\MpAsDlta.vdm"
>
>
> So, whats happening here, is that HardLinkFile is failing because D: is a
> different volume (at least, that's my understanding).
>
> If you want to fix this, you can do the following (only recommended if
> you're pretty comfortable editing XML files, modifying security permissions,
> etc).
>
> 1. Install each of the updates on its own.
> 2. After installing it, do NOT reboot yet.
> 3. Edit C:\Windows\winsxs\pending.xml
> 4. Look for <HardLinkFile> lines...any lines that have a destination=
> attribute of C:\ProgramData (or C:\Program Files, if you moved it as well),
> will fail, even if you have a C:\ProgramData junction pointing to
> D:\ProgramData, since a junction is simply a redirection, you still cannot
> hardlink, its still a different volume.
> 5. Replace the source= attribute with something like:
>
> <HardlinkFile
> source="\??D:\WUTemp\x86_microsoft-windows-crypt32-dll_31bf3856ad364e35_6.0.6000.16425_none_5978e103e 0b8f230\capilock.dat"
> destination="\??\C:\ProgramData\Microsoft\Crypto\R SA\MachineKeys\capilock.dat"/>
>
> 6. Make sure the full path you specified with source= exists, and is on the
> same volume as the destination. (The above works because my C:\ProgramData is
> a junction pointing to D:\ProgramData).
>
> 7. Reboot.
>
> 8. Check C:\Windows\winsxs\poqexec.log. It should be empty, or at least,
> have no new entries since before you did this.
>
> 9. Start Windows Update, "Check for updates".
>
> 10. Bask in the green glow of no available updates
>
> Hope this helps someone else.
>
> Microsoft, please change HardLinkFile to something a bit more forgiving in
> this particular instance!

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Windows Update: Is there a fix for 0x80070011 yet? Robert M. Windows Update 1 05-10-2007 01:38 PM
SP2 Resolving Angel Windows Update 1 08-25-2004 04:39 AM
Resolving PNP_DETECTED_FATAL_ERROR (ca) michelle Windows Vista Drivers 0 08-12-2004 11:19 AM
Resolving Error 0x800C0008 howleinthenight Windows Update 1 10-08-2003 06:23 PM
Resolving the Administrator Only and Activex error on Windows XP the geek Windows Update 3 08-11-2003 07:20 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59