You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80070002.md
+28-7Lines changed: 28 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,12 @@ Info CBS Failed to find file: x86_microsoft-windows-directwrite_31bf3856ad364e35
85
85
```console
86
86
takeown /f c:\windows\winsxs
87
87
icacls c:\windows\winsxs /grant administrators:F
88
-
cd c:\windows\winsxs
88
+
cd c:\windows\winsxs
89
+
```
90
+
91
+
Then, run the `mkdir` command to create a folder for the missing DLL file. For example, if the file x86_microsoft-windows-directwrite_31bf3856ad364e35_7.1.7601.23545_none_c67f532e01cd149d.dll is missing, run the following command:
@@ -101,19 +106,35 @@ Info CBS Failed to find file: x86_microsoft-windows-directwrite_31bf3856ad364e35
101
106
102
107
If a cumulative update on Windows Server rolls back after a restart, check the Event Viewer for error 0x80070002 and review the CBS logs for driver update issues.
103
108
109
+
Here is a sample of the event log:
110
+
111
+
> Log Name: System
112
+
> Source: Microsoft-Windows-WindowsUpdateClient
113
+
> Date: DD/MM/yyyy hh:ss:ff
114
+
> Event ID: 20
115
+
> Task Category: Windows Update Agent
116
+
> Level: Error
117
+
> Keywords: Installation,Installation
118
+
> User: SYSTEM
119
+
> Computer: XXXXXXXXXXXXXXXXXXXXX
120
+
> Description:
121
+
> Installation Failure: Windows failed to install the following update with error 0x80070002: Security Update for Windows (KB4586793).
122
+
123
+
The failure is caused by an issue during update drivers operation. For example, the following CBS.log indicates the driver flpydisk.inf is the cause:
124
+
104
125
```output
105
126
Info CBS INSTALL index: 55, phase: 2, result 2, inf: flpydisk.inf
106
127
Info CBS Doqe: Failed installing driver updates [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
107
128
```
108
129
109
130
### Resolution: Import registry keys
110
131
111
-
Export and import the following registry keys from a working machine:
132
+
To fix the issue, you need to export the registry keys for the driver on a working computer, and then import them on the computer that have the issue.
The resolution depends on what is missing. For example, to fix the issue with flpydisk.inf, which we listed as an example in the symptom section, export and import the following two registry keys.
@@ -126,7 +147,7 @@ Error SP CMountWIM::DoExecute: Failed to mount WIM file C:\$WINDOWS.~BT\Sources\
126
147
127
148
### Resolution: Restore WIMMOUNT.sys
128
149
129
-
Export `WIMMOUNT.sys` from the registry of a working server and merge it on the affected server.
150
+
Export `WIMMOUNT.sys` from the location `%SystemRoot%\system32\drivers\wimmount.sys` and the registry: `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wimmount` on a working server. Then, merge them on the affected server.
0 commit comments