Windows Update fails (KB2705219, KB2786400, KB2773072)

Let's see.

I printed your instructions & followed them. Found the hstaa folder at D drive and performed the XCOPY without errors (4 files copied)

After reboot I did a SFC /SCANNOW > Log attached (CBS.zip)

Then the interesting bit. Windows updates. Checking for updates shows the KB2705219 available. Trying to install it fails with the usual error. Running the MSU gives the same result.

I saw the CBS.log got a lot larger after running Windows Update (30MB instead of 600kB), so I zipped that and attached again (CBS2.zip)

I hope these logs tell you something cause they're abracadabra to me :shock:
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
The CBS log post-fix is clean :)
The one after Windows Update shows the following error....
Code:
 Line 3848: 2013-02-11 20:59:42, Error                 CBS    Failed to resolve package 'Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1' [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
 Line 3855: 2013-02-11 20:59:42, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]

- again/still!

I wonder if perhaps the problem is that the control files are present, but the 'working files' are not?

Please open an Elevated Command Prompt, and run the following commands...

Code:
TAKEOWN C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum
ICACLS C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum /grant Administrators:(F)
REN C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum.old
TAKEOWN C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.cat
ICACLS C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.cat /grant Administrators:(F)
REN C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.cat.old

Then reboot and attempt installation using the msu file.
 

My Computer My Computer

At a glance

Win 7 x64 Home Premium (and x86 VirtualBox VM...i3 370M/i7 6500U8GB - finally :)/8GBit's an i3, dude!/dual Intel&nVidia
Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Hi Noel,

When I try to execute the first command I get

C:\Windows\system32>TAKEOWN C:\Windows\Servicing\Packages\Package_2_for_KB270521
9~31bf3856ad364e35~amd64~~6.1.1.1.mum
ERROR: Invalid argument/option - 'C:\Windows\Servicing\Packages\Package_2_for_KB
2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum'.
Type "TAKEOWN /?" for usage.

Maybe you missed the /F before the filename?
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
Well spotted! It's a common mistake of mine :(

Code:
TAKEOWN /f C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum /A
ICACLS C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum /grant Administrators:(F)
REN C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum.old
TAKEOWN /f C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.cat /A
ICACLS C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.cat /grant Administrators:(F)
REN C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.mum Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.1.1.cat.old
 

My Computer My Computer

At a glance

Win 7 x64 Home Premium (and x86 VirtualBox VM...i3 370M/i7 6500U8GB - finally :)/8GBit's an i3, dude!/dual Intel&nVidia
Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Hehe don't think I spotted it before running the command :D I only know cause I ran takeown /? after the error :p

I did first two commands, but when I do the rename I get Access is denied.

I think I understand what you are trying to do and the first two passed without error message. See below the
Code:
C:\Windows\system32>TAKEOWN /f C:\Windows\Servicing\Packages\Package_2_for_KB270
5219~31bf3856ad364e35~amd64~~6.1.1.1.mum /A

SUCCESS: The file (or folder): "C:\Windows\Servicing\Packages\Package_2_for_KB27
05219~31bf3856ad364e35~amd64~~6.1.1.1.mum" now owned by the administrators group
.

C:\Windows\system32>ICACLS C:\Windows\Servicing\Packages\Package_2_for_KB2705219
~31bf3856ad364e35~amd64~~6.1.1.1.mum /grant Administrators:(F)
processed file: C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31bf3856ad
364e35~amd64~~6.1.1.1.mum
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>REN C:\Windows\Servicing\Packages\Package_2_for_KB2705219~31
bf3856ad364e35~amd64~~6.1.1.1.mum Package_2_for_KB2705219~31bf3856ad364e35~amd64
~~6.1.1.1.mum.old
Access is denied.

C:\Windows\system32>

Btw I think you made a mistake in the 2nd rename, as you are first taking ownership of the CAT file, and then renaming the MUM file to .cat.old. I Did not run lines 4-6 yet.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
I thought I'd changed the extension! - oh well :)

I think the problem is that we don't have ownership of the Winsxs folder, and don't have permissions to add files to it (which is what we effectively are doing with the rename command) -

It doesn't actually matter - I've been doing some research on the error, and the conventional cure is a repair install (!) because the problem lies in the registry.

If you're willing (and have backups, in case things go wrong) then we can try and repair the registry.

If so, please run the following command, and compress and upload the resulting file.

Code:
REG EXPORT "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" %userprofile%\desktop\regnp.log
 

My Computer My Computer

At a glance

Win 7 x64 Home Premium (and x86 VirtualBox VM...i3 370M/i7 6500U8GB - finally :)/8GBit's an i3, dude!/dual Intel&nVidia
Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Sure. I run daily backups to my NAS, fully automatic, and I know from experience that these cover everything (because I needed them when my HD died in the computer before this one).

See attached logfile
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
The problem Key is (I think)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.2.0

However, because of the way installs work, we have to at least delete all the related subkeys in the registry

That means that we need to delete the following keys....

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_2_for_KB2705219~31bf3856ad364e35~amd64~~6.1.2.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_3_for_KB2705219~31bf3856ad364e35~amd64~~6.1.2.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2705219_SP1~31bf3856ad364e35~amd64~~6.1.2.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2705219~31bf3856ad364e35~amd64~~6.1.2.0

The problem is getting permissions on the keys to allow deletions.
I was hoping to use Subinacl - but it doesn't work in x64 systems :(

Unless you have a better option, then that means that we're reduced to manually editing the registry (which I always try to avoid!)

You'll need to find each of those subkeys, and then take ownership (right-click on the entry and select Permissions, then Owner) and then allow Full permissions to the Administrators group.
You can then delete the subkey itself.

Once done, reboot, and try using the msu to install the update.
 

My Computer My Computer

At a glance

Win 7 x64 Home Premium (and x86 VirtualBox VM...i3 370M/i7 6500U8GB - finally :)/8GBit's an i3, dude!/dual Intel&nVidia
Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Hi Noel,

Sorry for being silent so long. I was away from home for a few days on a business trip. Now back home so I'll try your instructions now. Manually editing registry files. Nice, back to my childhood :D
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
Well I tried to follow your instructions but either I do something wrong or ...

I looked up the first key you listed. Check
I made a backup of the key to delete by Exporting it.
I went to Permissions... > Advanced > Ownership and set the Administrators as owner.
Next I went to Permissions ... and checked the "Full control"checkbox for Administrators
Next I go to delete, but then I get an error message. See screenshot attached.

:huh:

I hope this helps you spot what I did wrong.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
Please confirm that the keys has the proper ownership and permissions - it may be necessary to reboot to Safe Mode and try again.
 

My Computer My Computer

At a glance

Win 7 x64 Home Premium (and x86 VirtualBox VM...i3 370M/i7 6500U8GB - finally :)/8GBit's an i3, dude!/dual Intel&nVidia
Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
I think I have ownership and permissions set correctly. See attached pictures. I will reboot in Safe Mode and try it there.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
Back from Safe mode. Even in safe mode I get the same error. Did I not do the Permissions or Owner correct?
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
They certainly look right to me.
When I've this type of thing before, it's been because subkeys exist that don't properly inherit the parent permissions, or because they are corrupted.
Can you please check the permissions on the subkeys, and post the export of the full Key?
 

My Computer My Computer

At a glance

Win 7 x64 Home Premium (and x86 VirtualBox VM...i3 370M/i7 6500U8GB - finally :)/8GBit's an i3, dude!/dual Intel&nVidia
Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
You could place the checkmark in replace child objects ...... that would change the permissions of each subdir and files.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
I think I tried that checkbox first time. However when I checked the child object the permissions were not the same. Manually changing the permissions for the child object and trying it again worked. I'll repeat for the other keys you specified.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
Alright that removed the keys. I rebooted and tried the msu as you said, but I still get the "failed" message.

Btw I looked in Regedit and all those keys that I removed are back again. Is that due to me running the msu, or did windows restore them on the reboot?
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
I decided to answer my own question. I removed the keys again, rebooted and looked in regedit before running the msu => Keys are gone. Next I run the msu (which fails) and look in the registry again => Keys are back

Any suggestions what I can try next?
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
Please remove the keys, then run an SFC and a CheckSUR scan - and post the new logs.
do not attempt to install the update until we've check that the logs are clear.
 

My Computer My Computer

At a glance

Win 7 x64 Home Premium (and x86 VirtualBox VM...i3 370M/i7 6500U8GB - finally :)/8GBit's an i3, dude!/dual Intel&nVidia
Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Hi Noel,

Done that. I did a reboot between removing the keys and running the scans just in case. I had a quick peak in the log and saw at least one error related to this update nr. I hope it gives you an idea on how to solve this.

Btw I also see CheckSur suddenly raising a number of errors again :confused:
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 x64
OS
Windows 7 Home Premium SP1 x64
Back
Top