I did answer your question. The Windows module installer was deleted. I had to download and install TrustedInstaller.exe and put it into the windows servicing folder.
This is the exact email, and I did everything it said (that fixed the problem until I re-installed Avast):
From the problem description, I understand that Windows updates cannot be installed successfully with the error code 80070002. Thank you for your efforts. In addition, as I know, we have been working with Alex Sang, and the following solution was completed: Use the System File Checker (SFC) to scan system files. If there has been any misunderstanding, please let me know.
I understand the inconvenience you have experienced. Please be assured that I will do my best to help you.
I understand that sometimes troubleshooting can be a bit time-consuming and the fact that the issue is still not resolved can be frustrating. However, by performing the previous steps, we have already eliminated some possible causes of the problem and we are getting closer to a solution. I will do my best to assist you till all the concerns are addressed completely and successfully to you satisfaction. As a Service Support Representative, customer satisfaction is always my first priority.
If there are some steps I will provide you have tried before, please take your time to perform them again just in order to obtain the latest system information for further research. Thank you for your understanding and efforts.
Now, we can start troubleshooting as follows.
Before moving on, I would like to confirm if Avast! is installed on the computer. If it is, our Windows Modules Installer may be accidently removed by Avast!. Thus, I suggest we first uninstall Avast! and then please try to import Windows Modules Installer again. Please be assured that after the troubleshooting, I will assist you to reinstall it back.
Step 1: Uninstall Avast! with the removal tool aswClear5.exe
=============================================
Please download aswClear5.exe onto the desktop with the following link and remove Avast!:
http://www.avast.com/uninstall-utility
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Can the Avast! be removed successfully?
After it is removed, I suggest we continue to perform the following steps to import Windows Modules Installer again.
Step 2: Manually replace the corrupt Windows Modules Installer
==================================
Step 1: Change the owner of the Servicing folder
-
Click Start. In the search bar, type in “%windir%” (without the quotation marks) and press Enter.
-
Right click Servicing folder and click “Properties”.
-
Click the Security tab.
-
Click Advanced.
-
Click the Owner tab.
-
Click Edit.
-
Under “Change owner to”, highlight the Administrator account. Click on “Replace Owner on Subcontainers and objects”. Click OK.
-
Click OK. You might receive an “Access Deny” error. Just go ahead.
-
In the Security tab of Servicing folder properties, click Edit.
-
Highlight Administrators and grant it “Full Control” permission.
-
Click OK.
Step 3: Manually restore missing file
============================
-
Save the Fix.zip file attached in this email to the Desktop.
-
Extract the two files. TrustedInstaller.exe and TrustedInstaller.reg.
-
Copy the TrustedInstaller.exe file into C:\Windows\servicing folder.
Step 4: Backup Registry
===================
-
Click Start. Type REGEDIT in the Start Search bar and press Enter.
-
Select Computer (the root node) in the left pane, click Export under the File menu, choose All under Export range, select Desktop in the Save in box and type backup in File Name. Click Save.
Please Note: The backup file is on the Desktop and named backup.reg. We can simply restore the registry by double-clicking the backup.reg file.
After that, please refer to the following steps to import the register key.
Step 5: Import TrustedInstaller.reg
===========================
-
Double click the TrustedInstaller.reg file in the fix.zip file.
-
Click Yes when you are prompted to import it.
Note: If you receive a message "Not all data was successfully written to the registry. Some keys are open by the system or other process.”, please simply ingore it.
Restart the computer and check if Windows Update works. If not, please check if Windows Modules Installer service has been started.
Restart the computer and check if Windows Update can work properly again.
Can the TrustedInstaller.reg be imported successfully?
If it is, please try to install Windows updates again.
Please take your time with the steps and let me know the results at your earliest convenience. If there are any questions or concerns, feel free to contact me.
If the issue still persists, please collect the latest System Information for further research, which is very important for us to find out the root cause. Please be sure that the information does not contain any of your confidential and private information. It’s for troubleshooting purposes only. Thank you for understanding.
System Information
===============
The System Information can provide us with more information about the current status of the system. I would like to check it for you. Please send it to me using the following steps:
-
Click “Start”, type “MSINFO32” in the Search Bar and press Enter to start the System Information.
-
On the popup window, on the menu bar, click “File”, and click “Save”, type a file name and then choose NFO as “Save as type”, click “Desktop” on the left pane, and click Save.
-
Right-click on the exported file, choose “Send To” → “Compressed (zipped) Folder”.
Please send the zip file to v-30magl@mssupport.microsoft.com.
Note: When attaching files to emails, the process will vary depending on the email application being used. While you are composing the email, most applications will provide you with either an “Attach” button or a Paper Clip Icon to click in order to attach a file. After clicking this button/icon you must browse to the file you wish to attach and select it by either double clicking it or clicking it once and then clicking “Attach”.
After obtaining the information, I will research it and get back to you as soon as possible. Please take your time with the steps and let me know the results at your earliest convenience. If there are any questions or concerns, feel free to contact me.