Cannot Update Windows - Error Code 80070490

Windowsbytes

Member
Joined
Dec 31, 2013
Posts
13
Hi Sysnative,

For the past 3 months, I have not been able to install updates to my Windows 7 Home Premium SP1 x64 machine.Windows Update was caught in a loop of "Restart your computer to install important updates." When I restarted, there were no changes to the update history, and Windows Update didn't even ATTEMPT to install updates. :banghead: After I moved the pending.xml and reboot.xml files (which are attached to this post), Windows update finally succeeded in checking for updates. However, when I attempt to install the updates, every update fails with the error code 80070490. Manual installation fails with the same error code. To me, this appears to be a missing driver problem, as my SetupAPI.dev.log file says that it is unable to find the files netavpna.inf, netrasa.inf, netsstpa.inf, and netvwifimp.inf. I have tried various Microsoft FixIt's, and they all finish without errors. The SURT and sfc /scannow both finish without finding any errors as well, but there is clearly some problem with Windows Update. :confused2: The only automatic fix that returns any issues at all is the Windows Update Diagnostic, which has a different output every time I run it!
Most recent output:
  1. Windows Update error 0x80070057(2014-01-01-T-03_21_38P)...Not Fixed...:thumbs_down:
  2. Problems installing recent updates........................................Not Fixed...:thumbs_down:
  3. Check for missing or corrupt files.........................................Detected...:bluebang:
  4. Some security settings are missing or have been changed........Fixed........:thumbs_up:
  5. Service registration is missing or corrupt...............................Fixed........:thumbs_up:
I am at a loss for solutions here. If at all possible, I really don't want to perform a repair installation because I don't know where my install disc is ATM.
Any help is greatly appreciated, and thank you for your time!

-Windowsbytes
 

Attachments

Hi windowsbytes! :smile9:
Are you using Norton or windows firewall?
From an elevated command prompt run:
Code:
sc qc trustedinstaller
sc queryex trustedinstaller

(I'm using WIN8.1)
Read More:


If it's ok, try to start it and then re-try.

:wave:
 
Try also with:
- every firewall disabled
- antivirus disabled
- antivirus uninstalled (completely: check the tool on Norton website).
 
Xilolee,
I tried both of your solutions, and neither one helped. I don't think that the issue has to do with Norton because manually downloading and installing an update fails every time. Thanks anyway!
 
Run sfc /scannow again.
Click start.
Search for "run" and Click it.
Type services.msc
Find "Windows Update" and on the left side of the window you should see a link titled "restart"... click it.

Try this Windows® 7 Update error 80070490 - YouTube

If nothing works you might have to do a reinstall if nobody else can help.

That is the last try. Do NOT do anything other then instructed, or progress may be lost...
 
Thank you FormerUser73968! After running the System Update Readiness Tool again, it appears that it has found two errors this time:


=================================
Checking System Update Readiness.
Binary Version 6.1.7601.22471
Package Version 22.0
2014-01-26 13:16


Checking Windows Servicing Packages


Checking Package Manifests and Catalogs


Checking Package Watchlist


Checking Component Watchlist


Checking Packages


Checking Component Store
(f) CSI Missing Deployment Key 0x00000000 policy.8.0...ft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_09c0f789facc94a0 HKLM\Components\CanonicalData\Deployments
(f) CSI Missing Deployment Key 0x00000000 microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_88e046c92fae6f57 HKLM\Components\CanonicalData\Deployments


Summary:
Seconds executed: 1973
Found 2 errors
CSI Missing Deployment Key Total count: 2


How can I fix these errors?
 
Hello WindowsBytes, welcome to Sysnative!

Sorry for the delay, we're extremely busy at the moment and there are very few of us who are able to help.

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFix.txt, and save this to your Desktop. Ensure that this file is named SFCFix.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.txt.
  5. Drag the file SFCFix.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl + C) and Paste (Ctrl + V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.

Run the System Update Readiness Tool again after doing this, then paste the CheckSUR log as before please :)

Tom
 

Attachments

Code:
SFCFix version 2.1.0.0 by niemiro.
Start time: 2014-01-28 00:41:46.239
Using .txt script file at C:\Users\David\Desktop\SFCFix.txt

RegistryScript::

Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_88e046c92fae6f57. A root key cannot be created under that hive.

Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\policy.8.0...ft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_09c0f789facc94a0. A root key cannot be created under that hive.

RegistryScript:: directive failed to complete successfully.



Failed to process all directives successfully.
SFCFix version 2.1.0.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-01-28 00:41:46.327
----------------------EOF-----------------------

Code:
=================================
Checking System Update Readiness.
Binary Version 6.1.7601.22471
Package Version 22.0
2014-01-27 19:46


Checking Windows Servicing Packages


Checking Package Manifests and Catalogs


Checking Package Watchlist


Checking Component Watchlist


Checking Packages


Checking Component Store


Summary:
Seconds executed: 1824
 No errors detected


All updates still fail.
Thanks for your help Tom :)
 
Last edited by a moderator:
Hmm, strange how the script failed to go through, yet the CheckSUR log is now clear. Oh well, I'm not complaining!

Let's get some new logs:

Export CBS folder

  1. Click the Start button
    StartButton_16x16.gif
    then click Computer.
  2. Double-click on the C: drive, under the Hard Disk Drives category, and then scroll down to, and double click on the Windows folder.
  3. Find and double click on the Logs folder.
  4. Right-click on the CBS folder, and select Copy.
  5. Go back to your Desktop, right-click on it, and select Paste. You should now see a copy of the CBS folder appear on your Desktop called CBS.
  6. Right-click on this new folder, and navigate through Send to, and select Compressed (zipped) folder.
  7. A new file, also called CBS (CBS.zip), but this time with a different icon, will be created.

Attach CBS.zip to your next post please.

Tom
 
Here is my CBS folder. I had to split up the CBSPersist files between two folders to fit within the maximum upload size. Even though sfc /scannow returns without errors, the CBS.log file seems to be filled with a lot of errors. Anyway, I can't make any sense of it.

I can't tell you how thankful I am for all your help!
 
Most of the errors in your log can be ignored, but there are signs of your 0x80070490:

Code:
2014-01-24 03:04:27, Info                  CBS    Failed to get session package state for package: Package_2_for_KB2647753~31bf3856ad364e35~amd64~~6.1.4.0 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]

It is also mentioned in a section related to a driver, but I'm hoping that this will be a nice simple registry fix rather than having to delve into other logs. I need a little more information before we can continue though, so if you could do this that would be great:

Export registry as hive

  1. Click on the Start
    Start%20Orb.jpg
    button and in the search box, type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing

  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*)
  6. Name this file SideBySide (with no file extension) and save it to your Desktop.

Tom
 
Hi WindowsBytes,

I'm afraid you've uploaded the wrong file. You exported HKEY_CLASSES_ROOT, not HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing, can you re-read my instructions and try again please?

Tom
 
So sorry about that! I must have not clicked on CBS before I did the file->export. I updated the Dropbox and uploaded the (much smaller) file.
 
Back
Top